Commit graph

193 commits

Author SHA1 Message Date
Lim Chee Aun
a325630c20 Upgrade dependencies 2023-08-19 19:24:15 +08:00
Lim Chee Aun
d2e417eaa4 Rendering bug seems fixed in Preact v10.17.1 2023-08-19 19:21:07 +08:00
Lim Chee Aun
6ddbcacd76 Downgrade preact, v10.17.0 is causing rendering issues 2023-08-17 13:45:51 +08:00
Lim Chee Aun
8790b20354 Experimental Shortcuts settings import/export 2023-08-15 20:14:09 +08:00
Lim Chee Aun
72ff229dfb Upgrade dependencies 2023-08-01 14:27:11 +08:00
Lim Chee Aun
8112f0a9d6 Upgrade dependencies 2023-07-20 19:29:49 +08:00
Lim Chee Aun
32f2a6d99b Upgrade dependencies 2023-07-10 10:17:46 +08:00
Lim Chee Aun
06c533cd47 Upgrade vite 2023-07-08 00:49:39 +08:00
Lim Chee Aun
471ab69182 Dangerously upgrade dependencies 2023-07-06 20:39:49 +08:00
Lim Chee Aun
4007c9b2d6 Upgrade dependencies 2023-06-16 14:30:44 +08:00
Lim Chee Aun
a1ee5be54b Upgrade react-menu and bug fixes 2023-06-13 17:46:37 +08:00
Lim Chee Aun
087158064c Downgrade string-length, Firefox doesn't support Intl.Segmenter 2023-06-12 14:48:41 +08:00
Lim Chee Aun
fc99c703e4 Upgrade dependencies 2023-06-12 14:40:03 +08:00
Lim Chee Aun
618a0d70d2 Upgrade dependencies 2023-06-04 19:13:17 +08:00
Lim Chee Aun
4a06fc5ad3 Upgrade dependencies 2023-05-30 10:36:16 +08:00
Lim Chee Aun
5e181afb8c Upgrade react-quick-pinch-zoom 2023-05-22 17:43:52 +08:00
Lim Chee Aun
703e56c2c7 Upgrade preact 2023-05-22 11:07:15 +08:00
Lim Chee Aun
b19ba93eb4 Upgrade dependencies 2023-05-21 13:35:01 +08:00
Lim Chee Aun
dafcccf093 Upgrade dependencies 2023-05-07 19:34:48 +08:00
Lim Chee Aun
51c03fb5be Upgrade masto 2023-05-05 16:59:20 +08:00
Lim Chee Aun
56022f31f0 Upgrade dependencies 2023-05-02 18:58:12 +08:00
Lim Chee Aun
2ed6b80dcc Upgrade dependencies 2023-04-27 10:18:24 +08:00
Lim Chee Aun
944a896586 Risky bump of use-long-press and to 1s delay 2023-04-24 19:16:07 +08:00
Lim Chee Aun
85e4a27a6b Upgrade dependencies 2023-04-02 15:19:09 +08:00
Lim Chee Aun
8908359b50 New feature experiment: pinch-zoom for images
This will probably be very buggy
2023-03-28 00:29:01 +08:00
Lim Chee Aun
bd3ca460a9 Upgrade vite 2023-03-22 20:59:58 +08:00
Lim Chee Aun
86ec30852c Don't need vite-plugin-html-env anymore 2023-03-18 21:51:27 +08:00
Lim Chee Aun
94f8c35f8d Upgrade vite 2023-03-18 21:40:27 +08:00
Lim Chee Aun
aea06e0d26 Upgrade react-hotkeys-hook 2023-03-18 21:39:55 +08:00
Lim Chee Aun
ed3d86c67a Make youtube embeds lighter
And possibly more privacy-enhanced
2023-03-18 20:05:12 +08:00
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
Lim Chee Aun
6b41666efe It's time to toast 🥂 2022-12-26 14:02:05 +08:00
Lim Chee Aun
318c2aeffc Upgrade masto.js to V5
- Fix all breaking changes
- Have to manual remove null/undefined values before creating statuses
- Have to recreate iterator instance if start from scratch because can't pass args in next()
2022-12-25 23:28:55 +08:00
Lim Chee Aun
13a347ce37 New: char count for Compose field
Uses pre-compiled regex for perf
2022-12-23 16:45:02 +08:00
Lim Chee Aun
a1fef8fd1d Always tilde 2022-12-22 19:25:54 +08:00
Lim Chee Aun
51121845db Upgrade dependencies 2022-12-22 19:25:19 +08:00
Lim Chee Aun
3b6f0f277e Rewrite whole scroll logic for Status page
Handle 3 cases, all written down in comments.

Crossing my fingers 🤞🤞🤞
2022-12-21 18:02:13 +08:00
Lim Chee Aun
ee360403fd It's time for MVP PWA/ServiceWorker
- Not 100% offline yet, very minimal caching
- Fix logo a little
2022-12-19 14:51:56 +08:00
Lim Chee Aun
400bc6f696 Truncate long posts on timeline, show "Read more"
10-line clamping for now
2022-12-17 21:06:51 +08:00
Lim Chee Aun
9f58c305d4 Upgrade dependencies 2022-12-15 10:58:49 +08:00
Lim Chee Aun
e96b1433ff Upgrade dependencies 2022-12-15 01:21:40 +08:00
Lim Chee Aun
764a7fcdee autoprefixer should be a dev dependency 2022-12-12 13:14:49 +08:00
Lim Chee Aun
7f02a7f794 Use a better string length
Using `string-length` instead of `stringz` that's used by Mastodon
2022-12-10 20:46:56 +08:00
Lim Chee Aun
2b9390a0a1 Initial commit 2022-12-10 17:14:48 +08:00