62b426acc1
feat(web): combine token and username in auth ctx
2024-05-01 18:24:27 +02:00
d1760f2637
fix(web): buttons are not reactive until logged in
2024-05-01 16:55:02 +02:00
c059f664ac
fix(web): CWs are always closed
...
should do a frontend config option eventually, rather than using
`sensitive` to decide
2024-05-01 16:46:51 +02:00
a3d649d17b
chore(web): more wildcard imports for components
2024-05-01 16:46:36 +02:00
f483ea14b4
feat(web): added reply button
...
not the best way to do it but it works!
2024-05-01 16:46:19 +02:00
102414e1a3
chore(web): separated ActorStrip component
2024-05-01 16:45: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
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
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
1734b6078b
feat(web): crude way to show in_reply_to
2024-04-18 04:26:57 +02:00
179fd0807b
fix(web): cookie auto expires
2024-04-18 03:52:16 +02:00
9cb2acdafd
fix(web): catch /config route
2024-04-18 03:35:07 +02:00
646e415ce3
fix(web): restored navigation links
2024-04-18 03:34:56 +02:00
60cf700b95
feat(web): completely overhauled user profile page
2024-04-18 03:34:41 +02:00
17d746071b
fix(web): scroll to top, refactor, title url, about
2024-04-17 23:07:56 +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
9f66ee4f95
fix(web): start with menu closed on mobile
2024-04-17 15:52:08 +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
a83b557513
feat(web): togglable menu, footer
2024-04-17 05:39:45 +02:00
663cea79ad
feat(web): sticky navbar and post box
...
because of this the whole page now scrolls properly and remembers your
scroll position if you use back/forward!
2024-04-17 04:33:34 +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
2bb003fc9b
fix(web): less spammy console
2024-04-16 08:26:56 +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
d1a8b1a74b
fix(web): title url changes with login, redirects
2024-04-16 08:09:32 +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
3fde41eb97
feat(web): optimized fetching more
2024-04-16 06:42: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
cf7322dabb
fix: title is also link
2024-04-15 18:22:16 +02:00
5f46de0fc9
feat: show post box only after login
2024-04-15 17:54:28 +02:00
f733d42af7
feat: fallback view in router
2024-04-15 17:53:54 +02:00
22f5ccf886
fix: add redirect for dev builds
2024-04-15 17:12:06 +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