Commit graph

342 commits

Author SHA1 Message Date
Lim Chee Aun 0ee17395ae Auto-scroll to filter & add clear filter "button" 2023-04-03 13:17:22 +08:00
Lim Chee Aun c7f4087ed2 Preliminary steps in adding filter bar 2023-04-03 10:36:31 +08:00
Lim Chee Aun 04b4101e55 Handle /notes/ url too 2023-04-03 10:05:57 +08:00
Lim Chee Aun c8d582184f Revert "Sometimes, a bracket makes a huge difference"
This reverts commit 45c872df28.
2023-03-31 19:46:54 +08:00
Lim Chee Aun 45c872df28 Sometimes, a bracket makes a huge difference 2023-03-31 19:21:27 +08:00
Lim Chee Aun 347d288c83 It's time to level up ALL replies
When reach level 4, horizontal scrolling will kick in!
2023-03-30 20:07:07 +08:00
Lim Chee Aun 64b59e42a5 Remember replies toggle state during the "session" 2023-03-28 20:33:00 +08:00
Lim Chee Aun f160a576d6 Add settings to hide translate button for certain languages 2023-03-28 19:04:52 +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 4f8b5cf5fb Fix deduping happened before saving the status 2023-03-27 00:47:29 +08:00
Lim Chee Aun caee38c98f New experiment: dedupe boosts and group context 2023-03-26 23:18:36 +08:00
Lim Chee Aun f5646fe8a8 Attempt to fix weird "latest" item bug 2023-03-25 20:18:53 +08:00
Lim Chee Aun 2c8112baa5 Add ability to switch post to its own instance 2023-03-24 15:05:57 +08:00
Lim Chee Aun e6da22a1e0 Nav Menu show avatar if multiple accounts
Accounts sheet default to 'switch' when click on account
2023-03-23 09:51:52 +08:00
Lim Chee Aun 422813be9c New experimental Filtered Posts UI 2023-03-22 00:09:36 +08:00
Lim Chee Aun ed1d475a12 Fix .status conflicting with .notification.status
Naming is hard
2023-03-20 23:07:21 +08:00
Lim Chee Aun 47b51bdef8 Add Refresh menu item to Status page 2023-03-19 20:12:45 +08:00
Lim Chee Aun d9b9c04ec0 Fix pinned statuses gone missing 2023-03-18 22:25:02 +08:00
Lim Chee Aun a0d4d9e08c Time to save all to states
Memory usage might go up but need this for reactivity
2023-03-18 20:20:48 +08:00
Lim Chee Aun ba2e9c29e4 Adjust adjust 2023-03-15 14:01:32 +08:00
Lim Chee Aun f4310ad8e4 Add ability to reload hero status 2023-03-14 00:36:40 +08:00
Lim Chee Aun 0d29043358 Better profile document.title 2023-03-13 10:07:22 +08:00
Lim Chee Aun e0e1196c9e Make account info load wayyyy faster on Profile page 2023-03-11 21:33:55 +08:00
Lim Chee Aun 6fd9c106c6 Add account info into Account statuses page 2023-03-11 14:05:56 +08:00
Lim Chee Aun cf437a83da Make statuses in notifications reactive 2023-03-10 23:01:26 +08:00
Lim Chee Aun 731f91122b Fix toggle values for settings for translation 2023-03-09 13:20:01 +08:00
Lim Chee Aun bbdfb5dd7d Prettify About section 2023-03-09 11:23:07 +08:00
Lim Chee Aun 66e068ee7b Fix bug with reblogs/favourites counting 2023-03-08 23:32:54 +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 355b3be6e9 Alrighty, let's test this post translation out! 2023-03-07 22:38:06 +08:00
Lim Chee Aun 7b8c7f3fb6 Grouped favourite+boost notifications! 2023-03-03 11:38:10 +08:00
Lim Chee Aun a9412609cf Enable boosts carousel for public timelines too 2023-03-02 22:10:32 +08:00
Lim Chee Aun 37f7c2a581 Make the hashtag typing experience slightly better 2023-03-01 23:39:31 +08:00
Lim Chee Aun 9f84297b8f Ooops typo 2023-03-01 22:18:45 +08:00
Lim Chee Aun 50fd06057f Refactor niceDateTime out 2023-03-01 20:07:22 +08:00
Lim Chee Aun b1d6f2001e Fix focus when switching to new pages 2023-03-01 15:47:19 +08:00
Lim Chee Aun 3c7fc30444 Add simple loading state for switching instances 2023-02-28 22:44:10 +08:00
Lim Chee Aun a86daaac0b Fix useScroll bug 2023-02-28 21:56:41 +08:00
Lim Chee Aun ba2aa18843 Fix/Beautify the menus in Settings 2023-02-28 17:12:17 +08:00
Lim Chee Aun 0bc009140e It's time to bring back the tab bar 2023-02-27 23:59:41 +08:00
Lim Chee Aun 8aaba24d1f Add 'more' menu
- Refactor Toast
- Fix locale for datetime strings in status
- Nicer shadow for menus
2023-02-27 00:55:04 +08:00
Lim Chee Aun 7b66b832d5 Add more "instance" + saveStatus for new notifications 2023-02-25 14:20:26 +08:00
Lim Chee Aun b4a8e60144 Fix wrong authenticated 2023-02-25 12:40:59 +08:00
Lim Chee Aun 1c8bba456d Add menu for Public timeline
Add menu item to switch between Local and Federated
2023-02-25 11:25:50 +08:00
Lim Chee Aun aca3cb677b Sometimes need exact distance instead ratio 2023-02-25 10:50:02 +08:00
Lim Chee Aun 1f2dbb8e06 Experimental multi-hashtag timeline 2023-02-25 10:04:30 +08:00
Lim Chee Aun 9e867c7af5 Fix title not working when not logged in
Welcome page's useTitle overridden other page's useTitle
2023-02-25 10:03:34 +08:00
Lim Chee Aun 732244b4b3 Shiny pill style 2023-02-23 16:43:17 +08:00
Lim Chee Aun 2120a1e28e Still got to make sure instance is lowercase
Also, spellcheck={false} > spellcheck="false"
2023-02-22 09:46:50 +08:00
Lim Chee Aun cd9b01095c Fix post status banner showing wrong thing for non-logged-in users 2023-02-22 00:42:43 +08:00
Lim Chee Aun 8e4ecd242b Revert flush to cancel, speed up scroll position caching
Somehow the flush cache the scroll position for a different status ID
2023-02-20 20:59:46 +08:00
Lim Chee Aun 58208a417c Check if there are shortcuts too before displaying Columns 2023-02-20 00:22:10 +08:00
Lim Chee Aun be35f3a415 Remove console.log 2023-02-19 21:15:40 +08:00
Lim Chee Aun d5bceb1d81 Handle logged-out cases 2023-02-19 14:49:53 +08:00
Lim Chee Aun 7f22ec6a9b Go back to root after log out 2023-02-19 14:49:05 +08:00
Lim Chee Aun f0eb684412 Got to instance them all 2023-02-19 00:05:46 +08:00
Lim Chee Aun d4a6aa2d3b Only show alert if user typed something 2023-02-18 23:29:17 +08:00
Lim Chee Aun ab2328f364 Handle use-case when Following is not in Home, in multi-column mode 2023-02-18 21:37:34 +08:00
Lim Chee Aun 02eb2ff470 Extract columns out & don't use dynamic imports
Vite have difficulties importing them dynamically. Sad face.

