1
0
Fork 0
forked from alemi/upub
Commit graph

21 commits

Author SHA1 Message Date
f833875c65
chore(web): imports 2024-05-02 02:58:06 +02:00
b2717223b3
feat(web): add accept/reject buttons under folreqs
they never disappear so there's quite some potential for spam but ehh
better than nothing for now
2024-05-02 02:08:34 +02:00
b6cac77bf2
fix(web): prefetch users when as object, fix links 2024-05-02 02:07:54 +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
f6ba30a43f
feat(web): show when tl is loading, disable btn 2024-04-29 03:26:45 +02:00
08b53bf416
fix: also hide more button in thread view 2024-04-25 03:20:54 +02:00
1a3cc5e2ff
fix(web): don't insert activities already seen
this happens because we're paginating with just an offset, meaning that
when new activities get inserted that offset "gets shifted forward" and
we receive again some activities we saw already. this should get fixed
for good on the backend, but for now discarding them here makes it
usable
2024-04-24 05:48:41 +02:00
d71510595d
fix(web): don't embed all activities
only create and announce, also show actor for follows
2024-04-24 04:50:17 +02:00
66f36ce71b
fix(web): show stray objects too 2024-04-24 04:07:45 +02:00
e9c765b555
feat(web): remove more button when tl is over 2024-04-23 23:37:39 +02:00
1741837bd0
fix(web): prefetch also users from attributed_to 2024-04-23 17:35:03 +02:00
b543610ed3 fix(web): object.object.id damn its late 2024-04-22 04:49:24 +02:00
64774b976d fix(web): kinda jank way to handle activity+object 2024-04-22 04:47:26 +02:00
9c7f3f121a fix(web): proper filtering for activity replies 2024-04-22 04:43:23 +02:00
460f801136
fix(web): slightly better spacings for mobile 2024-04-22 03:45:30 +02:00
ecaecd3b65
fix(web): show all activities in thread, alt texts 2024-04-22 02:10:27 +02:00
4997be5a72
fix(web): thread view shows all types of objects 2024-04-22 01:44:00 +02:00
1171d4cd06
feat: show attachments, initial work on threads 2024-04-22 01:01:20 +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
Renamed from web/src/timeline.rs (Browse further)