Commit graph

883 commits

Author SHA1 Message Date
Lim Chee Aun a9109f4839 Show account block in Composer 2023-09-03 19:48:36 +08:00
Lim Chee Aun 6c3a700f01 Expand "New update available…" menu row
Somehow 2nd section position: sticky stops working
2023-09-03 18:41:36 +08:00
Lim Chee Aun 6cbbd0aa1b More reliable badge clearing
Should be when page visible, not on render

Possibly super effective, but badges can be annoying if not cleared easily.
2023-09-03 13:41:37 +08:00
Lim Chee Aun 3ac05d8cdd Refactor code to files 2023-09-02 18:19:09 +08:00
Lim Chee Aun 1257ce8636 Handle memorial accounts 2023-09-02 15:06:15 +08:00
Lim Chee Aun 0e745663f0 Yes, push notifications (beta).
Heck this feature is tough.
2023-09-01 15:40:00 +08:00
Lim Chee Aun 4e47d679bc Card object has language now. Use it.
Also have other additional keys but later
2023-08-30 00:45:18 +08:00
Lim Chee Aun 2ebf421140 Remove "votes" text from poll items translation
Making it language-agnostic.
2023-08-29 20:41:48 +08:00
Lim Chee Aun 8bfc9892ed Blind fix for submenus bug 2023-08-29 15:23:58 +08:00
Lim Chee Aun d64bbb7acb Fix oops 2023-08-28 05:49:12 +08:00
Lim Chee Aun 1fae2f3208 2nd pass grouping of 1-account-many-statuses fav/boost 2023-08-27 13:06:26 +08:00
Lim Chee Aun 1b3112de1b Don't apply max-height to statuses in carousel 2023-08-25 15:41:03 +08:00
Lim Chee Aun 0792df1adb dir=auto all the things 2023-08-24 09:12:00 +08:00
Lim Chee Aun e8cc26fe2b bidi fixes 2023-08-23 18:34:11 +08:00
Lim Chee Aun aede10d71e Better copy for interactions on replies 2023-08-20 14:22:47 +08:00
Lim Chee Aun 1559052361 Fix Flash of Loader (FOL) 2023-08-19 19:21:51 +08:00
Lim Chee Aun 4a423b134d Fix link style affecting status cards 2023-08-19 17:07:16 +08:00
Lim Chee Aun ff3ef9fa45 Restyle play icon 2023-08-19 14:39:45 +08:00
Lim Chee Aun bce8456ac6 Fix radius 2023-08-19 14:32:21 +08:00
Lim Chee Aun de10faee88 Further apply text color to links 2023-08-18 13:48:45 +08:00
Lim Chee Aun d64a363d60 Stretch the content for boosts in boosts carousel 2023-08-17 22:05:55 +08:00
Lim Chee Aun 6755626259 Show votes count in translated text 2023-08-17 14:08:26 +08:00
Lim Chee Aun 271601dc2c Update the loading placeholder 2023-08-17 13:36:03 +08:00
Lim Chee Aun f7343fd4fd Check for no shortcuts cases 2023-08-16 16:39:22 +08:00
Lim Chee Aun 932e66f330 Update copy for import/export 2023-08-15 22:40:58 +08:00
Lim Chee Aun 8790b20354 Experimental Shortcuts settings import/export 2023-08-15 20:14:09 +08:00
Lim Chee Aun c1f947a9c3 Sometimes, have to think out of the box
Focus first, then scroll
2023-08-14 21:56:44 +08:00
Lim Chee Aun e3c77cb516 Increase timeout, but such hacky sadly 2023-08-14 21:39:53 +08:00
Lim Chee Aun fe8eb74242 Another attempt 2023-08-14 21:09:14 +08:00
Lim Chee Aun 8141513fa9 Spruce up buttons in media modal 2023-08-14 20:32:09 +08:00
Lim Chee Aun 635f4c1b0d s/setUiState/setUIState 2023-08-14 11:22:42 +08:00
Lim Chee Aun d237fb8320 Experimental preload icons 2023-08-13 17:15:49 +08:00
Lim Chee Aun 2ba2696e9e Small radius fix 2023-08-13 12:38:03 +08:00
Lim Chee Aun 31d7016bd9 Default show chars-left donut 2023-08-13 12:00:33 +08:00
Lim Chee Aun 8b74a32168 Fix race conditions when accept/rejecting many follow requests
- No longer reload the whole list of follow requests and notifications for every accept/reject action
- Notifications list now exclude follow requests (experimental)
2023-08-11 18:00:36 +08:00
Lim Chee Aun 5b8744ac55 Replace bull with round icon 2023-08-10 23:52:29 +08:00
Lim Chee Aun 339b66f42f Attempt to fix Firefox keyboard shortcuts bug on navigating media carousel 2023-08-10 21:58:11 +08:00
Lim Chee Aun 1ecd568c29 Preliminary support for exclusive list
Only for Mastodon v4.2+
2023-08-09 19:08:42 +08:00
Lim Chee Aun bf39f9eafc Add (more visible) show/hide poll results
+ small UI polish and fixes
2023-08-09 16:26:29 +08:00
Lim Chee Aun 0ca29cb181 Fix wrong color for filtered group post 2023-08-08 20:21:09 +08:00
Lim Chee Aun 58c6b6349c Time to embrace prefers-reduced-motion with picture 2023-08-08 15:34:24 +08:00
Lim Chee Aun fb798ce895 Recode EmojiText, fix bug for some emojis not being replaced 2023-08-08 14:04:12 +08:00
Lim Chee Aun c3f80cec9b Show displayName too 2023-08-08 14:03:27 +08:00
Lim Chee Aun 9a44dfafa6 Show group tag in search results 2023-08-07 21:26:56 +08:00
Lim Chee Aun a8c7e08f3f Treat posts from groups differently from boosts 2023-08-07 21:26:43 +08:00
Lim Chee Aun 794ee3cb74 More accurate border radius 2023-08-07 16:00:12 +08:00
Lim Chee Aun 9b23e051e2 Still need this length check, this "done" is not reliable 2023-08-07 11:39:42 +08:00
Lim Chee Aun 0b3875c2cf Only focus when menu item is clicked 2023-08-06 16:54:13 +08:00
Lim Chee Aun c13e148b36 How did I even code this 2023-08-05 00:16:18 +08:00
Lim Chee Aun 6b8ae97d98 Add small link icon for imageless link cards 2023-08-05 00:15:57 +08:00
Lim Chee Aun 76823b8497 Don't propagate large styles to status cards 2023-08-03 02:02:00 +08:00
Lim Chee Aun 1887a34fc5 Another aspect ratio style fix 2023-08-02 17:41:00 +08:00
Lim Chee Aun 88accb2a78 Reduce code for spoiler styles 2023-08-02 17:40:28 +08:00
Lim Chee Aun c91cda1a2c Ok the math was too advanced for CSS 2023-08-01 23:54:28 +08:00
Lim Chee Aun dc7083a11d Pushing the limits of my math 2023-08-01 23:44:28 +08:00
Lim Chee Aun b0ed0be47d Allow keyboard nav after clicking on buttons in media carousel 2023-08-01 19:43:52 +08:00
Lim Chee Aun c30eaee4e2 Somehow this kinda works 2023-08-01 18:20:54 +08:00
Lim Chee Aun b1b1ed0f3f Adjustments to prevent layout shift 2023-08-01 14:26:22 +08:00
Lim Chee Aun 8cd00a053c Experiment: make replies container not whole-clickable
Except for "thread" statuses
2023-08-01 00:15:07 +08:00
Lim Chee Aun 3fe99050e0 Small fixes 2023-08-01 00:12:01 +08:00
Lim Chee Aun ba9cf70f44 Unproxy the proxy 2023-07-31 20:30:29 +08:00
Lim Chee Aun 507d8f449a Safari seems really confused with this 2023-07-31 09:31:34 +08:00
Lim Chee Aun cf59b9dda1 Definitely need to recode this one day
Or at least split the code for single media vs multiple media
2023-07-31 00:37:57 +08:00
Lim Chee Aun 760fdb66db Quick fix for Safari 2023-07-31 00:24:45 +08:00
Lim Chee Aun c003724108 Few changes to how media rendering
1. Try respect aspect when only 1 media
2. Distance-based image inner-scroll animation
3. Small inner radius between media when >=2 media
2023-07-30 21:28:17 +08:00
Lim Chee Aun fad286e617 Some posts have nested lists 2023-07-26 11:25:57 +08:00
Lim Chee Aun 14091fbc7b It's time to widen carousel for Firefox users
Srsly take too long time waiting for Firefox to support :has()
2023-07-25 17:23:22 +08:00
Lim Chee Aun 6fe182a7a3 Shazam the mini translation block 2023-07-24 22:27:30 +08:00
Lim Chee Aun 871fe11d0f Add safe min-width for poll 2023-07-23 16:57:43 +08:00
Lim Chee Aun b0808305ab Fix poll meta not showing 2023-07-23 16:57:20 +08:00
Lim Chee Aun 5fa02f9cc4 Fix max-width bug for profile field 2023-07-23 01:00:22 +08:00
Lim Chee Aun d8b385a742 Fix logic not checking different language 2023-07-22 20:50:53 +08:00
Lim Chee Aun bc3e946f61 lol why need to keep checking the text 2023-07-22 20:48:01 +08:00
Lim Chee Aun eb13fe8ce0 Fix logic again
I really need to rename these variables to be less confusing
2023-07-22 20:31:13 +08:00
Lim Chee Aun 28ad18bd0b Show pronunciation text in tooltip 2023-07-22 20:30:32 +08:00
Lim Chee Aun 9869c9dc5b If translated text is same as original text, don't show it
This means language detection messed up
2023-07-22 20:30:18 +08:00
Lim Chee Aun ac9962b051 Don't show inline translation if has card 2023-07-22 10:10:41 +08:00
Lim Chee Aun 075c729807 Fix logic again 2023-07-22 00:06:15 +08:00
Lim Chee Aun 587864893c Getting confused with the logic
Also more accurate content length calc
2023-07-21 23:54:03 +08:00
Lim Chee Aun 658872cbd9 Fix logic again 2023-07-21 23:00:58 +08:00
Lim Chee Aun 5502d08d28 Fix typo and logic 2023-07-21 22:52:53 +08:00
Lim Chee Aun 58bf8e16c2 Persist auto-inline-translation to the large size status too 2023-07-21 13:25:18 +08:00
Lim Chee Aun 4aab2d39cc Set max width for very long profile metadata 2023-07-21 00:55:37 +08:00
Lim Chee Aun 9b0e63d289 Handle elk links 2023-07-19 15:51:00 +08:00
Lim Chee Aun da425b4a70 Fix wrong url cached 2023-07-19 15:46:00 +08:00
Lim Chee Aun 7286a4e03b Attempt to fix menu confirm not opening 2023-07-19 15:19:03 +08:00
Lim Chee Aun 1f0d2eebe6 Having fun with multi-stacking modals 2023-07-18 20:40:10 +08:00
Lim Chee Aun 38a13b07c5 Fix boost menu bug 2023-07-18 18:45:38 +08:00
Lim Chee Aun 92a4f502a0 Experimental Auto Inline Translation (AIT)
For short posts for now and throttled API calls
2023-07-18 13:31:26 +08:00
Lim Chee Aun ff41cd3563 Replace (most) alert/confirms with alternative UI
Everything might break lol
2023-07-17 21:01:00 +08:00
Lim Chee Aun 10fa537a56 Make instance text wrap on its own 2023-07-16 10:36:33 +08:00
Lim Chee Aun 18a5742bfc Make it shrink for profile page 2023-07-16 09:05:46 +08:00
Lim Chee Aun 3192c319ee Experiment more minimalistic account sheet 2023-07-14 14:36:13 +08:00
Lim Chee Aun 1ef9613358 Need more gap 2023-07-14 10:43:35 +08:00
Lim Chee Aun fa21eec06a Try useIdle 2023-07-12 17:32:05 +08:00
Lim Chee Aun e26473f607 Replace import.meta.glob, it actually generates imports for *all* icons
Change to manually import icons
2023-07-12 16:42:58 +08:00
Lim Chee Aun fd1fc9c5fc Let's flip things around 2023-07-11 19:20:01 +08:00
Lim Chee Aun 4dbc26dbb6 lol name is not unique 2023-07-11 15:06:30 +08:00
Lim Chee Aun 7fa7276a43 Prevent list numbers from being shrinked 2023-07-11 10:48:26 +08:00
Lim Chee Aun 6956628369 Add posting visibility setting
Also respect visibility setting when replying *if* replied-to post is public
2023-07-09 16:32:09 +08:00