feat: Implement push notification system for admin announcements

- Add a notification manager to handle push notifications and integrate with Nostr events.
- Create a push notification service to manage subscription and permission requests.
- Introduce components for notification settings and permission prompts in the UI.
- Update Nostr store to manage push notification state and enable/disable functionality.
- Enhance NostrFeed to send notifications for new admin announcements.
- Implement test notification functionality for development purposes.
This commit is contained in:
padreug 2025-07-03 08:34:05 +02:00
parent 6c1caac84b
commit c05f40f1ec
17 changed files with 1316 additions and 13 deletions

View file

@ -17,9 +17,10 @@ export default defineConfig(({ mode }) => ({
devOptions: {
enabled: true
},
strategies: 'injectManifest',
srcDir: 'public',
filename: 'sw.js',
workbox: {
clientsClaim: true,
skipWaiting: true,
globPatterns: [
'**/*.{js,css,html,ico,png,svg}'
]