Commit graph

768 commits

Author SHA1 Message Date
Osma Ahvenlampi
804e4571d9 tweak the behavior of status context menu 2023-06-14 17:23:56 +03:00
Lim Chee Aun
28acd9720e Fade in the header banner too
Prevent the abruptness
2023-06-14 21:42:28 +08:00
Lim Chee Aun
a4db692ea8 Async decoding for avatars 2023-06-14 20:31:02 +08:00
Lim Chee Aun
ccb656b793 Unordered lists in posts should always be disc 2023-06-14 18:54:46 +08:00
Lim Chee Aun
3b3e0e6fde EmojiText component replacing dangerouslySetInnerHTML 2023-06-14 17:37:41 +08:00
Lim Chee Aun
92a87a846d Try use OffscreenCanvas for avatars 2023-06-14 11:15:05 +08:00
Lim Chee Aun
cea4590686 Cache textWeight 2023-06-14 11:14:49 +08:00
Lim Chee Aun
50f0b38f42 Add 'group' tag to accounts 2023-06-14 06:00:06 +08:00
Lim Chee Aun
885f23d405 Fix Flash of Enlarged Image (FOEI)
Let's see if this works!
2023-06-14 00:09:26 +08:00
Lim Chee Aun
a1ee5be54b Upgrade react-menu and bug fixes 2023-06-13 17:46:37 +08:00
Lim Chee Aun
f6ef727cae Seems like this is not needed
Fix See Post button not opening the post
2023-06-13 15:32:10 +08:00
Osma Ahvenlampi
3b3668ba13 using percentage radius enables squircles in both normal timeline as well as boost carousel 2023-06-12 18:52:44 +03:00
Lim Chee Aun
58eea41b56 Scale down avatar size for non-parent-author posts in grouped contexts
Experimental!
2023-06-11 23:57:53 +08:00
Lim Chee Aun
cab2e47a77 Perf fixes 2023-06-11 23:31:14 +08:00
Lim Chee Aun
e502b8e377 Try decoding=sync 2023-06-07 19:48:38 +08:00
Lim Chee Aun
ec88110e2d Possibly fix sometimes the Profile menu becomes missing 2023-06-07 19:37:47 +08:00
Lim Chee Aun
676fa6fbc9 Fix error when language code is "startrek_it"
Srsly why…
2023-06-05 11:40:30 +08:00
Lim Chee Aun
efa4ba63eb Try re-post if idempotency key fails 2023-05-23 19:16:24 +08:00
Lim Chee Aun
17334de24a Fix nav menu squeezed on Firefox 2023-05-23 10:58:33 +08:00
Lim Chee Aun
bde8c66629 Just having a bit of fun 2023-05-22 17:43:02 +08:00
Lim Chee Aun
305b3a5f0e Make it sticky 2023-05-21 14:12:21 +08:00
Lim Chee Aun
63f18d4a28 Small decoration 2023-05-21 13:24:26 +08:00
Lim Chee Aun
e6ab8385a1 Adjust nav menu styles 2023-05-21 11:52:24 +08:00
Lim Chee Aun
9a10bc0fec Use proper alt 2023-05-20 19:43:32 +08:00
Lim Chee Aun
4b48bab2bb Make nav menu look a bit nicer 2023-05-20 19:35:58 +08:00
Lim Chee Aun
4b45375b4c Transform nav menu into 2 columns 2023-05-20 17:46:58 +08:00
Lim Chee Aun
a52bd7ca5d Attempt to fix lost focus when closing nav menu 2023-05-20 17:08:20 +08:00
Lim Chee Aun
753789c0c7 Try/catch match because it throws when there's invalid language code 2023-05-20 14:14:35 +08:00
Lim Chee Aun
3524eb84c3 Make poll form take full width 2023-05-20 10:22:05 +08:00
Lim Chee Aun
0df21af374 Handle cases when statusID is not used 2023-05-20 01:06:16 +08:00
Lim Chee Aun
f368071fcb ul, ol need a bit more space 2023-05-19 09:03:20 +08:00
Lim Chee Aun
104665cafe Don't need "Also" 2023-05-18 21:43:58 +08:00
Lim Chee Aun
48eb3b1a42 Prevent repetitive unfurling 2023-05-17 16:13:49 +08:00
Lim Chee Aun
166f9da232 Prevent showing card and QP for links that link the post itself
Use case: links from lemmy
2023-05-16 10:40:05 +08:00
Lim Chee Aun
ef12916bab New "shazam" CSS effect utility lolol
I might rename this in the future
2023-05-09 18:03:26 +08:00
Lim Chee Aun
900bcb0410 Gosh, non-Mastodon instances are definitely more rich (in HTML) 2023-05-07 19:20:04 +08:00
Lim Chee Aun
2ee38f43d2 Fix reload issues in Notifications 2023-05-07 19:17:16 +08:00
Lim Chee Aun
26af33aa85 Alright let's get Announcements UI out for now
Not perfect but will iterate later
2023-05-07 11:12:59 +08:00
Lim Chee Aun
dcf7d3c750 Add follow requests section in Notifications 2023-05-06 17:13:39 +08:00
Lim Chee Aun
711842916d New experiment: auto refresh 2023-05-05 17:53:16 +08:00
Lim Chee Aun
456d4f4ae8 There are lists?
Somehow Mastodon allows additional HTML from another Fediverse instance called Bovine
2023-05-04 10:28:34 +08:00
Lim Chee Aun
8519f68e9f Quick-translate from timeline to Post page 2023-05-03 10:22:15 +08:00
Lim Chee Aun
1ddcb51af5 Add a button here to prevent poll height from jumping
Still quite a hidden feature 🤫
2023-05-02 23:19:37 +08:00
Lim Chee Aun
51dcdfcfaa Handle null status for "mention" notification 2023-05-02 08:01:52 +08:00
Lim Chee Aun
ef06faf259 Notifications popover, for larger screens 2023-04-30 21:03:09 +08:00
Lim Chee Aun
6532b97a44 Update copy: s/status/post 2023-04-29 22:22:07 +08:00
Lim Chee Aun
1dc533b62a Add loading indicator for slow relationships 2023-04-29 21:48:18 +08:00
Lim Chee Aun
eeb5730932 Filter bar + helper popup for search form 2023-04-29 20:59:51 +08:00
Lim Chee Aun
8f7c6a159b Better image fallbacks 2023-04-28 19:28:36 +08:00
Lim Chee Aun
7e2723db4e Yes, there are blockquotes 2023-04-28 17:58:36 +08:00
Lim Chee Aun
23057efcca Catch the error 2023-04-27 18:12:38 +08:00
Lim Chee Aun
a196540d66 Differentiate between previewMode vs quoted
When previewMode, auto-reveal spoiler
2023-04-27 08:25:39 +08:00
Lim Chee Aun
5bbb268731 Need zIndex 2023-04-26 13:59:54 +08:00
Lim Chee Aun
960ce07501 Attempt to fix nav menu not closable when click outside 2023-04-26 13:23:54 +08:00
Lim Chee Aun
211e4ff74d Rename to NavMenu to avoid confusion 2023-04-26 13:09:44 +08:00
Lim Chee Aun
e39ed219eb Need unmount because every page mounts its own nav menu 2023-04-26 12:39:54 +08:00
Lim Chee Aun
4001e1c47a Match logic for context menu and long press 2023-04-26 10:35:26 +08:00
Lim Chee Aun
6f430ca0f5 Fix wrong index of QTs for links that are not QTs 2023-04-25 21:57:12 +08:00
Lim Chee Aun
ad774325df Make image animate when hovering over status card 2023-04-25 20:51:22 +08:00
Lim Chee Aun
963312aacb Swipe to toggle poll results 2023-04-25 20:41:08 +08:00
Lim Chee Aun
535715cfe8 Prevent infinite loop of QT of QT of QT
Use case: Status A QT status B, then status B QT status A = recursive QT
2023-04-25 13:03:26 +08:00
Lim Chee Aun
48c86d7090 Fix detectedSource not returned from API sometimes 2023-04-25 11:27:11 +08:00
Lim Chee Aun
8e46da5e80 Fix set focus on status, make status itself scroll unwillingly 2023-04-24 21:56:13 +08:00
Lim Chee Aun
01a028d1c5 Attempt to fix Flash of missing text on Mobile Safari 2023-04-24 21:36:33 +08:00
Lim Chee Aun
e7a1aa1418 Try 600 2023-04-24 21:36:03 +08:00
Lim Chee Aun
163961c494 Memoize the Parent 2023-04-24 19:27:12 +08:00
Lim Chee Aun
944a896586 Risky bump of use-long-press and to 1s delay 2023-04-24 19:16:07 +08:00
Lim Chee Aun
0498ce8615 lol why is there an x here 2023-04-24 12:27:24 +08:00
Lim Chee Aun
7f54c7ae93 Change copy to "Also followed by" 2023-04-23 21:57:01 +08:00
Lim Chee Aun
151332c47f Add a swoosh 2023-04-23 21:48:49 +08:00
Lim Chee Aun
89d62d6d0f Fixes for QTs 2023-04-23 19:29:25 +08:00
Lim Chee Aun
9257155e18 Slight shadow 2023-04-23 13:55:37 +08:00
Lim Chee Aun
472e1c8e22 Fix missing Icon 2023-04-23 11:27:18 +08:00
Lim Chee Aun
3eaf3ef62b New experiment: rendering quote toots 2023-04-23 00:55:47 +08:00
Lim Chee Aun
236f5bc413 Make common followers appear elegantly 2023-04-20 19:54:01 +08:00
Lim Chee Aun
fbcc1f6e22 Remove blur from media modal background 2023-04-20 19:10:07 +08:00
Lim Chee Aun
7a7693ae52 New feature: hashtag stuffing collapsing 2023-04-20 18:56:22 +08:00
Lim Chee Aun
6fb68d34c5 Readjust media sizes again 2023-04-20 17:59:18 +08:00
Lim Chee Aun
12957c8ea7 Focus back on status after context menu closed 2023-04-20 17:51:40 +08:00
Lim Chee Aun
5dc3603795 Close button for modal sheets 2023-04-20 16:10:57 +08:00
Lim Chee Aun
b2827e690d Better handling of mentions 2023-04-20 13:40:42 +08:00
Lim Chee Aun
dcb24382fc Fix instance url
Why do I need to keep doing this
2023-04-19 10:42:26 +08:00
Lim Chee Aun
3a4a75793a Don't disable form if >= 9 shortcuts
This is old code when form was inline instead of another modal
2023-04-19 10:42:09 +08:00
Lim Chee Aun
37a5c09fde Experiment with larger-height media
And few adjustments
2023-04-19 09:43:35 +08:00
Lim Chee Aun
8ad4214850 Finally get rid of bottom faux spacing 2023-04-19 09:41:09 +08:00
Lim Chee Aun
043c68f9ff Smaller 'last status' 2023-04-19 09:40:46 +08:00
Lim Chee Aun
155bb2c705 More compact profile metadata boxes 2023-04-19 09:40:36 +08:00
Lim Chee Aun
08890bb04e Rearrange the interactions buttons in context menu 2023-04-19 00:00:47 +08:00
Lim Chee Aun
b164d68b4f Try show non-image cards 2023-04-18 23:46:59 +08:00
Lim Chee Aun
290c1a4b59 Make sure statuses inside edit history and not interact-able 2023-04-18 00:44:29 +08:00
Lim Chee Aun
470fb4dfc0 Fix select field "unstyled" inside toolbar button 2023-04-18 00:40:21 +08:00
Lim Chee Aun
8565bb930b Very very very lazy way to sort used languages to the top 2023-04-17 20:47:34 +08:00
Lim Chee Aun
f0adee6ebf Add tiny little closed eye for compact status spoiler 2023-04-17 19:09:46 +08:00
Lim Chee Aun
9fd2b05065 Bring back the instance 2023-04-17 17:38:53 +08:00
Lim Chee Aun
52c66182d1 Make poll smaller 2023-04-17 16:16:52 +08:00
Lim Chee Aun
2dde64e740 Fix arrows gone missing in carousel 2023-04-17 14:41:40 +08:00
Lim Chee Aun
d35ffafe4b Fix status preview corner 2023-04-17 11:46:34 +08:00
Lim Chee Aun
9a04cb6ba3 Add 'Full' view for status pages 2023-04-17 00:14:09 +08:00
Lim Chee Aun
5d2a14442a Bump up long press threshold 2023-04-15 12:04:31 +08:00
Lim Chee Aun
fcf11f7d34 Try fix swipe bug on Chrome Android 2023-04-15 11:45:34 +08:00