Files
ObsidianDragon/src/util
DanSandClaude Opus 4.8 2b16556990 feat(wizard/security): reveal toggles, disabled-reasons, whitespace guards, themed colors, secret auto-hide (12 findings)
UX audit, Wizard/Security surface — all 12 findings. (Edits analyzed in parallel per file,
then each old_string verified against the file, logic reviewed, and built/tested together.)

Wizard (app_wizard.cpp):
- F019: show/hide reveal toggle on the encryption-step passphrase fields + shared
  character-class strength downgrade (matches the Settings Encrypt dialog).
- F066: the encryption-step Skip arms to a wide, error-styled "Skip anyway (unencrypted)"
  and disarms on outside interaction.
- F086: enlarge the strength/too-short caption buffers (64/80 -> 256) and wrap them so
  long de/ru/ja translations don't truncate.

Security dialogs (app_security.cpp):
- F018: the Change-passphrase dialog states why the button is disabled (current missing /
  too short / mismatch / must differ) and gains a reveal checkbox over all three fields.
- F036: the Encrypt and Change dialogs reject a passphrase with leading/trailing space/tab
  (matches the wizard) instead of silently accepting it.
- F068: Encrypt / PIN / Decrypt / lock-screen colors use theme tokens instead of raw
  ImVec4/IM_COL32.

Key export (export_all_keys_dialog.cpp, key_export_dialog.cpp):
- F017: export-all-keys shows "Unlock first" + an Unlock button and disables Export while
  the wallet is locked; a plaintext-file caution persists on full or partial export.
- F067: the "Exporting X of N" counter is now an atomic incremented per address (live).
- F035: the key-export card width scales the padding by dpiScale().
- F099: Retry re-dispatches the fetch directly, and a revealed key/QR auto-hides after ~60s
  with a countdown. Choice a.

Validate address (validate_address_dialog.cpp):
- F037: RPC failures show util::friendlyRpcError() instead of raw daemon text.
- F098: Paste strips whitespace into the field and auto-validates via the same handler.
  Choice a.

New strings (English). Build + tests + hygiene green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-20 16:10:49 -06:00
..
2026-02-27 00:26:01 -06:00