Commit graph

1899 commits

Author SHA1 Message Date
Lim Chee Aun a2189bf44b Make card aware of self-reference
Prevent unfurl if self-referential
2023-12-21 00:37:40 +08:00
Lim Chee Aun ccecc16a2c Fix undefined statusObject 2023-12-21 00:36:55 +08:00
Lim Chee Aun 7b246fc660 It's time to use CloseWatcher
It shipped since Chrome 120 https://chromestatus.com/feature/4722261258928128
2023-12-20 21:02:22 +08:00
Lim Chee Aun dfe727b702 Replace onClick with onClose 2023-12-20 20:59:59 +08:00
Lim Chee Aun bee32cc781 Add 'x' for expanding content warning 2023-12-20 16:42:36 +08:00
Lim Chee Aun 9983c8086c Only show followed hashtags for non-followings 2023-12-20 16:04:37 +08:00
Lim Chee Aun 8ce720f305 Add all the relationships 2023-12-20 13:55:56 +08:00
Lim Chee Aun c16532d4c2 Fix wrong mute durations
This bug exists for 9 months. It's seconds, not ms.
2023-12-19 11:50:01 +08:00
Lim Chee Aun ac60890c9a Revert "Don't highlight mention when it's prepended by a dot"
This reverts commit 5fef0b3fb5.
2023-12-17 18:25:58 +08:00
Lim Chee Aun ec4320d53e Slightly more accurate content length 2023-12-17 18:25:58 +08:00
Lim Chee Aun 4c7c518d4d Disable context menu inside notifications popover
Popovers over popovers ain't easy
2023-12-17 18:25:58 +08:00
Lim Chee Aun df16cabec5 Need tooltip of the timestamp 2023-12-15 23:30:09 +08:00
Lim Chee Aun 60e86c1eaf Use clip more 2023-12-15 23:29:48 +08:00
Lim Chee Aun aa8cbe046c New experiment: followed tag indicator 2023-12-15 01:58:44 +08:00
Matthieu Rakotojaona 5fef0b3fb5 Don't highlight mention when it's prepended by a dot 2023-12-12 19:18:56 +01:00
Lim Chee Aun f213a8e094 Fix subfolder hosting not working
Fix wrong `location` used
2023-12-12 08:34:43 +08:00
Lim Chee Aun 82195a8db0 Debug loop break 2023-12-12 08:34:06 +08:00
Matthieu Rakotojaona 71454d40a9 Remote media: avoid never-ending loops if it won't work 2023-12-11 11:51:22 +01:00
Lim Chee Aun 433d8b3bcc Adjustments to welcome and login pages 2023-12-10 19:16:34 +08:00
Lim Chee Aun 7dd0b0a4fb Fix for smaller images 2023-12-10 19:13:11 +08:00
Lim Chee Aun a039f84c9d Don't 100% the select
Suppose to be max-width but not working for select(s)
2023-12-09 15:04:21 +08:00
Lim Chee Aun ceb92a4bfc Fix media widening applied to status cards 2023-12-09 09:35:39 +08:00
Lim Chee Aun 8009a8d743 What's with all this math 2023-12-05 19:28:42 +08:00
Lim Chee Aun 5be3e22467 Reduce the widening
It gets kinda distracting when it's widen too far to left
2023-12-05 19:15:08 +08:00
Lim Chee Aun 94c2f43c38 Add basic unicode awareness to mention highlighting 2023-12-05 18:30:15 +08:00
Lim Chee Aun 66746eb579 Potential fix for weird carousel bug on Firefox 2023-12-05 13:02:52 +08:00
Lim Chee Aun 222786f202 Exclude wide media for status cards 2023-12-05 13:01:35 +08:00
Lim Chee Aun 99b4842586 Apply grid to specific classes instead
Due to some extensions inject their own components here and conflicting
2023-12-05 11:06:36 +08:00
Lim Chee Aun 2563b23a31 Prevent scrolling inside status carousel link 2023-12-04 15:25:19 +08:00
Lim Chee Aun ac05fabf05 Experiment widen multiple-media figure 2023-12-04 15:11:14 +08:00
Lim Chee Aun cbb7378601 Guard against invalid URLs 2023-12-03 20:40:00 +08:00
Lim Chee Aun 012e944a53 Slight style realignment to post carousels 2023-12-03 20:27:49 +08:00
Lim Chee Aun f98306ed18 No need render div if no content 2023-12-03 20:26:42 +08:00
Lim Chee Aun 810596b7cf Fix history key might be undefined in hashtag object
And some other fixes
2023-12-03 14:21:39 +08:00
Lim Chee Aun 2ad72a667d In case they're undefined 2023-12-03 14:21:39 +08:00
Lim Chee Aun 34e2fe320d Attempt to fix theme-color bug 2023-12-02 00:07:13 +08:00
Lim Chee Aun 89fb1bbc07 Experiment show replies count for questions 2023-11-30 23:47:58 +08:00
Lim Chee Aun d27de2337a Disable highlighting if slow perf 2023-11-30 23:46:55 +08:00
Lim Chee Aun 910b72ba8c Make settings page work for very small viewports or super large text sizes 2023-11-27 19:01:39 +08:00
Lim Chee Aun cbf4ea5060 Add 1 option for smaller text size 2023-11-27 19:01:09 +08:00
Lim Chee Aun 4f41646000 Multiple fixes on composer highlighting
- Hide scrollbar for the faux highlight div
- Use unicode-aware split for highlighting exceeded characters
- Disable highlight of mentions, hashtags, etc if exceeded max characters
- Sync scroll as often as possible
2023-11-26 18:25:29 +08:00
Lim Chee Aun 7019c09e5b Better resolving of links 2023-11-25 21:26:27 +08:00
Lim Chee Aun 1422c5da33 Disable Switch post menu if no post instance yet 2023-11-25 21:25:01 +08:00
Lim Chee Aun 25e13144a3 s/Calckey/Firefish 2023-11-25 21:22:51 +08:00
Lim Chee Aun b7a0d4fe28 Still need tilde
Because there can be spaces around it
2023-11-24 18:49:23 +08:00
Lim Chee Aun 7967194b89 Experiment show play progress for longer GIFs 2023-11-23 22:59:27 +08:00
Lim Chee Aun 6553ae0b6e Use different icon for comment hint 2023-11-23 16:50:14 +08:00
Lim Chee Aun b22e7c06a7 Test new instance of Lingva Translate 2023-11-23 14:21:18 +08:00
Lim Chee Aun fecebc24a8 Fix missing posts due to GC
Hidden/collapsed comments are not mounted so they got accidentally GC-ed
2023-11-23 09:25:29 +08:00
Lim Chee Aun b269d9d660 Fix menu blocking everything for Boost button 2023-11-22 08:47:49 +08:00