Commit graph

2307 commits

Author SHA1 Message Date
Lim Chee Aun
32d32b72f4 Less radius for animated media 2023-12-30 20:29:21 +08:00
Lim Chee Aun
796b365fd8 Disable animation if hidden 2023-12-30 20:17:34 +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
2240380f68 Fix wrong month shown for different system date formats 2023-12-29 14:27:43 +08:00
Lim Chee Aun
f21a65da9a Micro optimizations 2023-12-29 11:27:01 +08:00
Lim Chee Aun
a97478097b Queue all the microtasks 2023-12-29 08:25:58 +08:00
Lim Chee Aun
71d2db31e0 Fix undefined sKey 2023-12-29 08:25:41 +08:00
Lim Chee Aun
88547fa403 Fix slow code blocking whole component render 2023-12-28 18:39:56 +08:00
Lim Chee Aun
1765defa56 Remove dup regex, add another GTS url pattern 2023-12-28 15:42:27 +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
f645815b84 Add small note on usage 2023-12-28 08:29:12 +08:00
Lim Chee Aun
f5b1b924a5 More queueMicrotask 2023-12-27 23:44:27 +08:00
Lim Chee Aun
fe54eb11a7 Experimental opt-in description generator 2023-12-27 23:33:59 +08:00
Lim Chee Aun
cfe41cb802 Test queueMicrotask 2023-12-27 23:32:52 +08:00
Lim Chee Aun
53b1755e51 Update copy, add lingva-api 2023-12-27 16:00:42 +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
72c5411347 Also show comment icon when not a thread 2023-12-26 17:04:46 +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
3a3858bd72 Add note on node.js and branches 2023-12-26 10:38:10 +08:00
Lim Chee Aun
69571bf817 Fix "Show all sensitive content" button not working 2023-12-26 10:37:49 +08:00
Lim Chee Aun
a539cfea0a Don't link to github if fake commit hash 2023-12-25 20:05:56 +08:00
Lim Chee Aun
976f0a5592 s/APP_TITLE/CLIENT_NAME 2023-12-25 19:53:07 +08:00
Lim Chee Aun
f520e30858 Extend self-hosting variables 2023-12-25 19:25:48 +08:00
Lim Chee Aun
563a7bf03b Can't really use important 2023-12-25 01:08:40 +08:00
Lim Chee Aun
ae57d95045 Upgrade p-retry 2023-12-24 23:58:05 +08:00
Lim Chee Aun
2923c23672 Test remove theme_color 2023-12-24 23:43:18 +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
60fdd3f522 Fix button display specificity 2023-12-24 21:19:46 +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
8ca768b957 Apply auth for remote-instance API calls 2023-12-23 23:07:08 +08:00
Lim Chee Aun
6703b27bfb No idea why this requires so much code 2023-12-23 23:06:03 +08:00
Lim Chee Aun
3cab36f24c Fix icon doesn't refresh when changed 2023-12-23 18:05:30 +08:00
Lim Chee Aun
30403f835c Update privacy policy regarding translations 2023-12-23 15:35:55 +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
b00033129f Reset search query if really empty 2023-12-22 23:03:05 +08:00
Lim Chee Aun
768477ea6c Handle cases when account is undefined 2023-12-22 23:02:44 +08:00