Commit graph

883 commits

Author SHA1 Message Date
Lim Chee Aun 679fba4f66 Make relationship ui state update faster 2023-09-16 09:43:26 +08:00
Lim Chee Aun ad831fae35 Fix disabled follow button 2023-09-16 08:52:24 +08:00
Lim Chee Aun e102a9f925 Combine familiar followers into followers section 2023-09-15 23:59:27 +08:00
Lim Chee Aun 9571271d83 Experimental posting stats for non-following accounts
Also recode+redesign the multiple metadata boxes in account info
2023-09-15 22:15:41 +08:00
Lim Chee Aun b1030cb38a Make figcaption blur too if under content warning 2023-09-15 18:06:55 +08:00
Lim Chee Aun f3b81bc540 Fix focus gone wrong 2023-09-15 01:10:58 +08:00
Lim Chee Aun 020d8e3631 Allow settings for unauthenticated sessions 2023-09-15 00:28:20 +08:00
Lim Chee Aun dac07a35d8 Remove unneeded import 2023-09-14 23:28:01 +08:00
Lim Chee Aun 6db40d7d3e Fix ref not defined 2023-09-14 23:23:22 +08:00
Lim Chee Aun 7a30cc4b12 Clear badge when onmount too 2023-09-14 22:31:16 +08:00
Lim Chee Aun d18db56032 Experiment show inline desc for videos in timelines
Reason: a video takes more time & effort to watch, so a quick desc would be helpful
2023-09-14 20:41:03 +08:00
Lim Chee Aun 27274eeab1 Rework the modal close + focus logic
- 'Esc' a modal will focus on "behind" nested modal
- All modals will have 'esc'
2023-09-14 20:39:23 +08:00
Lim Chee Aun fce5e45bc9 Respect 'reading:expand:spoilers' pref
Note this doesn't follow 'reading:expand:media' pref separately, so media will be spoiled too
2023-09-14 11:23:41 +08:00
Lim Chee Aun fa145d3ed0 Subtle blockquote styling 2023-09-14 00:25:04 +08:00
Lim Chee Aun 5ac255f808 If self, don't need to get familiar followers 2023-09-13 18:43:46 +08:00
Lim Chee Aun 62201b0250 Use _types as key too 2023-09-13 18:43:25 +08:00
Lim Chee Aun f02cd50d7b Fix unknown media not working 2023-09-13 18:10:20 +08:00
Lim Chee Aun 61e1a5042f Fix location invocation bug 2023-09-13 16:38:55 +08:00
Lim Chee Aun 2145f761b5 Fix wrong API call when switch to account's instance 2023-09-12 23:56:01 +08:00
Lim Chee Aun aa3033b4ff Fix bugs with fetching followers/followings 2023-09-12 19:20:22 +08:00
Lim Chee Aun 641d274d7b Handle very-popular cases
- Shorten number
- Limit avatars to 50 since we have the Accounts sheet now
2023-09-12 18:50:46 +08:00
Lim Chee Aun 3fc3641437 Prevent infinite overlapping of Account & Accounts sheets 2023-09-12 18:00:19 +08:00
Lim Chee Aun b57d8adf18 Add Generic Accounts modal
Also refactored whole bunch of stuff
2023-09-12 11:27:54 +08:00
Lim Chee Aun f5184bd608 Prevent propagation from nested links 2023-09-12 11:21:31 +08:00
Lim Chee Aun 671c68b8f8 Experiment use markers for notifications 2023-09-10 19:22:14 +08:00
Lim Chee Aun 2d94f229c3 Fix weird textarea height on first render 2023-09-10 15:29:25 +08:00
Lim Chee Aun 33698c91cc Add one more account resolver fallback 2023-09-10 09:13:00 +08:00
Lim Chee Aun 886d78bde8 Additional ? check 2023-09-09 17:20:31 +08:00
Lim Chee Aun 6b5a98ebb3 Prevent all the re-renders
Srsly this took me hours to debug
2023-09-09 17:00:51 +08:00
Lim Chee Aun 696a46311d Try willReadFrequently 2023-09-09 14:26:08 +08:00
Lim Chee Aun fea1d77342 Possible small optimization for name-text 2023-09-09 14:25:53 +08:00
Lim Chee Aun 5147efd123 memo all the things
Somehow things got slower on local dev
2023-09-09 14:09:50 +08:00
Lim Chee Aun d4fc54eaf4 Make the floating account block cooler in composer 2023-09-08 21:14:23 +08:00
Lim Chee Aun c82edd2778 Add r, f, shift+b, d 2023-09-08 15:32:55 +08:00
Lim Chee Aun 301b2576c0 Have more fun styling the keys 2023-09-08 15:32:31 +08:00
Lim Chee Aun 3ce8b75e3f Add shortcut help for focusing columns in multi-column mode 2023-09-07 16:17:52 +08:00
Lim Chee Aun 1c295c585b Try this tap UI feedback, idea from Threads 2023-09-07 12:01:26 +08:00
Lim Chee Aun aa12010b80 Try this out, box sizing will be slightly off to the naked eye 2023-09-07 12:00:50 +08:00
Lim Chee Aun 10471090f5 More accurate isActive 2023-09-07 12:00:13 +08:00
Lim Chee Aun 6e4110714c 44px is too small, especially when there's labels inside like GIF or video timestamp 2023-09-07 11:59:40 +08:00
Lim Chee Aun 67fb1a9b19 It's time to double down on scale-down 2023-09-07 11:58:17 +08:00
Lim Chee Aun 0d090eb555 Keyboard shortcuts help sheet 2023-09-06 22:54:05 +08:00
Lim Chee Aun 167fa70fd5 Fix search command not disappearing 2023-09-05 23:30:11 +08:00
Lim Chee Aun e4174b49d5 c for opening composer, shift+c for opening it in new window 2023-09-05 21:44:38 +08:00
Lim Chee Aun 2540135962 Extract compose button to file 2023-09-05 18:49:16 +08:00
Lim Chee Aun 4fede554e4 Handle admin notifications & unhandled ones 2023-09-05 09:19:11 +08:00
Lim Chee Aun 20dd843409 Why some posts have inReplyToAccountId but doesn't have inReplyToId?
Not sure if this will cause other bugs
2023-09-05 02:50:58 +08:00
Lim Chee Aun 17a289ac22 Close notification sheet when click "View all notifications" 2023-09-04 19:40:56 +08:00
Lim Chee Aun eed9b70a7d Fix search bugs 2023-09-04 17:01:06 +08:00
Lim Chee Aun 0fd719d3e7 Global search command trigger 2023-09-04 14:49:39 +08:00