refactor: reorganize security settings by domain - #7
Conversation
Backups and vault-location actions were mixed into the security dialog despite being data-management concerns, auto-lock was split between the gear dropdown (timeout) and the modal (triggers), and Key file had far less prominence than Change password despite similar criticality. Moves Vault Location/Save copy/Backups into the gear dropdown, unifies auto-lock timeout + triggers in one section, and groups Password and Key file under a new Authentication section so both open their own flow with equal visual weight. Fixes #6
|
React Doctor found 5 issues in 2 files · 5 warnings · score 80 / 100 (Needs work) · vs 5 warnings
|
Summary
components/ui/primitives, no changes toKeyFileSetting's internal wizard logic (that extraction into its own dialog is part 2).ChangePasswordDialog, now owned by this dialog) and Key file with equal visual weight; removed the Backups section (moved to dropdown); condensed the 3 previously-readonly checkbox rows into one "Always-on protections" info paragraph.Test plan
pnpm validate(typecheck + lint + format) passespnpm dev: auto-lock timeout persists, dropdown shows the new grouping, backups folder opens, change-password flow closes/opens correctly, key file wizard still works in its new location, remaining toggles persist