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
c0234dd26e
Add focus for notification block too
2022-12-30 23:08:55 +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
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
Lim Chee Aun
8eec844781
Scroll-to-top for Notifications
2022-12-24 17:54:42 +08:00
Lim Chee Aun
becb8aa89d
Emphasize mentions on notifications
2022-12-21 08:48:11 +08:00
Lim Chee Aun
3589438556
Fix clash of styles
...
.status got overriden 😂 (maybe I should scope the CSS or something)
2022-12-21 07:42:48 +08:00
Lim Chee Aun
ad2bebec0e
Bump notifications limit
2022-12-20 00:11:55 +08:00
Lim Chee Aun
16ae8af889
Replace deprecated methods
2022-12-18 11:52:53 +08:00
Lim Chee Aun
72b0931554
Super lazy way to implement "only mentions" in Notifications
...
#OnlyMentions
Could have make another tab that makes another request to /notifications but I feel lazy
2022-12-18 01:04:26 +08:00
Lim Chee Aun
665b908698
Put names into every export
2022-12-16 13:27:04 +08:00
Lim Chee Aun
95519a538e
Some breathing space for "Show more" button
2022-12-15 17:00:11 +08:00
Lim Chee Aun
ca98863c01
Fix bug when the first notification is already a grouped one
2022-12-15 13:11:28 +08:00
Lim Chee Aun
ca71d45a77
Fix wrong isSelf logic
2022-12-15 01:45:36 +08:00
Lim Chee Aun
735cbf05b7
Very embarrassing mistake
...
Why do I even name such bad variable names
2022-12-14 22:53:14 +08:00
Lim Chee Aun
fa1769c3c2
New feature: Grouped notifications
...
- Grouped based on notification.type and notification.status.id
- Crossing fingers here
2022-12-14 22:46:50 +08:00
Lim Chee Aun
6195f45800
Remove unused code
2022-12-13 20:42:19 +08:00
Lim Chee Aun
6f3eae15b6
Fix missing boost icon
2022-12-11 17:10:10 +08:00
Lim Chee Aun
9f9395d965
Better copy to differentiate poll created vs voted
2022-12-11 12:15:39 +08:00
Lim Chee Aun
3bee69dc84
Clear notificationsNew when loading fresh
2022-12-11 12:07:36 +08:00
Lim Chee Aun
b3941462d6
Facepalm moment
...
s/created_at/createdAt
2022-12-10 21:23:19 +08:00
Lim Chee Aun
2b9390a0a1
Initial commit
2022-12-10 17:14:48 +08:00