Commit graph

399 commits

Author SHA1 Message Date
Lim Chee Aun 2b25fc67cf Prevent action buttons from wrapping in Safari 2023-02-25 14:34:08 +08:00
Lim Chee Aun 7b66b832d5 Add more "instance" + saveStatus for new notifications 2023-02-25 14:20:26 +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 1f2dbb8e06 Experimental multi-hashtag timeline 2023-02-25 10:04:30 +08:00
Lim Chee Aun 49ef7e9ee4 Fix more icon (3 dots) too subtle 2023-02-25 10:03:52 +08:00
Lim Chee Aun 45950da714 Don't POST if no choices set in poll 2023-02-24 23:38:59 +08:00
Lim Chee Aun b7f80fb621 Fix masto undefined 2023-02-24 12:25:05 +08:00
Lim Chee Aun 01b5f35f1d Fix instance is actually object 2023-02-24 12:20:31 +08:00
Lim Chee Aun e5ade9404b Test canceling debounce here if the fetch is faster than 1.5s 2023-02-24 01:28:15 +08:00
Lim Chee Aun cbb09e1b5d Bring back intersection observer for 'show more'
Sometimes the scroll thing doesn't really work
2023-02-24 01:27:46 +08:00
Lim Chee Aun 2ced21c9dd Remove this noise 2023-02-24 01:26:37 +08:00
Lim Chee Aun 7ebd0e7601 Don't refetch failed unfurls 2023-02-23 22:53:28 +08:00
Lim Chee Aun b1df96689f Prevent keep calling Lists :id API for the title
Memoize all the things!!1!
2023-02-23 21:42:38 +08:00
Lim Chee Aun eb896dc5a5 original might be undefined?? 2023-02-23 17:01:33 +08:00
Lim Chee Aun e6d6adb480 First small step to resolving mastodon links
And open them inside Phanpy instead of like an external link
2023-02-23 16:45:53 +08:00
Lim Chee Aun 4b88c6ca65 Make sure status link has instance too for toast 2023-02-23 16:44:01 +08:00
Lim Chee Aun 732244b4b3 Shiny pill style 2023-02-23 16:43:17 +08:00
Lim Chee Aun bd728df79b Fix undefined customEmojis 2023-02-23 11:36:07 +08:00
Lim Chee Aun 8a41599466 Allow esc to close Account sheet 2023-02-22 13:28:01 +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 c13cab51a9 Show large card for content with text-weight=1
Also finally replace the hacky CSS with something more legit
2023-02-21 23:59:34 +08:00
Lim Chee Aun c2e9dc0efe Use url, not uri 2023-02-21 14:29:25 +08:00
Lim Chee Aun 8891e0f01c Fix follow/unfollow not working for remote accounts 2023-02-21 14:19:50 +08:00
Lim Chee Aun 6e9661a70c Use the right way 2023-02-20 20:58:53 +08:00
Lim Chee Aun cd70bf87db Animate position-object when link is focused 2023-02-20 17:51:41 +08:00
Lim Chee Aun 79df9546bd Fix the compose status states not inheriting properly 2023-02-20 00:46:21 +08:00
Lim Chee Aun 6c63fb14b4 Hide keyboard shortcut hint until keyboard is triggered 2023-02-19 22:07:46 +08:00
Lim Chee Aun 91ee0da8ef Close menu when trigger shortcut 2023-02-19 22:07:15 +08:00
Lim Chee Aun 8428ca232c Fix shortcuts button missing shadow
And move the menu offset a little
2023-02-19 21:18:12 +08:00
Lim Chee Aun 5c6c9a43f2 Fix regression: threadify stopped working
This is due to status key changed with extra instance string
2023-02-19 21:16:23 +08:00
Lim Chee Aun d5bceb1d81 Handle logged-out cases 2023-02-19 14:49:53 +08:00
Lim Chee Aun 72068d9d46 Another guard 2023-02-19 10:56:28 +08:00
Lim Chee Aun a27bdbc69b Another guard for corrupted shortcuts 2023-02-19 10:42:56 +08:00
Lim Chee Aun 2df67f37a3 Handle cases if the shortcuts are corrupted 2023-02-19 10:27:37 +08:00
Lim Chee Aun 34a015c36a Show pointer cursor 2023-02-19 10:27:10 +08:00
Lim Chee Aun 7e65d8be5d Make smaller statuses stand out in the carousel 2023-02-19 01:10:06 +08:00
Lim Chee Aun 65c1af2eac Make shortcuts button look even cooler 2023-02-19 00:08:37 +08:00
Lim Chee Aun ccdb8d144c Need useTitle 2023-02-18 22:13:32 +08:00
Lim Chee Aun ce8e411cab Prevent hashtags from being clickable inside Composer 2023-02-18 21:44:19 +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 45a1fc057e Limit number of shortcuts
9 because there's only 9 keyboard shortcuts. There's '0' but… nah.
2023-02-18 19:39:17 +08:00
Lim Chee Aun 3f73f7d174 Fix weird bug when closing media modal + status page
Somehow useMatch re-renders the media modal and mess up some event handlers on it
Possibly due to react-router-match vs preact issues.

So, remove it totally, replace with CSS :has() solution
2023-02-18 17:38:42 +08:00
Lim Chee Aun 5707da703f Revert "Skeleton avatar should follow size"
This reverts commit f579a8bfb9.
2023-02-18 01:45:44 +08:00
Lim Chee Aun e35f4e2644 Vite complain this is too complex 2023-02-17 20:48:52 +08:00
Lim Chee Aun 3915b3818c One more 40em 2023-02-17 20:48:38 +08:00
Lim Chee Aun 5ef67fab91 Variable-ise the 40em 2023-02-17 20:47:09 +08:00
Lim Chee Aun 5af2a060a6 Update styles 2023-02-17 19:31:28 +08:00
Lim Chee Aun f579a8bfb9 Skeleton avatar should follow size 2023-02-17 19:08:19 +08:00