Commit graph

922 commits

Author SHA1 Message Date
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 6af689835d No glow when hover 2023-02-23 15:56:35 +08:00
Lim Chee Aun bd728df79b Fix undefined customEmojis 2023-02-23 11:36:07 +08:00
Lim Chee Aun 63c6637c24 Need a little glow on glass menu 2023-02-23 10:45:28 +08:00
Lim Chee Aun aaa8f7d94e Let's yolo try this ui-* fonts 2023-02-22 23:40:16 +08:00
Lim Chee Aun 3232f14247 Fix border radius clipping bug on Safari 2023-02-22 23:39:52 +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 c95aeaee01 Upgrade dependencies 2023-02-22 09:26:13 +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 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 cda169a131 Upgrade dependencies 2023-02-21 09:34:42 +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 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 58208a417c Check if there are shortcuts too before displaying Columns 2023-02-20 00:22:10 +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 be35f3a415 Remove console.log 2023-02-19 21:15:40 +08:00
Lim Chee Aun 255de291b7 Upgrade dependencies 2023-02-19 16:04:02 +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 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 33afb081dd Need a min height in case height is too small 2023-02-19 01:39:27 +08:00
Lim Chee Aun a77b96b171 Pushing the limits of CSS coding 2023-02-19 01:23:31 +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 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 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 161aff64ac This footer is kinda abrupt, so try "delay" it a little 2023-02-18 10:51:39 +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 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