Commit graph

2207 commits

Author SHA1 Message Date
Lim Chee Aun
bd798865d8 Fix .media class can clash with carousel's .media 2023-11-03 00:41:28 +08:00
Lim Chee Aun
fa9e0059c0 Hmm, need a flow chart for this srsly 2023-11-02 20:24:52 +08:00
Lim Chee Aun
89f82707d6 Let's try this out
Sometimes the logic gets confusing
2023-11-02 20:13:18 +08:00
Lim Chee Aun
7f327e5980 Fix same key bug 2023-11-02 19:44:53 +08:00
Lim Chee Aun
05ab42684b Another scroll-driven initiative 2023-11-02 17:39:42 +08:00
Lim Chee Aun
131b91e2c1 Clamp 3 lines 2023-11-02 17:38:55 +08:00
Lim Chee Aun
490d776a70 Remove unused variable 2023-11-02 17:38:22 +08:00
Lim Chee Aun
6b3602c6ae Remove debugging console logs 2023-11-02 13:44:32 +08:00
Lim Chee Aun
ab5a115084 Replace semver with compare-versions
Also, semver wasn't even in package.json, it worked because a lot of deps use it
2023-11-02 13:38:39 +08:00
Lim Chee Aun
fd7caca039 text-wrap: pretty attempt again 2023-11-02 13:00:07 +08:00
Lim Chee Aun
48b505b382 Fix old columns mode setting wrongly applied
Deprecate it more now
2023-11-02 12:59:52 +08:00
Lim Chee Aun
0c2d79c159 Make edited timestamp tab-able 2023-11-02 10:50:21 +08:00
Lim Chee Aun
93e19f549d No need scroll back 2023-11-02 10:50:01 +08:00
Lim Chee Aun
38ee094405 Make edited modal lighter 2023-11-02 10:49:52 +08:00
Lim Chee Aun
a9c3c6fdb4 Scroll-driven avatar shrinking 2023-11-02 09:36:30 +08:00
Lim Chee Aun
bf7acb6eab Add more conditions for binding longpress
Should be same condition as contextmenu
2023-11-02 08:00:00 +08:00
Lim Chee Aun
030728bc93 Fix .header-account used wrongly
Obviously confused by my own code
2023-11-02 00:14:01 +08:00
Lim Chee Aun
706f3f0cc8 Subtle peekaboo header for the scroll-driven 2023-11-01 23:41:30 +08:00
Lim Chee Aun
d9dab6b5ee Ok need to check if navigation is undefined 2023-11-01 23:14:13 +08:00
Lim Chee Aun
d35d0cbe18 Fix active filter scrolling to wrong position on larger viewport 2023-11-01 22:56:30 +08:00
Lim Chee Aun
ff7db6212d Bye to shine effect
It was fun.
2023-11-01 22:56:10 +08:00
Lim Chee Aun
0c3449aba4 Rearrange/code this part again
- Streaming wasn't UNSUBscribed due to the forever-stuck loop
- Make streaming start later
2023-11-01 22:26:21 +08:00
Lim Chee Aun
3361ffc366 Further make use of Navigation API
history.length is seriously not reliable
2023-11-01 21:56:37 +08:00
Lim Chee Aun
616b9fcf02 Skip if meta/ctrl/shift/alt/middle-click 2023-11-01 21:56:06 +08:00
Lim Chee Aun
7119a78711 Fallback to polling if streaming fails 2023-11-01 21:31:43 +08:00
Lim Chee Aun
33f807de73 More reliable back button
Uses new Navigation API
2023-11-01 19:11:54 +08:00
Lim Chee Aun
caeeffaa72 Extra check if container if not clickable 2023-11-01 18:12:22 +08:00
Lim Chee Aun
ecb1be5776 Reduce extraneous fetch calls 2023-11-01 18:02:54 +08:00
Lim Chee Aun
0cc956b8c0 Fix initial authenticated: false bug 2023-11-01 17:02:52 +08:00
Lim Chee Aun
e6ef2f9064 Better range for header banner 2023-11-01 14:10:56 +08:00
Lim Chee Aun
478271348e Make selected view mode more glowy 2023-11-01 10:00:28 +08:00
Lim Chee Aun
6ec7073151 Fix bypass shortcuts limit 2023-11-01 10:00:05 +08:00
Lim Chee Aun
22abc2fb31 Need @supports check before doing scroll-driven animation 2023-10-31 22:25:08 +08:00
Lim Chee Aun
bc0197a5f1 Add a little Fragment here 2023-10-31 22:22:57 +08:00
Lim Chee Aun
f3dcd9f4ee Position nav bar to top if there's hover 2023-10-31 20:55:34 +08:00
Lim Chee Aun
f5808b6f3b Add keyboard shortcut to toggle cloak mode 2023-10-31 20:50:27 +08:00
Lim Chee Aun
5cb0621f34 Remove unused useSnapshot 2023-10-31 20:21:49 +08:00
Lim Chee Aun
3f6402349c Rearrange code 2023-10-31 20:21:37 +08:00
Lim Chee Aun
b17977a5c7 First production-stage scroll-driven animation 2023-10-31 15:43:56 +08:00
Lim Chee Aun
afb80d3dc6 Hide "new notifications" button early 2023-10-31 15:41:56 +08:00
Lim Chee Aun
1f78bb9c09 Fix check updates don't use media param 2023-10-31 15:41:39 +08:00
Lim Chee Aun
c67192bb81 Show toast when picking month for account statuses 2023-10-31 08:47:19 +08:00
Lim Chee Aun
33b989fffc Loosen the scrollTop check 2023-10-31 00:42:24 +08:00
Lim Chee Aun
39d97a51c5 Make idle state switch faster 2023-10-31 00:38:59 +08:00
Lim Chee Aun
d5b257b130 Change the update check logic on Notifications page 2023-10-30 23:53:43 +08:00
Lim Chee Aun
3c790ebff4 Better segmentation of languages with <hr> 2023-10-30 23:50:15 +08:00
Lim Chee Aun
99f81c49c4 Revert "Debounce checks, less noisy"
This reverts commit 9c4252315a.
2023-10-30 20:45:30 +08:00
Lim Chee Aun
5f64553d17 Single column media posts for very small viewport 2023-10-30 19:54:20 +08:00
Lim Chee Aun
75bca8ed3a Upgrade dependencies 2023-10-30 19:31:42 +08:00
Lim Chee Aun
290243df0a Make document titles better 2023-10-30 18:04:17 +08:00