Lim Chee Aun
0bc009140e
It's time to bring back the tab bar
2023-02-27 23:59:41 +08:00
Lim Chee Aun
58208a417c
Check if there are shortcuts too before displaying Columns
2023-02-20 00:22:10 +08:00
Lim Chee Aun
02eb2ff470
Extract columns out & don't use dynamic imports
...
Vite have difficulties importing them dynamically. Sad face.
Also this makes Home look cleaner.
2023-02-18 21:14:24 +08:00
Lim Chee Aun
522d55ebb8
New experiment: multi-column mode
2023-02-18 20:48:24 +08:00
Lim Chee Aun
0bef245c83
New feature: Shortcuts
2023-02-16 17:52:16 +08:00
Lim Chee Aun
d324d3a672
Move notifications link from Following to Home
2023-02-15 10:49:36 +08:00
Lim Chee Aun
81ebb61096
Sneak in this little menu
...
And… fix title leak bug
2023-02-10 13:39:46 +08:00
Lim Chee Aun
58d4ca0ff2
Finally replace Home
2023-02-09 22:27:49 +08:00
Lim Chee Aun
f511b0a5ab
More code porting
2023-02-08 19:11:33 +08:00
Lim Chee Aun
9921e487e8
Minimum viable Home → Following port
2023-02-08 00:31:46 +08:00
Lim Chee Aun
db428c04d1
Scoped keyboard shortcuts
2023-02-06 23:47:58 +08:00
Lim Chee Aun
1357c1b2bd
Fix more edge cases after breaking changes
2023-02-06 16:35:03 +08:00
Lim Chee Aun
a130743d4c
Breaking: refactor all masto API calls
...
Everything need to be instance-aware!
2023-02-06 00:17:19 +08:00
Lim Chee Aun
e0bab6c70a
More refactoring work
2023-02-03 21:08:08 +08:00
Lim Chee Aun
eb2f80162a
Don't debounce if loading subsequent posts
2023-02-02 15:48:12 +08:00
Lim Chee Aun
4ed2852c41
Don't show updates button when loading
2023-01-31 11:24:46 +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
1cfef22465
Let's test this out
2023-01-30 20:30:45 +08:00
Lim Chee Aun
ae37d58826
Fix document.title not working properly
2023-01-29 15:22:16 +08:00
Lim Chee Aun
816653e2e6
Add j/k keyboard navigation to status page
...
At the same time, fix shift+k not working in Home page
2023-01-27 20:54:18 +08:00
Lim Chee Aun
e83d128f62
Rewrite Notifications page + experimental fix on getting/showing updates
2023-01-27 11:47:30 +08:00
Lim Chee Aun
9a898437f9
Remove unused code
2023-01-25 21:53:43 +08:00
Lim Chee Aun
19ee95d188
Add a key, just in case
2023-01-24 20:55:04 +08:00
Lim Chee Aun
10b99d2af4
Fix k, shift+k not working
2023-01-24 16:27:09 +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
f7cbf238b1
Shift+j/k shortcut to skip posts in Boosts Carousel
2023-01-16 21:26:33 +08:00
Lim Chee Aun
58cefc2853
Also activate boosts carousel for serial boosts
2023-01-16 20:50:03 +08:00
Lim Chee Aun
62a3ba7c5f
Bug fixes for boosts carousel + scrolling
2023-01-16 20:32:30 +08:00
Lim Chee Aun
68b6cb869e
No need these console logs anymore
2023-01-14 22:05:38 +08:00
Lim Chee Aun
0dcccd1e57
Fix scroll direction stopped working
...
s/up/start s/down/end
2023-01-14 20:16:13 +08:00
Lim Chee Aun
e2139399ee
New experiment: Boosts Carousel ™️
2023-01-14 19:42:04 +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
13c3b8fa3b
Finally DRY this saving status code
2023-01-09 19:11:34 +08:00
Lim Chee Aun
41df88e625
Perf fixes
...
Turns out, adding an object to states.statuses proxyMap object, re-render ALL statuses
2023-01-07 20:26:23 +08:00
Lim Chee Aun
ee9bfe6331
Lots of tiny adjustments
2023-01-07 14:45:04 +08:00
Lim Chee Aun
de45a0f9d5
Update useScroll to check distance in threshold instead of pixels
2023-01-05 15:29:11 +08:00
Lim Chee Aun
8e19d098eb
Test add this condition to see how it works
2023-01-04 17:12:44 +08:00
Lim Chee Aun
b0271c50ae
Fix forgot to put back the fake <li>
2023-01-03 00:56:11 +08:00
Lim Chee Aun
dbf9c22ea5
Less obstrusive "New posts"
2023-01-03 00:52:16 +08:00
Lim Chee Aun
9ea941368d
More fixes
2023-01-03 00:27:47 +08:00
Lim Chee Aun
d235f56cff
Always clear 'new' when load from beginning
2023-01-02 23:19:12 +08:00
Lim Chee Aun
39124ccc70
Add experimental scroll-based effects
...
- Scroll to top = refresh Home
- Scroll up/down = show/hide header and compose button
- Scroll near bottom = load next statuses
- Move Compose button to only at Home instead of 'App' level
2023-01-02 21:36:24 +08:00
Lim Chee Aun
d2d8571b3f
Fix updates button got cut off in larger viewport
2023-01-01 19:24:08 +08:00
Lim Chee Aun
2031e88d87
Better handling of failures
...
Some mastodon instances are getting hit hard
2023-01-01 15:28:07 +08:00
Lim Chee Aun
b12b0c588d
Experimental j,k,o,esc,backspace shortcuts
2022-12-31 09:52:31 +08:00
Lim Chee Aun
9201f7a118
First step in making things focusable
2022-12-30 20:37:57 +08:00
Lim Chee Aun
5804ddbdb9
Add all the focuses
2022-12-29 16:11:58 +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
c75bf36345
Try dblclick for reloading
...
Not sure if this'll work on touch-based devices. Also good for debugging.
2022-12-25 23:53:18 +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