Commit graph

79 commits

Author SHA1 Message Date
Lim Chee Aun
3d4ebb8abe Adjust rootMargin 2024-01-03 10:54:55 +08:00
Lim Chee Aun
b4d4c61128 Experiment delay render items in carousel 2024-01-02 19:56:54 +08:00
Lim Chee Aun
764125e6b9 Test replace scroll-based to inview 2024-01-02 19:26:05 +08:00
Lim Chee Aun
0ebbc5b34e Don't need nearReachEnd, use InView more 2024-01-02 12:24:03 +08:00
Lim Chee Aun
d7d838ebf8 Rebuild useScroll, less states 2023-12-29 18:29:08 +08:00
Lim Chee Aun
33b55c937b Fix hide-filtered items appearing in boost carousel 2023-12-21 13:32:32 +08:00
Lim Chee Aun
aa8cbe046c New experiment: followed tag indicator 2023-12-15 01:58:44 +08:00
Lim Chee Aun
d87f60665a Enable comment hint for end of thread/conversation 2023-11-15 00:42:19 +08:00
Lim Chee Aun
19ed85f298 Make comment hint opt-in 2023-11-14 22:45:13 +08:00
Lim Chee Aun
770f4d9205 Prevent pinned posts from being grouped 2023-11-13 16:57:15 +08:00
Lim Chee Aun
dc2eb1163f Slow down polling if scrolled down 2023-11-09 00:16:16 +08:00
Lim Chee Aun
98d1f44244 Also 3s 2023-11-07 11:19:49 +08:00
Lim Chee Aun
d16cd501d4 Quick fix for pinned post not showing pin
_pinned no longer stored with post, so pinned posts now can't be reactive
2023-11-07 07:59:59 +08:00
Lim Chee Aun
bca205182e Quick fix rendering bug when switching media filter 2023-11-06 22:48:20 +08:00
Lim Chee Aun
6e3494488a Reduce interval to 15s 2023-11-06 09:44:46 +08:00
Lim Chee Aun
21007e0a4d Make Try Again button more noticeable 2023-11-04 09:56:06 +08:00
Lim Chee Aun
0bc1b598c3 Breaking: rewrote filters implementation 2023-11-03 21:45:31 +08:00
Lim Chee Aun
caeeffaa72 Extra check if container if not clickable 2023-11-01 18:12:22 +08:00
Lim Chee Aun
33b989fffc Loosen the scrollTop check 2023-10-31 00:42:24 +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
b40bbb32c2 Alrighty, this is media-view layout 2023-10-29 21:41:03 +08:00
Lim Chee Aun
6dd6e0e77c Refactor some components/callbacks 2023-10-27 14:15:29 +08:00
Lim Chee Aun
9c4252315a Debounce checks, less noisy 2023-10-22 19:26:41 +08:00
Lim Chee Aun
ddc8c1e9d9 Compact status need private-mention style if it is 2023-10-21 23:05:32 +08:00
Lim Chee Aun
749d6880b8 Experiment making idle detection global
Hooks are nice but it makes component re-render unnecessarily

Also, idle detection doesn't need to be per-component.
2023-10-21 12:26:28 +08:00
Lim Chee Aun
106cd16e41 Add loading state to filter bar 2023-10-19 10:13:53 +08:00
Lim Chee Aun
5faf911b17 Replace scrollIntoViewIfNeeded with scrollIntoView
Because non-standard and not supported on Firefox
2023-10-04 21:24:48 +08:00
Lim Chee Aun
d429ef9161 Don't compact spoiler post if from different author 2023-10-04 08:31:40 +08:00
Lim Chee Aun
4436c337dd Cleanup 2023-10-03 15:07:47 +08:00
Lim Chee Aun
cb04659ab1 Allow filters for posts in carousels 2023-09-25 10:20:32 +08:00
Lim Chee Aun
cb36308790 Collapse grouped conversations too 2023-09-24 18:11:23 +08:00
Lim Chee Aun
4c3666df6a Remove isHovering 2023-09-23 19:51:53 +08:00
Lim Chee Aun
1e9f0bdf39 Slight restyle for shiny pill 2023-09-23 19:16:32 +08:00
Lim Chee Aun
7ec1cd1e3d Add a span 2023-09-22 00:15:03 +08:00
Lim Chee Aun
9b23e051e2 Still need this length check, this "done" is not reliable 2023-08-07 11:39:42 +08:00
Lim Chee Aun
14091fbc7b It's time to widen carousel for Firefox users
Srsly take too long time waiting for Firefox to support :has()
2023-07-25 17:23:22 +08:00
Lim Chee Aun
fa21eec06a Try useIdle 2023-07-12 17:32:05 +08:00
Lim Chee Aun
97f7a066e2 Fix items not updating when items count = 0 2023-07-05 16:54:33 +08:00
Lim Chee Aun
58eea41b56 Scale down avatar size for non-parent-author posts in grouped contexts
Experimental!
2023-06-11 23:57:53 +08:00
Lim Chee Aun
711842916d New experiment: auto refresh 2023-05-05 17:53:16 +08:00
Lim Chee Aun
211e4ff74d Rename to NavMenu to avoid confusion 2023-04-26 13:09:44 +08:00
Lim Chee Aun
f0adee6ebf Add tiny little closed eye for compact status spoiler 2023-04-17 19:09:46 +08:00
Lim Chee Aun
19858dc889 It's time for a new loading indicator 2023-04-14 15:46:11 +08:00
Lim Chee Aun
f303c6d36c Rewrite status page + media modal
Media modals now have their own URLs
2023-04-14 15:30:04 +08:00
Lim Chee Aun
65e22ea819 Further compact-ify threads/conversations with spoilers 2023-04-09 11:40:35 +08:00
Lim Chee Aun
e6ad1f78ad Debugging 2023-04-06 10:24:21 +08:00
Lim Chee Aun
c7f4087ed2 Preliminary steps in adding filter bar 2023-04-03 10:36:31 +08:00
Lim Chee Aun
62af5dbf64 Fix compact thread status not showing badge when there's no thread number 2023-04-02 16:04:37 +08:00
Lim Chee Aun
157daa68df Show title 2023-03-27 00:47:08 +08:00
Lim Chee Aun
caee38c98f New experiment: dedupe boosts and group context 2023-03-26 23:18:36 +08:00