Appearance
Notifications
- Frontend:
src/routes/private/notifications/· Backend:Features/Environments/(notices)
Overview
Platform notifications are per-environment notices broadcast to users. Operators create, edit, and clear notices with a start/end date. On the client side, the notice is surfaced through the API (myNotice in hvc-api) and acknowledged per user.
GraphQL operations
| Operation | Purpose |
|---|---|
saveNotification(SaveNotification) | Create/update a notice |
clearNotification(ClearNotification) | Remove the notice |
notices(environmentId) | Read the current notices for an environment |
How notices reach users
- Operator saves a notice for an environment.
hvc-apiexposes it to clients via GraphQLmyNotice(per user) — see Api — Contacts.- Users acknowledge it with
POST /api/contacts/notificationSeen/{noticeId}.
Related
- Environments — notices are scoped per environment.
- Web Settings — Notification — user-side notification prefs.