blakeblackshear.frigate/web/src
Nicolas Mowen 690ee3dc15 Implement support for notifications (#12523)
* Setup basic notification page

* Add basic notification implementation

* Register for push notifications

* Implement dispatching

* Add fields

* Handle image and link

* Add notification config

* Add field for users notification tokens

* Implement saving of notification tokens

* Implement VAPID key generation

* Implement public key encoding

* Implement webpush from server

* Implement push notification handling

* Make notifications config only

* Add maskable icon

* Use zod form to control notification settings in the UI

* Use js

* Always open notification

* Support multiple endpoints

* Handle cleaning up expired notification registrations

* Correctly unsubscribe notifications

* Change ttl dynamically

* Add note about notification latency and features

* Cleanup docs

* Fix firefox pushes

* Add links to docs and improve formatting

* Improve wording

* Fix docstring

Co-authored-by: Blake Blackshear <blake@frigate.video>

* Handle case where native auth is not enabled

* Show errors in UI

---------

Co-authored-by: Blake Blackshear <blake@frigate.video>
2024-08-29 20:19:50 -06:00
..
api Use camera status to get state of camera config (#12787) 2024-08-08 07:54:13 -06:00
components Fix calendar 2024-08-29 20:19:50 -06:00
context Theme updates (#12373) 2024-07-10 07:04:02 -05:00
hooks Semantic Search Frontend (#12112) 2024-08-29 20:19:50 -06:00
lib Fix linter and fix lint issues (#10141) 2024-02-28 16:23:56 -06:00
pages Implement support for notifications (#12523) 2024-08-29 20:19:50 -06:00
types Implement support for notifications (#12523) 2024-08-29 20:19:50 -06:00
utils Chroma logs in Frontend (#12131) 2024-08-29 20:19:50 -06:00
views Implement support for notifications (#12523) 2024-08-29 20:19:50 -06:00
App.tsx Semantic Search Frontend (#12112) 2024-08-29 20:19:50 -06:00
env.ts Fix linter and fix lint issues (#10141) 2024-02-28 16:23:56 -06:00
index.css Clickable logo on desktop sidebar and useMatch for camera group visibility (#12379) 2024-07-10 09:28:05 -06:00
login.tsx Fix auth when serving Frigate at a subpath (#12815) 2024-08-09 07:26:26 -06:00
main.tsx Fix linter and fix lint issues (#10141) 2024-02-28 16:23:56 -06:00
vite-env.d.ts