Lim Chee Aun
ab2328f364
Handle use-case when Following is not in Home, in multi-column mode
2023-02-18 21:37:34 +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
45a1fc057e
Limit number of shortcuts
...
9 because there's only 9 keyboard shortcuts. There's '0' but… nah.
2023-02-18 19:39:17 +08:00
Lim Chee Aun
3f73f7d174
Fix weird bug when closing media modal + status page
...
Somehow useMatch re-renders the media modal and mess up some event handlers on it
Possibly due to react-router-match vs preact issues.
So, remove it totally, replace with CSS :has() solution
2023-02-18 17:38:42 +08:00
Lim Chee Aun
5707da703f
Revert "Skeleton avatar should follow size"
...
This reverts commit f579a8bfb9
.
2023-02-18 01:45:44 +08:00
Lim Chee Aun
e35f4e2644
Vite complain this is too complex
2023-02-17 20:48:52 +08:00
Lim Chee Aun
3915b3818c
One more 40em
2023-02-17 20:48:38 +08:00
Lim Chee Aun
5ef67fab91
Variable-ise the 40em
2023-02-17 20:47:09 +08:00
Lim Chee Aun
5af2a060a6
Update styles
2023-02-17 19:31:28 +08:00
Lim Chee Aun
f579a8bfb9
Skeleton avatar should follow size
2023-02-17 19:08:19 +08:00
Lim Chee Aun
9e1f62e47b
Use instance check instead of authenticated check
2023-02-17 17:40:39 +08:00
Lim Chee Aun
b06cd36b3f
Initial work to allow cross-instance linking
...
- Load current-instance relationship on remote-instance account sheet
- Add button to switch to current-instance status page from remote-instance status page
2023-02-17 17:37:31 +08:00
Lim Chee Aun
dc1a045de9
Fix play icon too faded out
2023-02-17 13:07:43 +08:00
Lim Chee Aun
d8e6d349a0
Fix undefined 'votes'
2023-02-17 11:00:34 +08:00
Lim Chee Aun
0430f4ae89
Reuse BoostCarousel for pinned posts
...
Now we can show *anything* into a carousel
2023-02-17 10:55:16 +08:00
Lim Chee Aun
a1edc142ae
Fix shortcuts button not hiding on large screen
2023-02-17 10:53:04 +08:00
Lim Chee Aun
c37df11a25
Show pinned posts
2023-02-17 10:12:59 +08:00
Lim Chee Aun
7aba448f42
Handle multi-paragraph code blocks
...
This ain't going to be fun if the HTML gets messier in the future
2023-02-16 21:51:22 +08:00
Lim Chee Aun
4dae1d1576
Shorter copies
2023-02-16 19:10:26 +08:00
Lim Chee Aun
74a02ee388
lol forgot to link the datalist
2023-02-16 18:37:57 +08:00
Lim Chee Aun
73e8bed5f0
Basic validation
2023-02-16 18:22:19 +08:00
Lim Chee Aun
0bef245c83
New feature: Shortcuts
2023-02-16 17:52:16 +08:00
Lim Chee Aun
75b6cddb04
Fix conditions not scoped properly
2023-02-15 21:40:58 +08:00
Lim Chee Aun
f198571367
Compare exact string before checking variants
2023-02-15 10:46:29 +08:00
Lim Chee Aun
4c17522d42
Fix escape key not working on Safari
2023-02-14 19:38:17 +08:00
Lim Chee Aun
c01d3098b8
Add pencil
2023-02-13 09:22:03 +08:00
Lim Chee Aun
255ca8eaa6
Support edit media description for Mastodon v4.1
2023-02-13 01:21:18 +08:00
Lim Chee Aun
ac30963ddf
New AccountBlock component
2023-02-12 19:29:03 +08:00
Lim Chee Aun
0b6dd07eee
Rewrote notifications, again
2023-02-12 17:38:50 +08:00
Lim Chee Aun
30b747527e
Okayyy this is dangerous
2023-02-12 14:24:27 +08:00
Lim Chee Aun
e4d9e7f7db
Disable position-object animation when media modal appears
...
Got to say :has() is so darn useful
2023-02-11 23:46:33 +08:00
Lim Chee Aun
61edcb2115
Replace ALT badge with info icon
...
ALT is just… too technical.
2023-02-11 22:36:19 +08:00
Lim Chee Aun
2f2e343115
Shorter skeleton
2023-02-11 21:09:36 +08:00
Lim Chee Aun
ef2f55457f
Take care of unauth-ed cases
2023-02-11 19:39:30 +08:00
Lim Chee Aun
d9564bff72
Still need these fallbacks for now
2023-02-11 18:55:21 +08:00
Lim Chee Aun
f756f23d6e
Better menu overflow + bounding box
...
8 is a magic number
2023-02-11 17:04:48 +08:00
Lim Chee Aun
62eb6d6b30
Reuse style for search page, time to surface it
2023-02-11 17:01:43 +08:00
Lim Chee Aun
068a49abce
Add Followed Hashtags
2023-02-11 16:48:47 +08:00
Lim Chee Aun
d02aea4616
Try portal to document.body
2023-02-11 08:37:54 +08:00
Lim Chee Aun
e24beaffac
Make menu disappear when scroll
2023-02-11 06:25:38 +08:00
Lim Chee Aun
5911eb8033
Add more spellChecks
2023-02-11 06:21:23 +08:00
Lim Chee Aun
722852f5c2
Expose more pages now
...
Except one
2023-02-11 00:05:18 +08:00
Lim Chee Aun
e0e236bd26
Experimental hidden search page
...
And refactored out some reusable components
2023-02-10 22:10:13 +08:00
Lim Chee Aun
1638bb4e37
Fix clamp bug
2023-02-10 14:20:41 +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
8871334af8
Allow 2-line clamp for alt tag on small screens too
2023-02-10 13:35:43 +08:00
Lim Chee Aun
8b77615c80
Need to save status after edit
...
Before this, the status (and context) will auto-refresh after posting, but now it's only refreshing context
2023-02-10 11:35:47 +08:00
Lim Chee Aun
91aeed5fe6
Respect your preferences
2023-02-09 23:59:57 +08:00
Lim Chee Aun
58d4ca0ff2
Finally replace Home
2023-02-09 22:27:49 +08:00