Commit graph

204 commits

Author SHA1 Message Date
a5288b9ee5 pl-fe: Fix placeholder display
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-29 13:26:39 +02:00
afdaa61a06 pl-fe: Replace some redux stores with zustand
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-29 00:27:06 +02:00
b801acffe9 pl-fe: Improve StatusHoverCard ui
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-29 00:07:23 +02:00
3bffadad36 pl-fe: open reactions/favs modal on long press
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-28 16:43:16 +02:00
1c4aaeaea5 pl-fe: improve floating-ui behavior
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 23:43:11 +02:00
e6bed8c471 pl-fe: improve floating-ui behavior
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 23:31:19 +02:00
95f61f1d9f pl-fe: replace react-popper with @floating-ui/react
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 23:10:31 +02:00
b016dbec2b pl-fe: Allow reordering profile fields
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 22:21:21 +02:00
9227eef670 pl-fe: profile fields panel doesn't need a title
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 22:04:48 +02:00
bc3f02aee6 pl-fe: replace react-overlays with @floating-ui/react
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 20:35:59 +02:00
ead811425f pl-fe: update some deps
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-27 17:20:06 +02:00
dc4dd8300c pl-fe: change conditions for status collapse
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 14:50:56 +02:00
420c43b9ed pl-fe: make tombstones focusable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 14:36:10 +02:00
dc7c759cf4 pl-fe: lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 00:19:23 +02:00
ab5aa0b058 pl-fe: lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-22 00:09:45 +02:00
e5098bd7d4 pl-fe: Use tabler icon for verification badge
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-20 23:15:40 +02:00
41f17e17c5 pl-fe: remove unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-20 21:07:10 +02:00
36aadabf5f pl-fe: remove default initial index from scrollable list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-19 22:56:12 +02:00
4965cee37b pl-fe: Migrate ChatMessageList to @tanstack/virtual
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-19 20:35:26 +02:00
9dce0668d1 pl-fe: fix list height when rendering empty message card
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-19 17:17:09 +02:00
5f2e06f75f Merge remote-tracking branch 'mkljczk/develop' into develop
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-19 15:16:05 +02:00
aadd9439aa pl-fe: move ChatList to @tanstack/virtual, some fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-19 15:15:02 +02:00
5f9743604f pl-fe: styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-19 01:09:55 +02:00
1727dc4e1b pl-fe: remove commented out code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-19 01:06:48 +02:00
076b16d751 pl-fe: Replace virtuoso with tanstack virtual for scrollable list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-19 00:55:53 +02:00
5ad5b6a909 pl-fe: Avoid delays with no-reduce-motion
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-18 21:10:01 +02:00
8cbaa75546 Move compose event form state to modal itself
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-18 16:26:25 +02:00
c7dba3334f Move dropdown menu to zustand
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-17 20:31:04 +02:00
c8d201914a Merge remote-tracking branch 'mkljczk/develop' into develop 2024-09-17 20:02:09 +02:00
3bbbc6c43f Switch to zustand for modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-17 20:01:30 +02:00
abe10a352c
pl-fe: fix fav hotkey 2024-09-17 19:30:54 +02:00
0867afefbd pl-fe: Fix attachment thumbs visibility
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-17 16:34:52 +02:00
e5b3de326f pl-fe: fix load more button margin
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-15 23:39:39 +02:00
6c4e6b9bdc pl-fe: do not display default follow action when unauthenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-15 19:15:55 +02:00
9e8d67c3af pl-fe: fix dropdown menu styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-15 12:01:56 +02:00
3f6c4fb5df pl-fe: fix hashtag links in statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-15 11:20:07 +02:00
f39c52ac83 pl-fe: do not display empty content
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-14 17:57:50 +02:00
6b7082f8fe pl-fe: improve dropdown menu animation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-14 14:18:19 +02:00
affbe86081 put the logic where it belongs to
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-13 23:15:37 +02:00
77509b9931 pl-fe: improve reactions styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-13 23:09:06 +02:00
b24be14d55 pl-fe: Add spacing to widget header
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-13 14:49:55 +02:00
8794c293aa Support reactions on Mastodon forks, support api_versions, minor fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-13 13:05:06 +02:00
c96a7c4dde pl-fe: fix collapsed status with poll styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-12 20:42:38 +02:00
25defe0691 Display logo if set
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-12 19:30:35 +02:00
d5737bd6de pl-fe: only display sign up link when registration is available
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-12 19:14:20 +02:00
03b42101aa pl-fe: make vibration shorter
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-12 18:17:57 +02:00
1f001abe9e pl-fe: add feedback to long press
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-12 18:03:25 +02:00
fe29e692ca pl-fe: open reactions modal on reaction button long press
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-12 17:54:45 +02:00
143600fc23 pl-fe: emoji picker button theme
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-12 12:50:28 +02:00
d62e11a1dc pl-fe: only use logo if provided
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-12 11:16:53 +02:00
6c208a5b91 pl-fe: Usually authentication is not required to display interactions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-12 11:02:08 +02:00
40675093f5 pl-fe: fix emoji position in reactions modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-12 10:57:15 +02:00
c609c3757b pl-fe: emoji display fix
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-12 10:55:29 +02:00
053520de2e pl-fe: improve keyboard navigation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-11 22:20:05 +02:00
195a027294 pl-fe: fix reaction counter overflow
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-11 20:51:35 +02:00
ec8a442d3e pl-fe: fix read more styles for quoted posts/posts with polls
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-11 18:01:14 +02:00
7c3cb6a6eb pl-fe: display animated emojis on hover unless specified otherwise
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-11 17:52:38 +02:00
a6deb34558 pl-fe: fix status reactions for unauthenticated users
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-11 17:32:59 +02:00
54c2c7da22 pl-fe: do not display reaction button when unauthenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-11 17:30:33 +02:00
b9911503b6 pl-fe: improve black theme for status reactions bar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-11 16:19:11 +02:00
9f122d6828 pl-fe: Fix reactions sorting, fix remote custom reactions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-11 16:00:51 +02:00
584cde8c40 pl-fe: We're not Facebook anymore
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-11 15:29:21 +02:00
f2a7513d35 pl-fe: Improve keyboard navigation in dropdown menu
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-10 23:13:40 +02:00
d3c241ca75 Move mobile dropdown menu back to modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-10 22:57:45 +02:00
62ad8fda43 pl-fe: allow adding custom emojis to reaction picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-10 13:49:01 +02:00
823a33e577 pl-fe: a dumb workaround for suggested emojis
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-10 13:22:04 +02:00
13cf4c0a45 pl-fe: Use filled icon for active state for bubble timeline
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-09 23:39:50 +02:00
3a8ac75801 pl-fe: treat media with spoiler text as sensitive
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-09 19:11:26 +02:00
95be38fde3 pl-fe: fix media ratios
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-09 11:04:57 +02:00
6d13d26fdb pl-fe: fix card + quote
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-09 10:35:38 +02:00
64af5cd176 Reorder public timelines
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-08 16:25:18 +02:00
abac03f51f pl-fe: change status icons size
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-06 19:07:32 +02:00
11c4e69728 pl-fe: status visibility icons
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-06 13:24:46 +02:00
ffae5e9df5 pl-fe: partly fix problem with spoiler expand/collpase button position
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-06 01:06:25 +02:00
953d580ec3 pl-fe: handle status expand/collapse correctly
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-06 00:47:26 +02:00
3458d2eede pl-fe: why it was in 'compose' dir
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-06 00:24:53 +02:00
a6f38d5ce1 pl-fe: likely improve sensitive attachments behavior, display blurhash only when hidden
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-06 00:16:48 +02:00
1c9f819bee pl-fe is officially woke
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-06 00:16:43 +02:00
b7faf7040c pl-fe: simplify emoji sort code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-04 11:49:42 +02:00
e24ec07017 pl-fe: actualy display preview cards
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-03 16:03:54 +02:00
4841c5b0a2 Allow addressing posts to lists
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-03 15:21:26 +02:00
e3d15ba6d8 pl-fe: count quotes with reblogs, try to fix account lists in modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-02 21:31:41 +02:00
752f10fac2 pl-fe: handle mentions and hashtag links in bio
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-02 12:35:47 +02:00
f81dd5d70d pl-fe: or maybe apply line-clamp conditionally
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-01 23:55:38 +02:00
ec28ee979c pl-fe: add line-clamp to spoiler text
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-01 23:54:28 +02:00
1649586545 pl-fe: collapsed status gradient position improvement
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-01 17:40:28 +02:00
859149230e pl-fe: cleanup, avoid parsing schemas more than once
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-01 15:36:24 +02:00
c43178fc09 Display scrobbles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-01 14:57:59 +02:00
24059bf711 pl-fe: actually fix quote max height
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-31 19:50:45 +02:00
48f54cfc9d pl-fe: make quoted status collapsable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-31 18:30:25 +02:00
da5fc0449c Actually make initialTopMostItemIndex make some sense
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-31 18:02:05 +02:00
9207930f2c pl-fe: fix initial scroll
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-31 16:04:35 +02:00
0845f1d14b Update react-virtuoso
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-31 12:10:18 +02:00
fbcc4f5742 make dropdown menu items again rounded
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-31 00:12:12 +02:00
064e051273 Simplify privacy dropdown code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-31 00:03:06 +02:00
df5c284ba2 Include domain in client name
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-30 00:26:25 +02:00
94fe7bc6a3 UI consistency
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-30 00:09:46 +02:00
8a50412f28 Fix sensitive content overlay behavior
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-30 00:05:19 +02:00
7952c73171 Always show /conversations link
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-30 00:04:30 +02:00
cb5dbb8ab6 Attempts to fix stuff
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-29 00:55:30 +02:00
eb231d562e Migrate everything to pl-api
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-28 21:07:16 +02:00
0ddf6f2768 pl-fe: lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-28 14:48:35 +02:00
966b04fdf0 Call it pl-fe internally
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-28 13:41:08 +02:00
4d5690d0c1 Switch to workspace
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-28 13:01:08 +02:00