Commit graph

54 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 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 10271665eb Shorter script name 2023-01-05 10:50:36 +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 97e214cec7 Possible fix for mask-image? 2022-12-27 09:46:25 +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 40b2f5b65c Add command to check source maps 2022-12-19 14:49:25 +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