Commit graph

129 commits

Author SHA1 Message Date
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
Lim Chee Aun 6f8ddf4dfe Fancy hidden cloak mode 2023-04-10 21:41:42 +08:00
Lim Chee Aun 1f4d4dfea7 Embrace the live preview 2023-04-08 22:16:58 +08:00
Lim Chee Aun 1e34ce92f8 Cloak mode 2023-04-08 13:18:15 +08:00
Lim Chee Aun f357881e5a Temporarily disable hard code focus on first column 2023-04-07 20:22:32 +08:00
Lim Chee Aun 224a289a20 New Mentions page 2023-04-06 19:32:26 +08:00
Lim Chee Aun 913a352dee Add Trending page 2023-04-06 01:14:38 +08:00
Lim Chee Aun 1365cbff3a Fix menu bar not placed properly on Firefox
Because Firefox *still* doesn't support :has
2023-04-02 15:18:08 +08:00
Lim Chee Aun 325bccf010 Prevent re-render when page visibility changes
Also time to remove legacy homeV1 🙏
2023-03-27 15:05:50 +08:00
Lim Chee Aun 6f6d4fc0cf Remove unused code 2023-03-14 18:47:16 +08:00
Lim Chee Aun 4ddd1d3219 Fix update check
Change from 1-hour when visible (which is like impossible) to…
every page visible debounced up to 1 hour + 30 min interval when visible
2023-03-11 21:32:46 +08:00
Lim Chee Aun e6065403e5 Fix opening account page doesn't close the Accounts sheet 2023-03-11 18:13:53 +08:00
Lim Chee Aun 6fd9c106c6 Add account info into Account statuses page 2023-03-11 14:05:56 +08:00
Lim Chee Aun b12b96b8e1 Fix focus not focusing into the status page 2023-03-10 16:49:16 +08:00
Lim Chee Aun 87a5eb5492 Add configurable text size 2023-03-08 17:17:23 +08:00
Lim Chee Aun 73b8294811 Split Accounts away from Settings
Very MVP, even #settings-container is the same for now
2023-03-08 00:32:33 +08:00
Lim Chee Aun 563a1ffd9b Very weird fix, prevent Shortcuts from being unmounted
Somehow it got unmounted and "rearrange" whenever routes change. Weird…..
2023-03-01 22:54:55 +08:00