adlee-was-taken
|
783cb7cc2b
|
Merge Plan 1C-β₂: custom fields + settings + generator UI
Final β sub-plan. Adds three cross-cutting UI surfaces on top of β₁'s
typed-item forms:
- Custom-fields editor: collapsible disclosure in every type's edit
form; sections + fields of kind text/password/concealed (other 8
FieldKinds preserved untouched on save). Always-visible below typed
rows in detail mode. Add/remove sections + fields, rename sections.
- Generator inline popover: invoked at every gen-button. Random vs
BIP39 toggle, length/word-count slider, charset checkboxes, live
preview on 150ms debounce. Actions: use-this-value / save-as-default
/ reset-to-defaults / cancel. Shared with the Settings 'configure'
button.
- Full VaultSettings view: trash + field-history retention picks,
generator-default summary + 'configure' link, autofill origin-ack
list with per-host revoke. Save / discard with deep-equal dirty check.
- Two new popup-only messages (get/update_vault_settings) wrapping
α's existing fetchAndDecrypt/encryptAndWriteSettings. NOT in
SETUP_ALLOWED.
- generate_passphrase popup-only message + handler (BIP39 preview).
- VaultSettings TS types tightened (TrashRetention/HistoryRetention
tagged unions; generator_defaults typed as GeneratorRequest;
attachment_caps still opaque pending γ).
- ⚙ toolbar button now opens a 2-option picker (device / vault).
Five-slice execution: 13 commits + 1 mid-slice fix for unsupported-kind
field preservation + Totp kind-toggle disclosure-state. Tests 84 → 124
Vitest (+40); 155 Rust unchanged. Both Chrome + Firefox bundles
compile clean. All lint greps clean.
Tag plan-1c-beta2-complete points at fba50b8 (branch tip).
|
2026-04-24 19:49:34 -04:00 |
|