Commit graph

383 commits

Author SHA1 Message Date
Lim Chee Aun 8519f68e9f Quick-translate from timeline to Post page 2023-05-03 10:22:15 +08:00
Lim Chee Aun 0e1579ebf1 Small style fixes for notifications popover 2023-05-02 23:41:08 +08:00
Lim Chee Aun 9a58804142 Min-height to make sure it's not too small 2023-05-01 00:53:49 +08:00
Lim Chee Aun ee2e78228e Fix notifications not refreshing and not clearing "new"
Still quite clunky, but let's see
2023-04-30 21:59:14 +08:00
Lim Chee Aun 18c08076dd Fix mount/unmount states of notifications popover 2023-04-30 21:33:03 +08:00
Lim Chee Aun ef06faf259 Notifications popover, for larger screens 2023-04-30 21:03:09 +08:00
Lim Chee Aun 6532b97a44 Update copy: s/status/post 2023-04-29 22:22:07 +08:00
Lim Chee Aun eeb5730932 Filter bar + helper popup for search form 2023-04-29 20:59:51 +08:00
Lim Chee Aun ce97b9a242 Fix media not opening when switching hero status on Status page 2023-04-28 11:00:28 +08:00
Lim Chee Aun 211e4ff74d Rename to NavMenu to avoid confusion 2023-04-26 13:09:44 +08:00
Lim Chee Aun 1dc14105eb Add "Why Phanpy?" section 2023-04-24 22:58:14 +08:00
Lim Chee Aun c11d30a2a0 Add explanation for Cloak mode 2023-04-23 19:47:49 +08:00
Lim Chee Aun 4281a91e48 New feature: cloak mode 2023-04-23 12:08:41 +08:00
Lim Chee Aun 7e302770d1 Fix List not respecting boosts carousel settings 2023-04-22 20:17:15 +08:00
Lim Chee Aun 1d897ad4c5 Add menu to switch to account's instance 2023-04-21 11:09:19 +08:00
Lim Chee Aun 5dc3603795 Close button for modal sheets 2023-04-20 16:10:57 +08:00
Lim Chee Aun b1b7fa1a2e Fix post status banner overlapped by poll items lol 2023-04-19 15:23:47 +08:00
Lim Chee Aun 61699b322d Clear media when switching view modes 2023-04-19 00:27:10 +08:00
Lim Chee Aun fdf30c37cb Replace datalist with my own list 2023-04-18 23:33:59 +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 4fce94e8e7 Fix some threads suddenly lost inReplyToAccountId half-way 2023-04-17 21:43:26 +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 9a04cb6ba3 Add 'Full' view for status pages 2023-04-17 00:14:09 +08:00
Lim Chee Aun a505f7c5e4 Fix media not loading if status is not cached 2023-04-15 12:26:11 +08:00
Lim Chee Aun 19858dc889 It's time for a new loading indicator 2023-04-14 15:46:11 +08:00
Lim Chee Aun f303c6d36c Rewrite status page + media modal
Media modals now have their own URLs
2023-04-14 15:30:04 +08:00
Lim Chee Aun 13b2273022 Bot avatars will be squircles 2023-04-11 00:26:43 +08:00
Lim Chee Aun f957d9a8a8 Show toasts. Lots of toasts. 2023-04-09 01:01:36 +08:00
Lim Chee Aun 5b2cbc5bf1 Fix hashtag shortcut added check 2023-04-09 00:46:30 +08:00
Lim Chee Aun 959ac468d8 Allow instance-based hashtags
Also change design a little
2023-04-08 20:42:38 +08:00
Lim Chee Aun eebb55ba38 Only show replies count if ancestors is a thread 2023-04-08 19:47:54 +08:00
Lim Chee Aun b227d816bc Show replies count for ancestors 2023-04-08 16:52:34 +08:00
Lim Chee Aun 224a289a20 New Mentions page 2023-04-06 19:32:26 +08:00
Lim Chee Aun 6773207610 Fix missing only mentions bug 2023-04-06 17:48:40 +08:00
Lim Chee Aun efb38bc5d1 Forgot to switch back the limit 2023-04-06 11:33:13 +08:00
Lim Chee Aun 17ae03f766 since_id is not supported in trends/statuses
And change update interval to 5 mins
2023-04-06 10:24:52 +08:00
Lim Chee Aun 913a352dee Add Trending page 2023-04-06 01:14:38 +08:00
Lim Chee Aun f1bb1454c3 Sort followed hashtags 2023-04-06 00:49:32 +08:00
Lim Chee Aun ff1a9fa444 Full CRUD for Lists 2023-04-05 23:30:26 +08:00
Lim Chee Aun 8ce8e06913 Add '- Boosts' filter 2023-04-04 11:01:53 +08:00
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