User Interface medium complexity mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

Full-screen settings interface exposing per-category toggles for push, email, and SMS notification channels. Renders current preference state from NotificationPreferencesService and dispatches user changes immediately. Handles loading and error states gracefully with inline feedback.

Feature: Notification Settings

notification-settings-screen

Sources & reasoning

Notification settings are a necessary companion to the push and scenario features documented at line 116. HLF's Phase 2 scenario-based notifications imply user control over alert frequency and channel. Blueprint marks this [v1.0], aligning with the Phase 2 placement in the source roadmap (→ v1.0).

  • docs/source/likeperson.md · line 116
    Oppfølging av likepersoner: 40 % var ikke fornøyd med oppfølgingen i spørreundersøkelse. Scenariobaserte push-meldinger og kalendersynkronisering.

Responsibilities

  • Render toggles for each notification category and channel combination
  • Load current preferences on mount via NotificationPreferencesService
  • Dispatch preference updates when toggles are changed by the user
  • Display save confirmation or error feedback inline

Interfaces

render(): JSX.Element
onToggleChange(category: string, channel: 'push' | 'email' | 'sms', enabled: boolean): void

Related Data Entities (1)

Data entities managed by this component