feat: add in-app notification system with real-time delivery

Introduces a full in-app notification system with three types (simple,
boolean with server-side callbacks, navigate), three scopes (user, trip,
admin), fan-out persistence per recipient, and real-time push via
WebSocket. Includes a notification bell in the navbar, dropdown, dedicated
/notifications page, and a dev-only admin tab for testing all notification
variants.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jubnl
2026-04-02 18:57:52 +02:00
parent 979322025d
commit c0e9a771d6
32 changed files with 1837 additions and 8 deletions

View File

@@ -1498,6 +1498,19 @@ const de: Record<string, string | { name: string; category: string }[]> = {
'undo.importGpx': 'GPX import',
'undo.importGoogleList': 'Google Maps import',
// Notifications
'notifications.title': 'Benachrichtigungen',
'notifications.markAllRead': 'Alle als gelesen markieren',
'notifications.deleteAll': 'Alle löschen',
'notifications.showAll': 'Alle Benachrichtigungen anzeigen',
'notifications.empty': 'Keine Benachrichtigungen',
'notifications.emptyDescription': 'Sie sind auf dem neuesten Stand!',
'notifications.all': 'Alle',
'notifications.unreadOnly': 'Ungelesen',
'notifications.markRead': 'Als gelesen markieren',
'notifications.markUnread': 'Als ungelesen markieren',
'notifications.delete': 'Löschen',
'notifications.system': 'System',
}
export default de