docs: align notification summary in technical spec #398
No files matched your search
+7
-6
@@ -176,12 +176,13 @@ Voir `docs/hangfire-usage.md` pour le code complet de chaque job.
|
||||
|
||||
## Notifications — `docs/notifications.md`
|
||||
|
||||
- Email SMTP (FluentEmail), Gotify push
|
||||
- Templates Markdown avec Scriban, variables, fallback i18n
|
||||
- Templates éditables depuis l'UI Admin
|
||||
- File Hangfire avec retry (3 tentatives)
|
||||
- Résumés quotidiens/hebdomadaires planifiés
|
||||
- Voir `docs/notifications.md` pour le détail complet
|
||||
Les notifications in-app sont consultables dans `/notifications`. Les canaux
|
||||
externes livrés sont l’email SMTP et ntfy; les administrateurs configurent et
|
||||
testent ces services dans `/settings`, tandis que les préférences individuelles
|
||||
et les options de résumé se règlent dans `/profile`. Les digests quotidien et
|
||||
hebdomadaire sont planifiés par les jobs Hangfire actuels. Voir
|
||||
[`docs/notifications.md`](notifications.md) pour les endpoints, les contrôles
|
||||
d’accès, la cadence et les limites de validation SMTP/ntfy.
|
||||
|
||||
## Stockage & Rétention — `docs/hangfire-usage.md`
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ description: Implement and accept the authenticated Heimdall in-app notification
|
||||
|
||||
The header bell is rendered by `Components/Shared/NotificationBadge.razor`; it displays the unread count delivered by `NotificationsHubClient` and must navigate to `/notifications`. The page reads the signed-in user's list through `HeimdallApiClient` and the existing `GET /api/notifications` endpoint. Read actions use the existing per-user `POST /api/notifications/{id}/read` and `POST /api/notifications/mark-all-read` endpoints, then refresh the hub count. Keep authorization on the page and user scoping in the API/application handlers; never accept a user id from the browser.
|
||||
|
||||
When documenting delivery channels, verify `NotificationChannel`, `SendNotificationJob`, `NotificationSettingsSection.razor`, `Profile.razor`, the delivery services, and `BackgroundJobs/JobSetup.cs`. The shipped external channels are SMTP email and ntfy; do not describe Gotify as integrated. `/settings` owns global SMTP/ntfy settings and test actions, while `/profile` owns user preferences. Check both digest job implementations and their schedules before documenting cadence. Distinguish source inspection from validation against a real SMTP/ntfy deployment. Remove obsolete channel integrations, editor flows, and test claims from `docs/notifications.md`; if a historical example must remain, label that exact heading/table/snippet locally rather than relying on a broad notice elsewhere in the guide. When the notification guide’s scope or delivered status changes, update both notification summaries in `docs/README.md` to match it.
|
||||
When documenting delivery channels in `docs/notifications.md` or its summary in `docs/specs.md`, verify `NotificationChannel`, `SendNotificationJob`, `NotificationSettingsSection.razor`, `Profile.razor`, the delivery services, and `BackgroundJobs/JobSetup.cs`. The shipped external channels are SMTP email and ntfy; do not describe Gotify as integrated. `/settings` owns global SMTP/ntfy settings and test actions, while `/profile` owns user preferences. Check both digest job implementations and their schedules before documenting cadence. Distinguish source inspection from validation against a real SMTP/ntfy deployment. Remove obsolete channel integrations, editor flows, and test claims from `docs/notifications.md` and `docs/specs.md`; if a historical example must remain, label that exact heading/table/snippet locally rather than relying on a broad notice elsewhere in the guide. When the notification guide’s scope or delivered status changes, update both notification summaries in `docs/README.md` to match it.
|
||||
|
||||
When legacy notification designs remain in `docs/MASTER_SPECIFICATION.md`, put a local dated historical/non-shipped note beside each section, queue example, or UI mockup, and link to `docs/notifications.md`. A document-level historical header alone is not sufficient for Gotify or template-editor claims.
|
||||
|
||||
|
||||
Reference in new issue
Block a user