Also this makes Home look cleaner.
2023-02-18 21:14:24 +08:00
Lim Chee Aun 522d55ebb8 New experiment: multi-column mode 2023-02-18 20:48:24 +08:00
Lim Chee Aun 161aff64ac This footer is kinda abrupt, so try "delay" it a little 2023-02-18 10:51:39 +08:00
Lim Chee Aun 29d4cddbf4 Add experimental instance switcher for public timelines 2023-02-18 01:40:37 +08:00
Lim Chee Aun 046fde0f70 Restyle the footer 2023-02-18 01:28:10 +08:00
Lim Chee Aun 07d1734720 Sometimes autofocus ain't working 2023-02-18 01:27:59 +08:00
Lim Chee Aun b06cd36b3f Initial work to allow cross-instance linking
- Load current-instance relationship on remote-instance account sheet
- Add button to switch to current-instance status page from remote-instance status page
2023-02-17 17:37:31 +08:00
Lim Chee Aun e57b362ee0 Fix undefined turned into a "undefined" string due to string concat 2023-02-17 11:28:25 +08:00
Lim Chee Aun 0430f4ae89 Reuse BoostCarousel for pinned posts
Now we can show *anything* into a carousel
2023-02-17 10:55:16 +08:00
Lim Chee Aun 62ce0250c6 Don't need this 2023-02-17 10:14:44 +08:00
Lim Chee Aun c37df11a25 Show pinned posts 2023-02-17 10:12:59 +08:00
Lim Chee Aun 4dae1d1576 Shorter copies 2023-02-16 19:10:26 +08:00
Lim Chee Aun 0bef245c83 New feature: Shortcuts 2023-02-16 17:52:16 +08:00
Lim Chee Aun 11d74b3258 Disable grouping for follow requests 2023-02-15 14:49:15 +08:00
Lim Chee Aun f9794c1cd5 Fix more bugs from learnings 2023-02-15 11:20:48 +08:00
Lim Chee Aun bc7ac30e74 Switch to logged-in instance URL 2023-02-15 10:51:09 +08:00
Lim Chee Aun 8da6532cd3 Propagate learnings to Notifications page 2023-02-15 10:50:20 +08:00
Lim Chee Aun d324d3a672 Move notifications link from Following to Home 2023-02-15 10:49:36 +08:00
Lim Chee Aun 6f242aad27 Followed hashtags are paginated
Gotta fetch 'em all!
I don't know the limit, but let's fetch ALL for now instead of lazy loaded.
2023-02-12 22:58:36 +08:00
Lim Chee Aun a37a1ca21b Instance-specific search?
I don't know if this is even useful??
2023-02-12 19:36:55 +08:00
Lim Chee Aun 08be313757 Additional styling for search page again
This is such a weird page
2023-02-12 19:29:27 +08:00
Lim Chee Aun ac30963ddf New AccountBlock component 2023-02-12 19:29:03 +08:00
Lim Chee Aun 0b6dd07eee Rewrote notifications, again 2023-02-12 17:38:50 +08:00
Lim Chee Aun 6c43ced27c Desperate attempt to make the text and buttons flows nicely in the header
This code will probably haunt me in the future
2023-02-11 23:35:03 +08:00
Lim Chee Aun 4a01d3d404 Try save some space here 2023-02-11 20:56:33 +08:00
Lim Chee Aun b29e7ad1cb Clear q URL when clear search field 2023-02-11 20:39:37 +08:00
Lim Chee Aun d9564bff72 Still need these fallbacks for now 2023-02-11 18:55:21 +08:00
Lim Chee Aun b8a938b6d8 Don't need Home button in public timeline 2023-02-11 18:21:39 +08:00
Lim Chee Aun 26f8b618a5 At this point, better write my own matchPath right? 2023-02-11 18:19:23 +08:00
Lim Chee Aun 9401fc38e1 Need location.search too because Search page is using it 2023-02-11 17:58:49 +08:00
Lim Chee Aun 27c7a2dee9 Shorter placeholder for Search field 2023-02-11 17:58:23 +08:00
Lim Chee Aun c1eade0fd8 Stupid mobile safari doesn't apply radius to outlines 2023-02-11 17:58:12 +08:00
Lim Chee Aun afa8a0c057 Maybe better copy for search page 2023-02-11 17:57:44 +08:00
Lim Chee Aun 863ac2663c Fix titles 2023-02-11 17:57:26 +08:00
Lim Chee Aun 62eb6d6b30 Reuse style for search page, time to surface it 2023-02-11 17:01:43 +08:00
Lim Chee Aun 068a49abce Add Followed Hashtags 2023-02-11 16:48:47 +08:00
Lim Chee Aun ffc8d88f82 Add update checking to these pages 2023-02-11 16:28:03 +08:00
Lim Chee Aun ee5ab3f22c Add loader to search page 2023-02-11 16:27:52 +08:00
Lim Chee Aun 0a7189d35a Fix wrong paths again 2023-02-11 16:27:40 +08:00
Lim Chee Aun 722852f5c2 Expose more pages now
Except one
2023-02-11 00:05:18 +08:00
Lim Chee Aun 3490b0e714 Revert "Sort first"
This reverts commit 96f61e6e3f.
2023-02-10 22:23:19 +08:00