Commit graph

63 commits

Author SHA1 Message Date
Lim Chee Aun
bb6e0ac383 Upgrade preact 2023-03-10 15:06:14 +08:00
Lim Chee Aun
6e487ad848 Use use-long-press instead 2023-03-08 00:01:51 +08:00
Lim Chee Aun
497f5334e4 Revert "Remove long-press-event, not really working"
This reverts commit 4d59e5a804.
2023-03-07 22:40:29 +08:00
Lim Chee Aun
c0f571bc18 Upgrade dependencies 2023-03-07 22:39:25 +08:00
Lim Chee Aun
4d59e5a804 Remove long-press-event, not really working 2023-03-02 17:58:57 +08:00
Lim Chee Aun
228c0e5028 Try contextmenu + long press events 2023-03-02 15:15:49 +08:00
Lim Chee Aun
89d7015d62 Try out Intl.LocaleMatcher to intelligently set default locale 2023-03-02 11:13:52 +08:00
Lim Chee Aun
b2b8b58863 Very basic update checker 2023-02-28 15:27:42 +08:00
Lim Chee Aun
327ba37fdf Bump dependencies 2023-02-28 08:12:24 +08:00
Lim Chee Aun
06548bbbfc Revert "Add experimental highlighting to composer textarea"
This reverts commit 017b138d4b.
2023-02-27 16:01:26 +08:00
Lim Chee Aun
017b138d4b Add experimental highlighting to composer textarea 2023-02-27 11:20:50 +08:00
Lim Chee Aun
c1531572e8 Upgrade prettier plugin sort imports 2023-02-24 01:22:16 +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
c95aeaee01 Upgrade dependencies 2023-02-22 09:26:13 +08:00
Lim Chee Aun
cda169a131 Upgrade dependencies 2023-02-21 09:34:42 +08:00
Lim Chee Aun
255de291b7 Upgrade dependencies 2023-02-19 16:04:02 +08:00
Lim Chee Aun
21f9b3c4c6 Upgrade vite-plugin-remove-console
Includes all other console.* methods too
2023-02-14 19:10:21 +08:00
Lim Chee Aun
a6f300d4af Upgrade masto 2023-02-12 22:40:54 +08:00
Lim Chee Aun
94bfce7f62 Upgrade dependencies 2023-02-12 08:15:27 +08:00
Lim Chee Aun
700ecc009a Upgrade dependencies 2023-02-10 00:48:35 +08:00
Lim Chee Aun
17e28156db Downgrade valtio because it has bugs with states.show*** keys 2023-02-09 16:03:43 +08:00
Lim Chee Aun
f5c9a79696 Upgrade dependencies 2023-02-08 21:18:52 +08:00
Lim Chee Aun
016aea711b Upgrade dependencies 2023-02-02 22:44:51 +08:00
Lim Chee Aun
b53cc925dc It's time to see what this postcss-preset-env can do
It includes autoprefixer.
2023-01-31 11:26:00 +08:00
Lim Chee Aun
969fddc581 Time for use-debounce
Try a leading debounce here
2023-01-30 20:51:06 +08:00
Lim Chee Aun
b3748b5a56 Upgrade dependencies 2023-01-29 10:03:14 +08:00
Lim Chee Aun
c24a3ef251 Add fetch retries in status page 2023-01-25 16:41:28 +08:00
Lim Chee Aun
28281bb752 New component: Menu
It's time to do this menu thing the right way instead of hacky CSS
2023-01-24 20:56:43 +08:00
Lim Chee Aun
7d409bde5b Downgrade react-router
Latest version changed something with hashrouter
2023-01-22 16:49:58 +08:00
Lim Chee Aun
4f91d9e4e9 Upgrade masto 2023-01-21 00:27:20 +08:00
Lim Chee Aun
9bff95bcec Replace preact-router with react-router
Need more routing powers, hopefully things don't break 🤞
2023-01-21 00:23:59 +08:00
Lim Chee Aun
b26cac5ed2 Upgrade dependencies 2023-01-17 11:25:27 +08:00
Lim Chee Aun
3cf918672e Upgrade masto 2023-01-13 15:36:01 +08:00
Lim Chee Aun
71b50382e9 New feature: Unsent Drafts
For now, this only works for unsent unsaved drafts e.g. the browser kill the page without giving the user the chance to discard
2023-01-13 15:30:09 +08:00
Lim Chee Aun
adcea89a25 Add UID as Idempotency key 2023-01-11 14:44:20 +08:00
Lim Chee Aun
d6c0f83c15 Remove iconify-icon web component, bundle all icons
The whole iconify thing is about 20KB (8KB min-gzip), it's too huge just for icons.

Instead of getting icons from the API/CDN, bundle them all in.
2023-01-11 09:47:46 +08:00
Lim Chee Aun
9d4b2a208b Upgrade dependencies 2023-01-11 00:23:08 +08:00
Lim Chee Aun
fd9d09b8b2 Bump valtio 2023-01-06 01:52:09 +08:00
Lim Chee Aun
228c74655a Bump masto 2023-01-05 18:46:05 +08:00
Lim Chee Aun
04ccf8aca9 Replace @github/relative-time-element with dayjs 2023-01-05 10:50:27 +08:00
Lim Chee Aun
59ff5f8eca Upgrade dependencies 2023-01-04 19:04:40 +08:00
Lim Chee Aun
c2bf9eabc5 Remove consoles in prod 2023-01-02 15:09:31 +08:00
Lim Chee Aun
6fcf844893 Bump masto 2023-01-01 18:15:26 +08:00
Lim Chee Aun
151f0875ad Upgrade relative-time-elements
They've renamed the package name
2023-01-01 18:14:35 +08:00
Lim Chee Aun
724be17d3e Basic keyboard shortcuts
Esc for carousel modal, Ctrl/Cmd+Enter for Compose field
2022-12-30 21:36:14 +08:00
Lim Chee Aun
7200acc2a7 Swipe down for closing carousel 2022-12-28 19:43:02 +08:00
Lim Chee Aun
2a2b730b20 Try vite-plugin-html-config for conditional embed of script
Somehow the vite-if thing not working on vite-plugin-html-env. Leaving it installed since the ENV thing works.
2022-12-28 13:47:11 +08:00
Lim Chee Aun
a08a3e58fb Upgrade valtio 2022-12-27 21:30:26 +08:00
Lim Chee Aun
605e6ac588 Conditionally use error logging
Totally not needed on local dev at all. Disable for prod for now
2022-12-27 20:47:23 +08:00
Lim Chee Aun
fb09e94615 Bump masto 2022-12-26 17:39:02 +08:00