tui: F7 wallet config screen + wallet/chain setup redesign + doc sync #84
Loading…
Reference in a new issue
No description provided.
Delete branch "wt/t_7719eda3"
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?
Final card of the TUI redesign chain.
What this PR does
F7 wallet-config screen (Screen::WalletConfig):
/tip offconsequence linesaved · not connected,connected — <label>, orerror: <short>·bullets + username visible, password masked — distinguishable without colorRedraw draw_wallet_setup / draw_chain_setup:
Help + footer:
Docs reconciled:
Verification
Frame evidence (real draw_wallet_config via TestBackend)
80x24 — idle, rpc_url focused, no_spend on
80x24 — testing connection (focus on action)
80x24 — tested-fail, NO_COLOR
80x24 — masked vs revealed, NO_COLOR (distinguishable without color)
The word
[reveal]vs[hide]distinguishes state in NO_COLOR; the dots never show the password.120x40 — idle, no_spend on
Wallet setup screen — CreateWarn (spend-authority warning unavoidable)
The SPEND_AUTHORITY_WARNING text is the body; user types
SPENDto confirm, Esc to cancel. Zeroizing buffers wipe on Esc/mismatch/submit.README key table — before/after
Before (base):
| F6 | Wallet screen (address, chain, transfers) |
| F6 s | Chain source: receive-only / local / remote |
| F6 n | Start or stop the app-owned daemon |
After:
| F6 | Wallet screen (address, chain, transfers) |
| F6 s | Chain source: receive-only / local / remote |
| F6 n | Start or stop the app-owned daemon |
| F6 h | Show receive address / seed phrase |
| F7 | Wallet config (RPC URL, login, spend) |
Password leak guard proof
wallet_config_password_never_leaks_in_any_statusrenders all config stateswith
user:supersecret123as the login and asserts FIXTURE_PASS is absentfrom the frame. The redaction path: ConfigStatus::line() calls
wallet::redact(e, WalletConfig::new("", login, false).secret()) — the password
is replaced with before any status text is assembled.
Changed files
04d9f436e5ad5a3ae68ead5a3ae68ecee53cfd73