The first visit stored the detected palette and never listened for
prefers-color-scheme changes, so the theme stopped tracking the OS and
Settings had no System choice.
Do not write that fallback. Subscribe while the preference is missing or
"system", and add a System option in Appearance. New accounts default to
system so Apply does not freeze the snow palette.
- Settings → General gains a classic/modern layout choice; classic is a frozen
snapshot of dev's sidebar and learning dashboard, modern keeps iterating.
Variants differ only through slots, tokens and per-variant CSS on
<html data-ui-layout>; the preference lives in localStorage.
- Modern chrome: warm neutral tokens, WorkspaceMenu header, ⌘K command palette
and keyboard shortcuts, PageBar location strip, swipeable PartnerRoster.
- Remove dead HomeShortcuts, WorkspaceSwitcher and the inline sidebar search
query chain.
Stability release after v1.3.0 covering safer RAG/KB routing, stronger
embedding validation, more reliable Docker/TutorBot restarts, Web UX
fixes, and Windows/encoding hardening. See assets/releases/ver1-3-1.md
for the full notes.
Made-with: Cursor
- Remove generation artifact (IMPLEMENTATION_COMPLETE.md)
- Consolidate duplicate theme checks in settings page
- Simplify theme precedence logic (localStorage > backend)
- Remove all console.log statements from theme code
- Add debounced auto-save (500ms) to prevent API spam
- Centralize theme API with subscriptions and constants
- Improve error handling (silent fails for localStorage)
- Guard all localStorage access for SSR compatibility
Addresses all feedback from @scrrlt review:
- No more redundant theme logic
- Single source of truth for theme operations
- Proper error handling without console noise
- Debounced network calls for better performance