Files
headquarter/openspec/changes/user-config-management/proposal.md
T
Fusion 94254ee3fd feat: complete user config management
- Add theme support with dark/light/system modes
- Add useTheme hook for applying user config theme
- Update router to use SettingsPage
- Update app-shell to apply theme on load
- Add CSS variables for dark theme
- Fix mypy errors in user_config.py
- Quality gates pass: ruff, mypy, typecheck, lint, build
2026-05-18 15:58:01 +02:00

628 B

Why

Users need to store preferences and settings (theme, editor, git identity) that persist across sessions.

What Changes

  • Add UserConfig model for JSONB key-value storage
  • Add API endpoints for get/update user config
  • Add frontend settings page
  • Apply theme preference in frontend

Capabilities

New Capabilities

  • user-config-management: Store and manage user preferences

Modified Capabilities

  • user-profile: Include config in profile responses

Impact

  • New database model and migration
  • New API endpoints under /users/me/config
  • New frontend settings page
  • Theme application in AppShell