1
0
Fork 0
forked from alemi/upub
Commit graph

101 commits

Author SHA1 Message Date
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
85d0a9e69d
fix(web): smooth scroll to top 2024-04-30 15:26:27 +02:00
6b44f9b084
fix(web): followers/following/statuses counts 2024-04-30 04:31:17 +02:00
be1c379477
feat(web): repost button, fixed like button to/cc 2024-04-30 04:29:14 +02:00
2c302b4fbf
feat(web): like button (without undo) 2024-04-30 02:09:23 +02:00
394c7a487b
fix(web): centered CW text 2024-04-29 22:01:49 +02:00
ee6120190d
feat(web): show replies/likes/shares counters
soon to be buttons!
2024-04-29 21:02:13 +02:00
f6ba30a43f
feat(web): show when tl is loading, disable btn 2024-04-29 03:26:45 +02:00
a664a0372f
fix(web): video max sizing, cursor 2024-04-29 02:42:59 +02:00
9faae6f627
feat(web): show audio, video and generic attachments
not only images anymore!!!
2024-04-29 02:33:21 +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
6c92328b8d
feat(web): hide sensitive posts, add posting option 2024-04-24 05:38:09 +02:00
7617170206
feat(web): expandable images
is it sustainable to create a signal for each image? we'll find out!
2024-04-24 04:58:46 +02:00
1ce364276b
fix(web): attachment padding 2024-04-24 04:50:50 +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
8969780b29
feat(web): added CWs, better images 2024-04-23 23:28:19 +02:00
1741837bd0
fix(web): prefetch also users from attributed_to 2024-04-23 17:35:03 +02:00
83b545649f
fix(web): dont use two object_id fields 2024-04-23 03:59:12 +02:00
7c5b3fca1f
fix(web): input spacings, allow setting obj id
because even when posting embedded objects we may be doing an update
2024-04-23 03:46:14 +02:00
73f178462f
fix(web): better activity line, dates, icons 2024-04-23 03:31:42 +02:00
fc4840dc5d
feat(web): more human times 2024-04-23 03:15:37 +02:00
5165aa6592
fix(web): spacings for composer box 2024-04-23 03:05:22 +02:00
53dcfcb993
feat(web): advanced post composer 2024-04-23 02:48:30 +02:00
39fde296f8 fix: break words too long 2024-04-22 15:37:43 +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
a51a70da0a
fix(web): img max width, slim activity header 2024-04-22 03:31:51 +02:00
af8310bfc9
feat(web): clear pwd on login fail
not the best way to show failure but at least it does
2024-04-22 03:15:41 +02:00
9c94caf8b4
fix(web): hide pwd finally 2024-04-22 03:08:32 +02:00
870e46ba31
feat(web): error pages have direct link to debug 2024-04-22 02:48:33 +02:00
5a8887c690
feat(web): links to debug user and obj pages 2024-04-22 02:32:09 +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
41b9ee4044
feat(web): use forms for login and dbg 2024-04-21 23:41:30 +02:00
cff4c827ca
feat(web): AP debug page to see remote objects 2024-04-21 19:37: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
6edda7236e
feat(web): basic context view for posts 2024-04-19 06:59:34 +02:00
fc2a62239b
feat(web): user timeline persists too
it will reset every time you view another user, but at least won't reset
if you go into a thread and then back to your user
2024-04-19 06:58:54 +02:00
d10376529e
fix(web): show statuses count 2024-04-18 05:31:04 +02:00
4e75ed3dbc
fix(web): pretty uris to go to replies and actors 2024-04-18 05:30:46 +02:00
59ebee71a8
feat(web): individual views will request fetches 2024-04-18 05:00:44 +02:00
96e3681bf7
fix(web): play it safe and update auth immediately 2024-04-18 05:00:26 +02:00
85f3bc1e5c
fix(web): i don't really get cookies apparently 2024-04-18 05:00:08 +02:00