feature: add account-linked theme preference (/me/theme/) #20
No reviewers
Labels
No labels
breaking
bug
ci
dependencies
documentation
feature
security
skip-changelog
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
argus/backend!20
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/theme-preference"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #19
Lets a user choose one of three visual identities for the frontend, synced across devices via a new
UserPreferencesrow rather than left to browser-local storage.UserPreferencesmodel (one-to-one with the user),themefield with 3 choices, defaulteditorial-eleveGET /me/returns the current theme (falls back to the default when no preference row exists yet)PUT /me/theme/saves the choice, rejects anything outside the 3 allowed slugs181/181 tests, pylint 10/10, bandit 0,
makemigrations --checkclean. Verified end to end against a real running dev server (login, GET/PUT, invalid-choice rejection), not just the test suite.🤖 Generated with Claude Code
https://claude.ai/code/session_014HiJrn6J6vhyFfC2qyY4uh
📊 Rapports Argus pour cette PR