Lim Chee Aun
6d5b2ef9a6
Test fix for uncloseable 'New notifications' bug
2023-11-07 07:58:32 +08:00
Lim Chee Aun
b027967168
Reduce buffer time between page visibilities
2023-11-06 23:27:58 +08:00
Lim Chee Aun
540b9a15a4
Fix noob mistake
...
And also make announcements and follow requests fetch more non-blocking
2023-11-05 17:57:49 +08:00
Lim Chee Aun
8e341ff7ed
Maybe this logic work better
2023-11-04 01:12:28 +08:00
Lim Chee Aun
0bc1b598c3
Breaking: rewrote filters implementation
2023-11-03 21:45:31 +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
afb80d3dc6
Hide "new notifications" button early
2023-10-31 15:41:56 +08:00
Lim Chee Aun
33b989fffc
Loosen the scrollTop check
2023-10-31 00:42:24 +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
61756fac1d
Fix unneccesary re-renders in Notifications
2023-10-23 16:24:30 +08:00
Lim Chee Aun
f2c2983663
Comment out test code
2023-10-23 11:12:28 +08:00
Lim Chee Aun
a222828306
Need InView for show more button in Notifications page
2023-10-21 17:54:10 +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
68759e64d1
Silence errors for follow requests & announcements
2023-10-09 21:53:58 +08:00
Lim Chee Aun
78a6f13380
Fix leaked follow requests from Notifications popover to page
2023-10-09 19:46:07 +08:00
Lim Chee Aun
4c3666df6a
Remove isHovering
2023-09-23 19:51:53 +08:00
Lim Chee Aun
671c68b8f8
Experiment use markers for notifications
2023-09-10 19:22:14 +08:00
Lim Chee Aun
61f2132abd
Fix getNotifications is not a function
2023-09-07 12:17:31 +08:00
Lim Chee Aun
6cbbd0aa1b
More reliable badge clearing
...
Should be when page visible, not on render
Possibly super effective, but badges can be annoying if not cleared easily.
2023-09-03 13:41:37 +08:00
Lim Chee Aun
062f42a05d
Fix missing useLayoutEffect
2023-09-02 02:25:44 +08:00
Lim Chee Aun
852bb27e81
Clear app badge when view Notifications page
2023-09-02 01:35:24 +08:00
Lim Chee Aun
0e745663f0
Yes, push notifications (beta).
...
Heck this feature is tough.
2023-09-01 15:40:00 +08:00
Lim Chee Aun
8b74a32168
Fix race conditions when accept/rejecting many follow requests
...
- No longer reload the whole list of follow requests and notifications for every accept/reject action
- Notifications list now exclude follow requests (experimental)
2023-08-11 18:00:36 +08:00
Lim Chee Aun
fa21eec06a
Try useIdle
2023-07-12 17:32:05 +08:00
Lim Chee Aun
5f67a29e1a
Collapse follow requests if > 5
2023-07-06 20:32:21 +08:00
Lim Chee Aun
da46171ef6
Make announcements appear faster
2023-05-21 08:46:51 +08:00
Lim Chee Aun
2b5eb87ec4
Fix double scrolling when clicking on announcement index buttons
2023-05-12 11:57:10 +08:00
Lim Chee Aun
ef12916bab
New "shazam" CSS effect utility lolol
...
I might rename this in the future
2023-05-09 18:03:26 +08:00
Lim Chee Aun
2ee38f43d2
Fix reload issues in Notifications
2023-05-07 19:17:16 +08:00
Lim Chee Aun
26af33aa85
Alright let's get Announcements UI out for now
...
Not perfect but will iterate later
2023-05-07 11:12:59 +08:00
Lim Chee Aun
dcf7d3c750
Add follow requests section in Notifications
2023-05-06 17:13:39 +08:00
Lim Chee Aun
711842916d
New experiment: auto refresh
2023-05-05 17:53:16 +08:00
Lim Chee Aun
ef06faf259
Notifications popover, for larger screens
2023-04-30 21:03:09 +08:00
Lim Chee Aun
6532b97a44
Update copy: s/status/post
2023-04-29 22:22:07 +08:00
Lim Chee Aun
211e4ff74d
Rename to NavMenu to avoid confusion
2023-04-26 13:09:44 +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
13b2273022
Bot avatars will be squircles
2023-04-11 00:26:43 +08:00
Lim Chee Aun
224a289a20
New Mentions page
2023-04-06 19:32:26 +08:00
Lim Chee Aun
ed1d475a12
Fix .status conflicting with .notification.status
...
Naming is hard
2023-03-20 23:07:21 +08:00
Lim Chee Aun
cf437a83da
Make statuses in notifications reactive
2023-03-10 23:01:26 +08:00
Lim Chee Aun
66e068ee7b
Fix bug with reblogs/favourites counting
2023-03-08 23:32:54 +08:00
Lim Chee Aun
7b8c7f3fb6
Grouped favourite+boost notifications!
2023-03-03 11:38:10 +08:00
Lim Chee Aun
9f84297b8f
Ooops typo
2023-03-01 22:18:45 +08:00
Lim Chee Aun
50fd06057f
Refactor niceDateTime out
2023-03-01 20:07:22 +08:00
Lim Chee Aun
a86daaac0b
Fix useScroll bug
2023-02-28 21:56:41 +08:00
Lim Chee Aun
7b66b832d5
Add more "instance" + saveStatus for new notifications
2023-02-25 14:20:26 +08:00
Lim Chee Aun
732244b4b3
Shiny pill style
2023-02-23 16:43:17 +08:00
Lim Chee Aun
f0eb684412
Got to instance them all
2023-02-19 00:05:46 +08:00
Lim Chee Aun
11d74b3258
Disable grouping for follow requests
2023-02-15 14:49:15 +08:00