fix(desktop): M9-audit batch D — wipe-flow state machine + decoy settings gate #189

Merged
amiryahaya merged 1 commit from fix/m9-audit-desktop-ui into main 2026-11-12 07:51:13 +01:00
Owner

Closes #179 (wipe-match/arm-failure fallback), UI half of #173 (umbrella #167; #173 fully closes with the Rust tree guard + docs amendment in batch C/F).

#179/#12 UnlockScreen wipe flow: idle → arming → armed → failed → cancelled. Arm failure keeps a Retry panel — the default unlock card can no longer reappear after the wipe gesture. Cancel failure routes to retry instead of losing state.
#173 UI SettingsPage gates real-account sections on active_tree — decoy sessions see device prefs + DecoyVaultSection only.

New tests: arm-failure/retry, decoy gating. Desktop suite 1316/1skip, lint clean (1 pre-existing warning).

Closes #179 (wipe-match/arm-failure fallback), UI half of #173 (umbrella #167; #173 fully closes with the Rust tree guard + docs amendment in batch C/F). **#179/#12** UnlockScreen wipe flow: idle → arming → armed → failed → cancelled. Arm failure keeps a Retry panel — the default unlock card can no longer reappear after the wipe gesture. Cancel failure routes to retry instead of losing state. **#173 UI** SettingsPage gates real-account sections on active_tree — decoy sessions see device prefs + DecoyVaultSection only. New tests: arm-failure/retry, decoy gating. Desktop suite 1316/1skip, lint clean (1 pre-existing warning).
fix(desktop): M9-audit batch D — wipe-flow state machine + decoy settings gate (#179 partially, #173 UI side)
All checks were successful
Security CI / security-scan (pull_request) Successful in 3m53s
3d9c707e16
#12/#179: UnlockScreen wipe flow is now a state machine (idle → arming →
armed → failed → cancelled). Arm failure keeps the dedicated panel with
Retry arming — the default unlock card can no longer reappear right
after the wipe gesture (one click into the real workspace closed).
Cancel failure routes back to the retry panel instead of losing state.

#173 (UI side): SettingsPage fetches active_tree on mount; decoy
sessions see a notice + device-level prefs + DecoyVaultSection only —
account, linked logins, devices, unlock-passphrase, wipe, and recovery
sections are hidden (the shared API token makes them real-account
surfaces; the server cannot distinguish by design).

Tests: arm-failure/retry flow, decoy gating; desktop suite green
(MySharesPage flake seen once under parallel load, green standalone +
on rerun — pre-existing).
Sign in to join this conversation.
No description provided.