Commit graph

352 commits

Author SHA1 Message Date
Lim Chee Aun
4843970e1b Custom context menu if link has hash 2024-03-09 17:01:50 +08:00
Lim Chee Aun
7f6ef4ff96 Better copy for embed post 2024-03-07 09:05:52 +08:00
Lim Chee Aun
c005745ad0 Fix links layout in embed modal 2024-03-06 19:17:03 +08:00
Lim Chee Aun
8cab77415e Only show share and embed if public or unlisted
Also slight refactor
2024-03-04 09:56:38 +08:00
Lim Chee Aun
6292557bc9 Default modal to light, add solid class instead 2024-03-03 17:31:06 +08:00
Lim Chee Aun
b79ce92aef Use acct instead of username 2024-03-03 17:16:58 +08:00
Lim Chee Aun
fcb0074f49 Experimental Embed post 2024-03-02 18:55:05 +08:00
Lim Chee Aun
d8b0adfe97 Prevent embeds from playing inline 2024-03-02 18:53:35 +08:00
Lim Chee Aun
ab0472de02 Fix some links not opening browser's context menu 2024-03-01 10:29:38 +08:00
Lim Chee Aun
69d77c368e Experiment longer captions for no-content single-media post 2024-02-29 13:25:30 +08:00
Lim Chee Aun
aaf64bbc34 More cloak fixes 2024-02-28 15:34:11 +08:00
Lim Chee Aun
52b60fa38b Respect filters for reply hints 2024-02-28 15:04:01 +08:00
Lim Chee Aun
c595b0ee31 Fix toasts showing for unauthenticated interactions 2024-02-26 11:58:22 +08:00
Lim Chee Aun
6a6162ec6e Use readOnly, respect CWs for statuses in notifications 2024-02-23 18:07:42 +08:00
Lim Chee Aun
2f94cb34f6 Fix post content not updating when changed 2024-02-16 17:36:46 +08:00
Lim Chee Aun
1d0d02f39b Different alignment for status action menu 2024-02-10 12:00:40 +08:00
Lim Chee Aun
9a9667d824 Redesign the context menu 2024-02-06 17:34:26 +08:00
Lim Chee Aun
b9c287b29e Don't show icon, just show text for visibility.
Icon, in the end, ain't descriptive enough.
2024-02-06 17:30:58 +08:00
Lim Chee Aun
436277c6b4 Prevent re-render dangerouslySetInnerHTML 2024-02-06 17:30:10 +08:00
Lim Chee Aun
f1dbb9ec42 Further delay filtered status peek, remove tooltip 2024-02-02 00:27:12 +08:00
Lim Chee Aun
6581bc2881 Prevent reply parent hint from being GC-ed 2024-01-31 13:45:34 +08:00
Lim Chee Aun
26d445af7d Fix reply parent hint not appearing
Also respect language
2024-01-30 17:43:44 +08:00
Lim Chee Aun
f3d77dd04e Experimental reply parent hint 2024-01-30 14:34:54 +08:00
Lim Chee Aun
38e2b176bc Make embeds larger 2024-01-19 20:31:05 +08:00
Lim Chee Aun
46dfd9aab0 MVP-ish pin/unpin post 2024-01-18 19:05:12 +08:00
Lim Chee Aun
59d0138ca8 If there's selected text, don't show custom context menu 2024-01-17 13:42:46 +08:00
Lim Chee Aun
04d431cf71 Add more conditions 2024-01-15 22:05:18 +08:00
Lim Chee Aun
b8484eff79 Differentiate menu open from right-click vs actions bar
Kinda hacky for now
2024-01-14 21:34:21 +08:00
Lim Chee Aun
04179340f6 Further enhance actions bar
- Focus color when context menu is open
- Focus color for more button when context menu is open
- Reuse menu instead of creating another menu
- Show like toast when liked/unliked
2024-01-14 19:36:14 +08:00
Lim Chee Aun
0ebc0fa64c First step in introducing actions bar 2024-01-14 00:32:08 +08:00
Lim Chee Aun
35974cc89c Show more consistent icon for "comment" 2024-01-14 00:30:12 +08:00
Lim Chee Aun
4b9ff0ca5b Hide "more" icon for posts in notifications 2024-01-11 10:44:24 +08:00
Lim Chee Aun
d71b1a7e36 Test add "more" icon near timestamp 2024-01-10 01:47:50 +08:00
Lim Chee Aun
147a12cbcb Handle cards with iframe embeds 2024-01-06 16:46:45 +08:00
Lim Chee Aun
16e2ac9bce Test better equal checks 2024-01-06 12:31:25 +08:00
Lim Chee Aun
bd38122f1b Extract unfurling out of status component 2023-12-30 18:13:56 +08:00
Lim Chee Aun
6500be2782 Disable hotkeys in quote posts 2023-12-29 18:16:08 +08:00
Lim Chee Aun
71d2db31e0 Fix undefined sKey 2023-12-29 08:25:41 +08:00
Lim Chee Aun
e13a2feec8 Prioritise local instance unfurl over remote 2023-12-28 11:58:50 +08:00
Lim Chee Aun
b89463d412 Various adjustments for spoilers and media
- No more blur effects. Performance is more important
- Add background color for all media
2023-12-26 17:06:52 +08:00
Lim Chee Aun
6dd54633e0 Finally revisiting this CW thing
Respect reading:expand:spoilers and reading:expand:media but differently than Mastodon's logic
2023-12-24 21:07:46 +08:00
Lim Chee Aun
088d795595 This got repositioned 2023-12-24 21:06:26 +08:00
Lim Chee Aun
92d6fe7ebe Let's add speech 2023-12-21 18:17:14 +08:00
Lim Chee Aun
a2189bf44b Make card aware of self-reference
Prevent unfurl if self-referential
2023-12-21 00:37:40 +08:00
Lim Chee Aun
bee32cc781 Add 'x' for expanding content warning 2023-12-20 16:42:36 +08:00
Lim Chee Aun
8ce720f305 Add all the relationships 2023-12-20 13:55:56 +08:00
Lim Chee Aun
df16cabec5 Need tooltip of the timestamp 2023-12-15 23:30:09 +08:00
Lim Chee Aun
aa8cbe046c New experiment: followed tag indicator 2023-12-15 01:58:44 +08:00
Lim Chee Aun
cbb7378601 Guard against invalid URLs 2023-12-03 20:40:00 +08:00
Lim Chee Aun
f98306ed18 No need render div if no content 2023-12-03 20:26:42 +08:00