Add notification toggle feature with mute support and integrate with service worker:
- Implement `NotificationToggle` component to manage notification permissions and mute state. - Add `notificationService` to handle browser notification permissions and mute state storage. - Update service worker (`sw.js`) to respect app-level mute state for push notifications. - Register and synchronize mute state with the service worker in `main.tsx`. - Enhance `LiveView` to check mute state before sending summary updates to the service worker. - Adjust notification paths and assets for consistency with app-wide structure.
Loading
Please sign in to comment