Commit graph

2112 commits

Author SHA1 Message Date
Lim Chee Aun 97cce8a828 Slightly faster bg transition 2024-02-12 11:54:47 +08:00
Lim Chee Aun 3c31c56306 Fine-tuning status actions styles 2024-02-12 11:53:59 +08:00
Lim Chee Aun 92f4371041 More granular hover/focus state for status actions 2024-02-11 22:46:21 +08:00
Lim Chee Aun a9d0100087 Stripes if PM 2024-02-11 21:04:30 +08:00
Lim Chee Aun 3fbe11295f Don't use dvh for this 2024-02-10 22:22:25 +08:00
Lim Chee Aun 98f018913d Test change to :focus 2024-02-10 20:21:03 +08:00
Lim Chee Aun 60ca577f9b Slight adjustments to status actions 2024-02-10 12:01:51 +08:00
Lim Chee Aun 1d0d02f39b Different alignment for status action menu 2024-02-10 12:00:40 +08:00
Lim Chee Aun fbd448c152 Add one more smaller text size option 2024-02-09 20:07:16 +08:00
Lim Chee Aun 169aa2d3d3 Fix boost icon color in new status menu 2024-02-08 01:12:02 +08:00
Lim Chee Aun 9a9667d824 Redesign the context menu 2024-02-06 17:34:26 +08:00
Lim Chee Aun afd9d2cf97 Slight style adjustments 2024-02-06 17:32:17 +08:00
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 4f28d3cc6d Less bolder bold 2024-02-06 17:28:18 +08:00
Lim Chee Aun 46415b87a6 Show lists containing the account in the menu 2024-02-05 10:17:49 +08:00
Lim Chee Aun 913d923877 Make grouped subsequent hashtag pre-meta more seamless 2024-02-04 19:38:22 +08:00
Lim Chee Aun 36f38230c4 Attempt to shorten links if not shortened
This usually comes from non-Mastodon instances
2024-02-03 20:36:25 +08:00
Lim Chee Aun a66a4e238e More subtle style change to reply parent 2024-02-02 13:20:55 +08:00
Lim Chee Aun aa7fb4441f Subtle style change to reply parent 2024-02-02 12:58:35 +08:00
Lim Chee Aun f1dbb9ec42 Further delay filtered status peek, remove tooltip 2024-02-02 00:27:12 +08:00
Lim Chee Aun a59668ea9a Slight adjustment to carousel colors 2024-02-01 22:49:16 +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 28bb66f185 Show total at end of list 2024-01-31 09:03:33 +08:00
Lim Chee Aun 46d7cba1ea Show join date if there's nothing to show 2024-01-30 22:46:18 +08:00
Lim Chee Aun ff35c458c3 Don't return 2024-01-30 18:57:28 +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 3470b9adec Fix forgot to opt-in new experiment 2024-01-30 15:22:01 +08:00
Lim Chee Aun f3d77dd04e Experimental reply parent hint 2024-01-30 14:34:54 +08:00
Lim Chee Aun 14f5c37721 Don't show comment hint for timeline item container 2024-01-30 14:28:28 +08:00
Lim Chee Aun a66307b757 Fixes + improvements to search UI 2024-01-29 21:11:08 +08:00
Lim Chee Aun 9792700f30 Fix wrong CSS
Add more checks
2024-01-29 01:38:53 +08:00
Lim Chee Aun 36e852bebb Fix weird overflow: clip bug on Chrome 2024-01-28 00:49:11 +08:00
Lim Chee Aun 6075542071 Exclude the JS-injected hashtag stuffing class 2024-01-26 16:09:21 +08:00
Lim Chee Aun 0386357688 Fix weird bug with wrong cache of icon 2024-01-26 00:28:03 +08:00
Lim Chee Aun 9cac63c37d Experimental more-harsh hashtag stuffing collapsing 2024-01-25 22:13:38 +08:00
Lim Chee Aun 5cfcfdc98b Squeeze all the micro-perf 2024-01-25 21:28:41 +08:00
Lim Chee Aun a2d995ec07 Support unofficial status.quote 2024-01-25 12:59:53 +08:00
Lim Chee Aun 4ca9a802e3 Remove console.log 2024-01-25 08:00:55 +08:00
Lim Chee Aun 990f2b2e29 Handle unknown audio attachments 2024-01-24 13:08:54 +08:00
Lim Chee Aun 725da37063 Slight adjustments to post actions bar 2024-01-21 13:10:57 +08:00
Lim Chee Aun 1b41d39032 Stretch svg dimensions 2024-01-20 10:26:01 +08:00
Lim Chee Aun 23dd7f5a7a Extract ICONS out 2024-01-20 10:25:47 +08:00
Lim Chee Aun 7d95c50c7a Remove width/height in svg 2024-01-20 01:45:54 +08:00
Lim Chee Aun a352f94c2c Use more beautiful quotes 2024-01-20 01:45:36 +08:00
Lim Chee Aun 38e2b176bc Make embeds larger 2024-01-19 20:31:05 +08:00
Lim Chee Aun 6b4c1c8505 Change menu alignment 2024-01-19 20:29:46 +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 3fbd5b8622 s/allowNofitications/allowNotifications
Also very embarrassing
2024-01-17 11:32:16 +08:00
Lim Chee Aun b6c4045cb4 Escape HTML chars in composer highlights
This is very embarrassing, I know
2024-01-17 11:31:33 +08:00
Lim Chee Aun 37c784dad2 Make refresh button more prominent 2024-01-16 15:47:10 +08:00
Lim Chee Aun 04d431cf71 Add more conditions 2024-01-15 22:05:18 +08:00
Lim Chee Aun 97458b66eb Update languages list 2024-01-15 20:39:29 +08:00
Lim Chee Aun fadfc6052d Only show for coarse pointer 2024-01-15 00:31:42 +08:00
Lim Chee Aun 0ca92e7509 Fix icon alignment in shortcut settings 2024-01-14 23:04:14 +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 1017d1d270 Style changes for focused more button 2024-01-14 21:33:52 +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 9b0889fe23 Test show refresh button after a minute 2024-01-14 18:31:53 +08:00
Lim Chee Aun 79e87b7d89 A little transition when expanding replies 2024-01-14 18:29:11 +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 2b3f65f28c Fix wrong account shown
Need the hostname to be more accurate
2024-01-12 14:47:59 +08:00
Lim Chee Aun 500f877d4b Fix error when r is undefined 2024-01-11 10:44:37 +08:00
Lim Chee Aun 4b9ff0ca5b Hide "more" icon for posts in notifications 2024-01-11 10:44:24 +08:00
Lim Chee Aun 07f927d4ff Add notice if there's only 1 shortcut 2024-01-10 14:48:29 +08:00
Lim Chee Aun 8c6563a671 More contextual copy 2024-01-10 14:48:08 +08:00
Lim Chee Aun ffabd6188d Truncate URLs 2024-01-10 01:48:20 +08:00
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 99b0b7c096 Test disable viewScroll=close for hashtag page menu
Possible fix for self-auto-closing when focusing on the
input field to add hashtag and the software keyboard resizes
the page, causing scroll event to fire and close the menu itself
2024-01-07 12:30:51 +08:00
Lim Chee Aun e44ac16396 Fix flash of unscrolled position
Due to statuses being memo-ed, need to speed up the scroll position setup
2024-01-06 19:15:48 +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 1574be2b35 Test content-visibility: auto on off-screen columns 2024-01-06 12:23:43 +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 9cffd429b0 Potential fix to infinite loop of intersection observer 2024-01-06 03:15:24 +08:00
Lim Chee Aun 9a5d749b8d Better search suggestion styles
Lighter style and fifferentiate between hover and focus
2024-01-06 01:04:14 +08:00
Lim Chee Aun e43f2283dd Resolve account URLs too 2024-01-06 01:03:30 +08:00
Lim Chee Aun be5fcc35ac Comment line extended if there's status pre-meta 2024-01-05 19:18:05 +08:00
Lim Chee Aun 54314de976 Experiment unlinked replies (again)
But still show link to the post's "thread"
2024-01-05 19:15:22 +08:00
Lim Chee Aun bc2886f7e2 Ancestor indicator animates smoother with spring 2024-01-05 19:13:51 +08:00
Lim Chee Aun 3989b218d0 Need to encode the query 2024-01-04 22:00:27 +08:00
Lim Chee Aun a8331375ba Double make sure header change doesn't block scrolling 2024-01-04 19:09:30 +08:00
Lim Chee Aun 6919975c6d Remove unneeded .inview 2024-01-04 19:08:51 +08:00
Lim Chee Aun c0987209a8 Only threadify & unfurl non-reblog post object 2024-01-04 18:56:11 +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 72dc4cc81b Test disable menu animation 2024-01-03 09:53:08 +08:00
Lim Chee Aun 92c0a8b4f0 Test memoize svg icon 2024-01-03 09:49:48 +08:00
Lim Chee Aun 1adcca5666 Fix destructure error 2024-01-03 07:27:39 +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