mitbringsl/backend/internal/httpapi
Tronax 729865be78
Feature: Settings screen with account, theme, profile, reset + credits
Backend:
- New GET/PUT /api/me endpoint to read and update the authenticated
  user's profile (currently display_name). UserStore.UpdateDisplayName.
- Wired into the authed router.

App:
- New SettingsScreen + SettingsViewModel with five sections:
  * Account & Sync: login status, email, server URL, logout, connect.
  * Profile: edit display name (pushed to PUT /api/me when logged in).
  * Appearance: System / Light / Dark theme switch, persisted in
    SessionManager and applied via MitbringslTheme(sessionManager).
  * Data: 'Reset local data' wipes Room tables (server data kept).
  * About: version, 'Developed by Janik Dietz', and credits to
    GLM-5.2 + Gemini 3.6 Flash.
- Theme.kt now reads the user's theme preference (StateFlow) instead
  of only the system default; MainActivity passes SessionManager in.
- Navigation: new SettingsNavKey; settings gear icon in ListsScreen
  top bar; Settings links back to the Sync/Account screen.
- DTOs/API: UpdateMeRequestDto + getMe()/updateMe() for /api/me.
2026-08-06 10:39:12 +02:00
..
api.go Feature: Settings screen with account, theme, profile, reset + credits 2026-08-06 10:39:12 +02:00
auth.go Feature: Server-driven auth method discovery + OIDC-only enforcement 2026-08-06 10:28:12 +02:00
config.go Feature: Server-driven auth method discovery + OIDC-only enforcement 2026-08-06 10:28:12 +02:00
health.go Backend Phase A: foundation, migrations, Docker setup 2026-08-05 15:14:37 +02:00
lists.go Feature: Shared lists & Invite Code invitation mechanism 2026-08-05 20:36:43 +02:00
me.go Feature: Settings screen with account, theme, profile, reset + credits 2026-08-06 10:39:12 +02:00
middleware.go Backend Phase A: foundation, migrations, Docker setup 2026-08-05 15:14:37 +02:00
ops.go Backend Phase C: Sync-Kern + Caddy behind-proxy 2026-08-05 19:56:05 +02:00
render.go Backend Phase A: foundation, migrations, Docker setup 2026-08-05 15:14:37 +02:00
suggest.go Backend Phase C: Sync-Kern + Caddy behind-proxy 2026-08-05 19:56:05 +02:00