Skip to content

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

OperationPurpose
saveNotification(SaveNotification)Create/update a notice
clearNotification(ClearNotification)Remove the notice
notices(environmentId)Read the current notices for an environment

How notices reach users

  1. Operator saves a notice for an environment.
  2. hvc-api exposes it to clients via GraphQL myNotice (per user) — see Api — Contacts.
  3. Users acknowledge it with POST /api/contacts/notificationSeen/{noticeId}.

Released under the MIT License.