Commit graph

22 commits

Author SHA1 Message Date
dece f6fc5c2f69 PageViewModel: fix activity state on error 2022-01-09 22:06:09 +01:00
dece ee83d1c8fd MainActivity: fix toolbar stuck hidden 2022-01-09 22:02:12 +01:00
dece 2debc6d9f6 gradle: update stuff 2022-01-09 21:41:11 +01:00
dece 4f41d6fecd ContentAdapter: use intermediate rendering blocks
Rendering one view per line is looking for trouble when considering
preformatted blocks and possibly list/blockquotes: you want to group
actions and styles together. Specifically, make preformatted blocks
horizontally scrollable.

This commit adds an intermediate level for rendering which produces such
blocks.
2022-01-09 21:39:33 +01:00
dece 685d60a09b res: factorize text styles 2022-01-05 15:58:56 +01:00
dece 781a4a66b0 MainActivity: proper alerts for each error type
Also moved the PageViewModel into its own file? What's the norm?
2021-12-13 23:41:56 +01:00
dece a2dd6f4876 improve the network channels for streaming 2021-12-13 23:36:52 +01:00
dece f8b929b00d MainActivity: show user-friendly error messages 2021-12-13 23:36:52 +01:00
dece a6e910c3fa MainActivity: handle redirections 2021-12-13 23:36:52 +01:00
dece f8cfe2ad09 Gemtext: just trim most whitespaces for simplicity 2021-12-13 23:36:52 +01:00
dece 44629dd3ad ContentAdapter: renamed for consistency 2021-12-13 23:36:52 +01:00
dece a44c36bdca res: reduce a bit the vertical paddings 2021-12-13 23:36:52 +01:00
dece 9743fea7d5 MainActivity: fix issue with going back 2021-12-13 23:36:52 +01:00
dece 6a65df0f4e Gemtext: fix issue with link parsing 2021-12-13 23:36:52 +01:00
dece 51f822eb9d History: add Room database for history
Also add going back support.
2021-12-13 23:36:52 +01:00
dece 5cb3af8d12 improve the default rendering for all elements 2021-12-13 23:36:52 +01:00
dece 3cba46ad5d MainActivity: rework layout to avoid lag
ScrollView + RecyclerView lead to very slow loading times for the
recycler, like a few seconds on the biggest Medusae pages. Turns out it
binds every ViewHolder instantly, losing all the recycling behavior!
Following some guidelines on StackOverflow fixed this, because official
docs could not.
2021-12-13 23:36:52 +01:00
dece 57854e56dc UriUtils: add a bunch of URI utilities
So we can now click on relative links, wow! Fast progress!
2021-12-13 23:36:52 +01:00
dece e540cf7628 ContentRecycler: add awful recycler for content
Currently exploding the amount of views to use because recyclers are NOT
fun to use.
2021-12-13 23:36:52 +01:00
dece f2eae54234 Gemtext: add a sweet streaming parser 2021-12-13 23:36:48 +01:00
dece 8e161dbb31 parse response headers 2021-12-05 21:49:24 +01:00
dece cbcd0dca73 init
URL field, show raw response (with streaming wooow!!)
2021-12-05 01:50:37 +01:00