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-11-08 18:17:01 -06:00
2023-02-08 13:39:53 -06:00
2023-10-04 15:10:56 -05:00
2023-08-23 17:44:17 -05:00
2023-10-23 17:55:48 -05:00
2023-10-03 18:22:56 -05:00
2023-10-23 18:16:06 -05:00
2023-09-23 20:19:35 -05:00
2021-12-05 11:37:55 -06:00
2023-10-02 19:20:13 -05:00