feat(calendar): add event notifications with alert evaluation

Add client-side calendar event notification system that evaluates JMAP
CalendarEventAlert triggers and displays toast notifications when alert
times are reached. Includes configurable notification sound, acknowledged
alert persistence, and proactive event fetching for background alerts.
Also mounts ToastContainer globally to fix silent toast failures.
This commit is contained in:
Matthieu MALVACHE
2026-02-16 23:49:35 +01:00
committed by Matthieu MALVACHE
parent 73612313c0
commit fea21d5bcd
24 changed files with 949 additions and 47 deletions
+9 -2
View File
@@ -1097,7 +1097,11 @@
"default_calendar": "Calendário padrão",
"default_reminder": "Lembrete padrão",
"time_format_12h": "12 horas",
"time_format_24h": "24 horas"
"time_format_24h": "24 horas",
"notifications_enabled": "Notificações de eventos",
"notifications_enabled_desc": "Mostrar alertas para eventos próximos",
"notification_sound": "Som de notificação",
"notification_sound_desc": "Reproduzir um som para alertas do calendário"
},
"days": {
"monday": "Segunda-feira",
@@ -1121,7 +1125,10 @@
"event_deleted": "Evento excluído",
"calendar_created": "Calendário criado",
"calendar_deleted": "Calendário excluído",
"event_move_error": "Falha ao mover o evento"
"event_move_error": "Falha ao mover o evento",
"alert_title": "Evento próximo",
"alert_now": "Começa agora",
"alert_in_minutes": "Em {count} min"
},
"status": {
"loading_calendars": "Carregando calendários...",