Skip to content

Settings

  • File: src/pages/private/settings/index.svelte (+ _cmps/)

Overview

The Settings page lets the user manage their account and preferences. It features three views, switched via tab actions on the left side of the page:

  1. Security (default) — generate a fresh login QR code and set/change the 4-digit PIN (_cmps/qrCode.svelte).
  2. Profile — edit profile image, contact details (phone/email/department/specialty), and per-platform default landing pages (_cmps/Profile.svelte).
  3. Notification — notification preferences: enable notifications, incoming calls, incoming chat message, upcoming scheduled event, new scheduled event invite (_cmps/Notification.svelte, persisted to localStorage).

Behavior

  • Backed by GET /api/contacts/me (GraphQL me) and POST /api/contacts/update (multipart) for profile changes.
  • QR code + PIN flows use GraphQL getQRCode(reCreate) and the resetPin mutation.
  • The Notification tab is currently commented out in index.svelte.

Released under the MIT License.