Commit graph

1197 commits

Author SHA1 Message Date
Lim Chee Aun
d71b1a7e36 Test add "more" icon near timestamp 2024-01-10 01:47:50 +08:00
Lim Chee Aun
c47687e2e4 Fix / and ? key shortcuts suddenly not working 2024-01-10 00:03:36 +08:00
Lim Chee Aun
ecd5c7b91e . (period) keyboard shortcut = load new posts 2024-01-09 23:47:21 +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
7223baaaad Better error handling for image desc generator
400 doesn't throw error
2024-01-06 12:23:15 +08:00
Lim Chee Aun
3989b218d0 Need to encode the query 2024-01-04 22:00:27 +08:00
Lim Chee Aun
d25c2df392 Warn if icon not found 2024-01-04 18:55:21 +08:00
Lim Chee Aun
848433365d Don't limit 80px if more than 2 media 2024-01-04 18:55:14 +08:00
Lim Chee Aun
3d4ebb8abe Adjust rootMargin 2024-01-03 10:54:55 +08:00
Lim Chee Aun
92c0a8b4f0 Test memoize svg icon 2024-01-03 09:49:48 +08:00
Lim Chee Aun
b4d4c61128 Experiment delay render items in carousel 2024-01-02 19:56:54 +08:00
Lim Chee Aun
764125e6b9 Test replace scroll-based to inview 2024-01-02 19:26:05 +08:00
Lim Chee Aun
098df0ad2c Test move this out of component mount
It needs to run faster
2024-01-02 17:45:58 +08:00
Lim Chee Aun
e41e49884f Less paragraph margins for status cards 2024-01-02 17:45:21 +08:00
Lim Chee Aun
852f7090f6 Status card style changes 2024-01-02 12:27:39 +08:00
Lim Chee Aun
d54511aa10 Test a bunch of perf-related style changes 2024-01-02 12:27:22 +08:00
Lim Chee Aun
0ebbc5b34e Don't need nearReachEnd, use InView more 2024-01-02 12:24:03 +08:00
Lim Chee Aun
b168707c14 Revert "Remove DEV check"
This reverts commit d2fb86036c.
2024-01-01 18:31:59 +08:00
Lim Chee Aun
d2fb86036c Remove DEV check
It refers to local dev, not the dev site
2024-01-01 18:29:21 +08:00
Lim Chee Aun
c3e40297e0 Add a little delay 2023-12-30 21:51:10 +08:00
Lim Chee Aun
32d32b72f4 Less radius for animated media 2023-12-30 20:29:21 +08:00
Lim Chee Aun
bd38122f1b Extract unfurling out of status component 2023-12-30 18:13:56 +08:00
Lim Chee Aun
d7d838ebf8 Rebuild useScroll, less states 2023-12-29 18:29:08 +08:00
Lim Chee Aun
de3787209e Make bold less bold 2023-12-29 18:16:19 +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
437d721c26 Safari needs this on every element 2023-12-28 15:23:47 +08:00
Lim Chee Aun
e13a2feec8 Prioritise local instance unfurl over remote 2023-12-28 11:58:50 +08:00
Lim Chee Aun
39bcb01894 Differentiate icon for group vs local 2023-12-28 11:57:48 +08:00
Lim Chee Aun
7fb0044471 More queueMicrotask 2023-12-28 10:50:54 +08:00
Lim Chee Aun
fe54eb11a7 Experimental opt-in description generator 2023-12-27 23:33:59 +08:00
Lim Chee Aun
ef8dda2dbb Special styling for .content.truncated 2023-12-27 12:28:01 +08:00
Lim Chee Aun
66a519f4dc s/Following/Follows 2023-12-27 10:33:29 +08:00
Lim Chee Aun
ce6d14fa04 Finally can allow this padding 2023-12-27 10:33:19 +08:00
Lim Chee Aun
bc5a4eaf3c Inherit line-through color too 2023-12-27 08:50:23 +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
d59ee9169f Potentially fix unwieldy margins once and for all 2023-12-26 16:00:39 +08:00
Lim Chee Aun
f520e30858 Extend self-hosting variables 2023-12-25 19:25:48 +08:00
Lim Chee Aun
7cfa839e1c Perf fixes 2023-12-24 22:49:23 +08:00
Lim Chee Aun
94075086ce Make media post respect reading:expand:media 2023-12-24 21:20:12 +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
c54a15de11 Disable memo for Icon
Too many memoization going on here
2023-12-24 21:05:43 +08:00
Lim Chee Aun
3cab36f24c Fix icon doesn't refresh when changed 2023-12-23 18:05:30 +08:00
Lim Chee Aun
486a707f49 Fix small-width media indentation in status carousels
Center-ize it, add a background color
2023-12-23 15:34:25 +08:00
Lim Chee Aun
5d95d602a7 Skip useEffect if icon already loaded 2023-12-23 12:14:11 +08:00
Lim Chee Aun
768477ea6c Handle cases when account is undefined 2023-12-22 23:02:44 +08:00
Lim Chee Aun
da58336285 Experiment: allow Search in Shortcuts 2023-12-22 18:01:41 +08:00
Lim Chee Aun
5f48f92c11 Improve perf due to slow localeCompare 2023-12-22 00:26:29 +08:00