From 2a0751e759fd1d68c14fcd5396db429f679e60cd Mon Sep 17 00:00:00 2001 From: Arnaud Dartois Date: Fri, 13 Nov 2026 12:09:13 +0100 Subject: [PATCH] docs: align technical spec notification summary (#397) --- docs/specs.md | 13 +++++++------ skills/notification-center/SKILL.md | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/specs.md b/docs/specs.md index 3d54ed3..c1f5ed2 100644 --- a/docs/specs.md +++ b/docs/specs.md @@ -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` diff --git a/skills/notification-center/SKILL.md b/skills/notification-center/SKILL.md index 1b6f597..9cf73f8 100644 --- a/skills/notification-center/SKILL.md +++ b/skills/notification-center/SKILL.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.