Commit graph

335 commits

Author SHA1 Message Date
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
Lim Chee Aun
89fb1bbc07 Experiment show replies count for questions 2023-11-30 23:47:58 +08:00
Lim Chee Aun
85bdaace58 Replace all Menu to Menu2
Need the default unmountOnClose so don't need the :has() hack
2023-11-18 21:11:07 +08:00
Lim Chee Aun
19ed85f298 Make comment hint opt-in 2023-11-14 22:45:13 +08:00
Lim Chee Aun
d6afb473ee Experiment show replies hint 2023-11-14 16:52:47 +08:00
Lim Chee Aun
678fc100c8 Allow shifts to open composer in new window 2023-11-05 17:41:29 +08:00
Lim Chee Aun
305710fa8c Fix collapsed peek status with wrong url 2023-11-05 17:40:58 +08:00
Lim Chee Aun
83bdc82049 Add more unfurling
- Fix regex
- Handle trunks.social and Phanpy links too
2023-11-05 16:13:00 +08:00
Lim Chee Aun
e5d5025299 Quick fix disappearing posts bug 2023-11-05 08:21:43 +08:00
Lim Chee Aun
9f31cc8e07 Some sort of "garbage collection" 2023-11-04 19:18:12 +08:00
Lim Chee Aun
660cbebbc4 Move iOS check outside 2023-11-04 19:05:14 +08:00
Lim Chee Aun
5f50df1721 Replace provider/author fallback with published date 2023-11-04 15:36:13 +08:00
Lim Chee Aun
7ad6151637 Port domain format from Trending 2023-11-04 15:35:28 +08:00
Lim Chee Aun
0bc1b598c3 Breaking: rewrote filters implementation 2023-11-03 21:45:31 +08:00
Lim Chee Aun
0c2d79c159 Make edited timestamp tab-able 2023-11-02 10:50:21 +08:00
Lim Chee Aun
93e19f549d No need scroll back 2023-11-02 10:50:01 +08:00
Lim Chee Aun
38ee094405 Make edited modal lighter 2023-11-02 10:49:52 +08:00
Lim Chee Aun
bf7acb6eab Add more conditions for binding longpress
Should be same condition as contextmenu
2023-11-02 08:00:00 +08:00