Commit graph

163 commits

Author SHA1 Message Date
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
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