1
0
Fork 0
forked from alemi/upub
Commit graph

37 commits

Author SHA1 Message Date
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
4b0a732584
feat(web): more compact and consistent timeline 2024-04-17 07:19:50 +02:00
9ffd5b6c4e
fix(web): just rebuild timeline on routing
basically don't delete draft when navigating
2024-04-17 06:51:21 +02:00
562dc22320
feat(web): post box allows picking post privacy 2024-04-17 06:46:59 +02:00
b0ffc6187f
fix(web): more consistent link hovering 2024-04-17 05:59:10 +02:00
a2715d2978
fix(web): menu sticking on mobile, post sizing 2024-04-17 05:51:10 +02:00
39b14e058e
fix: token clearing, home timeline rebuild
it's kinda ugly because were passing a ton of signals to loginbox and we
use two cookies but it works. also now logging in updates your home
timeline so it doesn't need a reload
2024-04-17 03:12:17 +02:00
9fb1392c6f
fix(web): strip html from user bios 2024-04-16 08:22:52 +02:00
3abcd18c37
fix(web): trailing slashes and better about 2024-04-16 08:19:09 +02:00
964b45e50b
feat(web): per-user timeline, proper scrollboxes 2024-04-16 08:02:03 +02:00
5de3e6622f
fix(web): show summary row only if present
quite jank way to do it but im tired
2024-04-16 07:51:22 +02:00
764f810ff9
feat(web): show posts inline, better activity ui 2024-04-16 07:34:16 +02:00
1e6d11b5dc
chore(web): component for tl nav 2024-04-16 06:42:02 +02:00
f8b135d242
feat: reworked timelines to be persistent
a lot of work on uris, fetching, concurrency and caching. now timelines
persist and should behave appropriately with your logins! there are
still some weird edge cases but all around i think it's pretty solid and
also quite nice!!
2024-04-16 06:34:50 +02:00
0d2c279f93
docs(web): documented web_uri and api_uri 2024-04-15 23:11:52 +02:00
920ef598f5
fix(web): proper caching of users 2024-04-15 23:11:36 +02:00
1cf170c16a
feat(web): get my username from login 2024-04-15 22:32:05 +02:00
2dabd308cc
fix: oops broke fetch uris, fixed 2024-04-15 22:20:33 +02:00
c28b5fd49c
feat(web): object page and some initial routing 2024-04-15 22:03:32 +02:00
5f46de0fc9
feat: show post box only after login 2024-04-15 17:54:28 +02:00
e1176c7ec1
feat: global users cache for faster resolution
not the fanciest way to do it (with lazy_static) but whatevs it works
2024-04-15 05:28:23 +02:00
268265e34a
feat: routing under /web, scroll only tl 2024-04-15 05:00:23 +02:00
639a982bd0
feat: stupid simple routing to view users 2024-04-15 03:38:16 +02:00
3808d09976
feat: error boundary for fetching 2024-04-15 03:03:01 +02:00
acda0768d2
feat: added leptos-router, picker inside timeline 2024-04-15 01:56:33 +02:00
acf783bd9f
feat(web): added simple leptos frontend 2024-04-14 06:46:23 +02:00