Commit graph

75 commits

Author SHA1 Message Date
b7cc5e79b3
feat: use cargo-leptos for all-in-one ssr binary..
... that doesn't work?!? spent hours getting this to compile, it
munched 20GB like it was nothing, took its damn time just to then crash
while running because "cannot access imported statics on non-wasm
targets" ?!?!!?? no clue, also not super sold on this SSR thing because
it adds so much complexity, will probably leave this branch up here for
future reference in case i want to try this again, and go back to trunk
+ include! static assets and full CSR for leptos
2025-01-21 02:39:43 +01:00
3329952a12
feat(web): big refactor, way better tl caching
this moves quite a lot of stuff around, and there's probably more work
to do (app.rs is HUGE and those routes with inline views are pretty
ugly), but it should work and most importantly it should work BETTER
than before: _every_ timeline now remembers state and scroll depth, not
just those we manually choose! no longer huge global "Timelines" object
yayyy!! i think this opens room for much more improvements, but for now
i'm content this way
2025-01-20 03:05:27 +01:00
9548b4bb44
feat(web): add group list page 2025-01-19 05:35:28 +01:00
c8f42f8ec8
feat(web): Loadable prefetches 2025-01-19 05:29:22 +01:00
4e667e9309
chore(web): rename alias to Doc
now doesn't clash anymore
2025-01-19 05:28:17 +01:00
fab8742bc1
chore(web): update to leptos 0.7
it was painful, but hopefully worth it
everything seems ok, lmk if stuff broke
things will need further improving.....
2025-01-17 02:19:52 +01:00
b510c592bb
chore(web): no longer bundle contact mail 2024-12-29 03:40:12 +01:00
c56e69aa20
fix(web): properly fetch attributed_to/quote_url
also use cache::resolve so we centralize fetching a bit
2024-12-28 20:18:01 +01:00
d6756ef44d
chore(web): remove unused stuff 2024-12-26 22:17:43 +01:00
d8af116667
feat(web): way better fetch button
it changes and automatically refreshes!!! to achieve this a lot of
refactor happened...
2024-11-21 02:41:19 +01:00
bae7aab3df
feat(web): add resolve directly to cache
should slim down code more down the line
2024-11-10 21:29:52 +01:00
716a34e637
feat(web): replies imply mention 2024-08-15 17:30:26 +02:00
0d70f6d3a6
feat(web): replace broken user avatars on error 2024-07-17 23:01:00 +02:00
c51a5bb860
feat(web): show upub version in frontend 2024-07-17 21:54:15 +02:00
46873b2f4c
fix(web): better wrapping 2024-07-04 03:43:58 +02:00
8ab39bfb2b
feat(web): hashtags timeline page
rather jank, literally hotglued on other feeds but eh it works for now
ig?
2024-07-04 03:14:26 +02:00
5e7b2354e2
feat(web): better layout for lemmy posts
image on the side that expands on click, text that "reflows" under the
image, attachments don't overflow etc. also mentions. also refactored a
bit. since i refactored its hard to split these 3 changes so have one
big commit aha
2024-07-04 02:14:50 +02:00
905564ce15
fix(web): variable width pretty uris
and jank fix for lemmy inline posts, ughh
2024-07-03 07:30:29 +02:00
6c88dec148
fix(web): uri pretty len check mismatch 2024-07-03 06:34:29 +02:00
1605557329
chore(web): unified caches under trait 2024-07-03 04:05:49 +02:00
29d783ffd5
chore(web): moved caches under cache:: scope 2024-07-03 03:21:11 +02:00
c5c03c0848
fix(web): link to join page rather than source code 2024-06-21 05:19:50 +02:00
d2d69f459e
fix(web): base url for frontend, fix copy path 2024-06-21 04:27:32 +02:00
ea655be121
fix(web): huge refactor but basically nothing changed
... yet! this fixes the weird bug that resets timeline scroll when
coming back from users (annoying!). also slightly better spacing for
things and more consistent loading buttons. its a big refactor and its
underway but there's so much in progress that ill commit this big chunk
as is and i totally wont regret it later when i need to remember what i
was moving where aha
2024-06-12 06:02:36 +02:00
0fec18582d
feat(web): rework actors page 2024-06-10 21:44:28 +02:00
8284130890
feat(uriproxy)!: renamed fns, added expand fn 2024-06-07 06:15:38 +02:00
2ee3bf67f6
fix(web): oops really need to make this configurable 2024-05-27 06:53:06 +02:00
fea7c1ecdf
fix: no more errors! no more warnings!!
finished upgrading inbox to new schema, there's ton of space for
improvement but lets first see if it works
2024-05-27 05:38:51 +02:00
b700e06d10
feat(web): webfinger cache 2024-05-23 16:16:42 +02:00
e1ef98f763
chore(web): leftovers 2024-05-21 15:28:48 +02:00
1a236589ed
fix(web): short uri helper logic 2024-05-20 08:45:41 +02:00
bf86e44b00
feat(web): allow customizing accent color 2024-05-20 08:18:15 +02:00
af3a3fbbb8
feat: way smarter way to represent remote ids
base64 em basically. big commit because touches basically everything!!
2024-05-20 06:29:44 +02:00
4d7f99dfaa
chore(web): restructured project a little
less messy i think
2024-05-13 19:13:40 +02:00
c068822b3c
feat(web): added simple config page with filters 2024-05-12 00:11:54 +02:00
1d19b8c2a6
feat(web): debug fetch shows error text from remote 2024-05-11 17:58:01 +02:00
a16b20f6fa
chore(web): get_untracked when needed 2024-05-03 03:55:26 +02:00
1182cb589f
feat(web): fallback avatar url 2024-05-03 01:00:37 +02:00
62b426acc1
feat(web): combine token and username in auth ctx 2024-05-01 18:24:27 +02:00
9fe3cb3bda
feat(web): use reference counting rather than clones
before, cache would clone the underlying object every time it was
accessed. this was definitely incredibly wasteful! now it clones the
Arc, which is super cheap. the extra work necessary while fetching
things is most likely more than compensated by saved clones every time
we render stuff. there is some dumb arc creation here and there (like
for the debug page), but it's mostly my lazyness, they can probably go
and should not be that much of a big deal anyway.
TLDR things were already fast but should be EVEN FASTER!!!
2024-05-01 16:06:46 +02:00
6c92328b8d
feat(web): hide sensitive posts, add posting option 2024-04-24 05:38:09 +02:00
abed664f0a
feat(web): better timeline, idk
cant think read the diff bad day
2024-04-21 18:56:25 +02:00
63bde2b5e0
feat(web): better activity/object display, refactor 2024-04-21 17:43:56 +02:00
59ebee71a8
feat(web): individual views will request fetches 2024-04-18 05:00:44 +02:00
75db004a20
chore(web): refactor
very much past due time...
2024-04-17 22:07:47 +02:00
06a7463af5
feat(web): more compact, breadcrumbs, tl cleaning 2024-04-17 21:10:20 +02:00
a38302219c
feat(web): default to timelines, nav to about 2024-04-17 15:51:50 +02:00
5dd4f0e19d
chore(web): better emojis 2024-04-17 15:35:57 +02:00
784557eecf
feat(web): font, emojis, better spacing 2024-04-17 15:29:25 +02:00
64bbb20659
feat(web): better post view on timeline
i really need to refactor this is getting out of hand
2024-04-17 07:29:56 +02:00