SatsAllDay 522c821c89
Notification badges (#595)
* First pass of implementing Badging API for notifications

* Only show app badge when driven from push notifications

* Display number of unread push notifications instead of just an empty badge

Clear badge via postMessage when notifications page is loaded

* de-dupe some code, update badge counter on each notification click

* remove ids, track open note count instead

* restore optional chaining

* ensure note count doesn't go below 0, and fix event.waitUntil error when clearing badge

* incorporate PR feedback
2023-11-08 18:17:01 -06:00
..
2023-10-13 19:58:16 -05:00
2023-11-01 11:57:55 -05:00
2023-11-01 11:57:55 -05:00
2023-09-23 20:19:35 -05:00
2023-07-24 13:53:53 -05:00
2023-11-08 18:17:01 -06:00
2023-10-25 13:06:15 -05:00
2023-07-24 13:53:53 -05:00