Commit graph

145 commits

Author SHA1 Message Date
Lim Chee Aun
6703b27bfb No idea why this requires so much code 2023-12-23 23:06:03 +08:00
Lim Chee Aun
3e4e4d179b Test better temp color for refreshing theme-color 2023-12-21 22:07:31 +08: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
34e2fe320d Attempt to fix theme-color bug 2023-12-02 00:07:13 +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
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
90df455d6e Prevent GC posts from notifications 2023-11-06 16:47:35 +08:00
Lim Chee Aun
7c8d310ed9 Some debugging if this actually runs 2023-11-05 14:31:20 +08:00
Lim Chee Aun
b461823d60 Garbage collect status quotes & unfurled links too
Make this less destructive by setting to 15min interval
Ignore whatever errors inside
2023-11-05 10:12:52 +08:00
Lim Chee Aun
87d0b86ecb Only run when idle 2023-11-05 08:26:51 +08:00
Lim Chee Aun
e5d5025299 Quick fix disappearing posts bug 2023-11-05 08:21:43 +08:00
Lim Chee Aun
9f31cc8e07 Some sort of "garbage collection" 2023-11-04 19:18:12 +08:00
Lim Chee Aun
5cb0621f34 Remove unused useSnapshot 2023-10-31 20:21:49 +08:00
Lim Chee Aun
39d97a51c5 Make idle state switch faster 2023-10-31 00:38:59 +08:00
Lim Chee Aun
a1021e1aee Add __STATES_STATS__ for debugging 2023-10-28 11:07:35 +08:00
Lim Chee Aun
8bf3f31056 Slight rewrite, possibly breaking 2023-10-23 16:23:33 +08:00
Lim Chee Aun
18b00f7b28 Fix link useTitle showing errors 2023-10-22 19:25:22 +08:00
Lim Chee Aun
5850485207 Refactor some code 2023-10-21 17:40:03 +08:00
Lim Chee Aun
749d6880b8 Experiment making idle detection global
Hooks are nice but it makes component re-render unnecessarily

Also, idle detection doesn't need to be per-component.
2023-10-21 12:26:28 +08:00
Lim Chee Aun
a095a30500 Breaking news: upgrade to masto v6
Expecting bugs!

Also include some fixes for states init.
2023-10-12 12:48:09 +08:00
Lim Chee Aun
b8767f3618 Fix load wrong account's stuff when adding new account
Some account-based calls were called before states are initialized
2023-10-11 19:07:36 +08:00
Lim Chee Aun
b116cbfe8c Only set data attr if there are shortcuts 2023-09-15 21:12:04 +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
71f177bebe Memoize isModalPage 2023-09-10 15:30:04 +08:00
Lim Chee Aun
7c09485e26 Fix focusDeck not working on initial page load 2023-09-07 18:44:12 +08:00
Lim Chee Aun
0d090eb555 Keyboard shortcuts help sheet 2023-09-06 22:54:05 +08:00
Lim Chee Aun
2540135962 Extract compose button to file 2023-09-05 18:49:16 +08:00
Lim Chee Aun
0fd719d3e7 Global search command trigger 2023-09-04 14:49:39 +08:00
Lim Chee Aun
3ac05d8cdd Refactor code to files 2023-09-02 18:19:09 +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
5461b06130 Safeguard deconstruct 2023-08-30 17:47:17 +08:00
Lim Chee Aun
91419b3243 Enable relative path hosting 2023-08-30 17:46:22 +08:00
Lim Chee Aun
a5865825da Init states again after login to new account 2023-08-30 17:42:33 +08:00
Lim Chee Aun
1559052361 Fix Flash of Loader (FOL) 2023-08-19 19:21:51 +08:00
Lim Chee Aun
d237fb8320 Experimental preload icons 2023-08-13 17:15:49 +08:00
Lim Chee Aun
bcd91851d2 Must decode the code! 2023-05-20 10:08:41 +08:00
Lim Chee Aun
d264af14f1 Try handle case when configured instance domain is different than the actual instance domain
Honestly how do I even test if this will work
2023-05-09 18:48:19 +08:00
Lim Chee Aun
c95a451111 Fix compose button not auto-hiding 2023-05-08 12:53:27 +08:00
Lim Chee Aun
4aeaeb229c Only show compose button when logged in 2023-05-07 22:19:19 +08:00
Lim Chee Aun
d37537c61e Time to move Compose button to other pages
One missing feature: Mention @username if button is on profile page
2023-05-06 17:12:13 +08:00
Lim Chee Aun
123da4af79 How did I even code this 2023-05-05 17:53:34 +08:00
Lim Chee Aun
6532b97a44 Update copy: s/status/post 2023-04-29 22:22:07 +08:00
Lim Chee Aun
963312aacb Swipe to toggle poll results 2023-04-25 20:41:08 +08:00
Lim Chee Aun
4281a91e48 New feature: cloak mode 2023-04-23 12:08:41 +08:00
Lim Chee Aun
5dc3603795 Close button for modal sheets 2023-04-20 16:10:57 +08:00
Lim Chee Aun
60c635b610 Fix status not shown if ancestors count > 40
Plus a few perf fixes
2023-04-18 19:47:21 +08:00
Lim Chee Aun
97964cff73 Fix misleading comment 2023-04-18 17:46:40 +08:00
Lim Chee Aun
5200e46639 Split into its own file 2023-04-17 19:00:41 +08:00
Lim Chee Aun
b63269e42a Handle urls from root 2023-04-17 18:56:09 +08:00
Lim Chee Aun
39ec0d29e2 Fix wrong API call when adding new account 2023-04-16 13:52:16 +08:00