Lim Chee Aun
082a04c30c
Maybe visibilityState is more reliable
2022-12-26 17:39:20 +08:00
Lim Chee Aun
6b41666efe
It's time to toast 🥂
2022-12-26 14:02:05 +08:00
Lim Chee Aun
6da4834b71
Change back to limit 1
...
Sometimes, there's really just one new status update.
2022-12-26 01:09:53 +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
42fa30d8f8
Move the onVisibilityChange API check to app.jsx
...
Doesn't make sense to make it part of Home. Also add in Notifications check.
2022-12-24 10:26:05 +08:00
Lim Chee Aun
5944b4fe30
Don't remove status immediately
...
It'll be too abrupt. Set `_deleted` flag for now, no UI yet.
2022-12-22 22:43:04 +08:00
Lim Chee Aun
c828f53f09
Lame fix for Flash of Welcome Page (FoWP)
...
useEffect runs after mounted so Welcome component appears for a split second
2022-12-21 20:34:24 +08:00
Lim Chee Aun
5e687e871f
Bring back polling but bump up timeout
...
- Polling is needed because status post requires the media to be done processing (not just uploaded)
- But the default timeout set in masto.js is 3s, a bit too low if uploading a large video
- Bumping up to 30s
2022-12-20 13:29:38 +08:00
Lim Chee Aun
a5177b3b70
Try disable version check
...
Some Mastodon instances have invalid semver 🤦♂️
E.g. social.treehouse.systems = v4.0.1+glitch+th
2022-12-15 16:54:14 +08:00
Lim Chee Aun
a115639a99
Uncomment this
2022-12-15 10:59:20 +08:00
Lim Chee Aun
72751709df
New feature: poll
...
- More fixes
2022-12-14 21:48:17 +08:00
Lim Chee Aun
e2346bc32a
Shift+click to open compose window
...
- Fixes for closing
- Easier code for checking if can close window
2022-12-13 21:54:16 +08:00
Lim Chee Aun
9d78e67381
New feature: pop-out compose window
...
- More consistent design for both reply-to status and source status preview
- Fixed bugs too
- Make sure index.css is always above
2022-12-13 20:42:09 +08:00
Lim Chee Aun
695b246401
Use back this axios version
...
The experimental fetch is buggy
2022-12-13 16:39:21 +08:00
Lim Chee Aun
5353a4535a
New feature: Edit status!
...
Get's a bit hacky now
2022-12-12 21:54:31 +08:00
Lim Chee Aun
0ecc8b0bd7
Comment out code for deleted status updates
2022-12-12 16:22:36 +08:00
Lim Chee Aun
7e312a38ff
This is why you should close tabs and not let them pile up in the tab bar
2022-12-10 21:02:03 +08:00
Lim Chee Aun
2b9390a0a1
Initial commit
2022-12-10 17:14:48 +08:00