Appearance
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:
- Security (default) — generate a fresh login QR code and set/change the 4-digit PIN (
_cmps/qrCode.svelte). - Profile — edit profile image, contact details (phone/email/department/specialty), and per-platform default landing pages (
_cmps/Profile.svelte). - Notification — notification preferences: enable notifications, incoming calls, incoming chat message, upcoming scheduled event, new scheduled event invite (
_cmps/Notification.svelte, persisted tolocalStorage).
Behavior
- Backed by
GET /api/contacts/me(GraphQLme) andPOST /api/contacts/update(multipart) for profile changes. - QR code + PIN flows use GraphQL
getQRCode(reCreate)and theresetPinmutation. - The Notification tab is currently commented out in
index.svelte.