tui: F7 wallet config screen + wallet/chain setup redesign + doc sync
Implement the F7 wallet-endpoint config screen (Screen::WalletConfig): - Fields: rpc_url, rpc_login masked with reveal toggle, no_spend checkbox - Test connection (t → PingResult::line), Save (s → wallet_save_config) - Status line: 'saved · not connected', 'connected — ...', 'error: ...' - NO_COLOR distinguishability: '·' bullets, username visible, password masked - Password never leaks: WalletConfig::secret() redaction on all status lines - ConfigField cycle (Tab/Esc), footer hints, help overlay entries Redraw draw_wallet_setup (CreateWarn→CreatePass→CreateSeed→ImportPass, CreateWarn→ImportSeq→ImportPass) with spend-authority warning, SEEN challenge, zeroizing buffers preserved on submit/mismatch/Esc. Update help_overlay_text() with F6 h, F7, copy key; main_footer_hints() for F7. Extend tui_chrome.rs needle list (F6 h, F7 added). Reconcile docs: README key table gains F6 s/n/h and F7; WALLET.md wallet-screen paragraph updated; TUI.md Deliverable 5 marked implemented with after frames for each config state at 80x24 and 120x40. Tests: 30 tui_spec (incl. 7 new wallet-config tests), tui_chrome green. cargo test --locked: 0 failures. cargo clippy --all-targets: clean.
This commit is contained in:
parent
6ffc475a3f
commit
04d9f436e5
6 changed files with 772 additions and 12 deletions
|
|
@ -48,6 +48,8 @@ fn help_overlay_lists_core_bindings() {
|
|||
"F6",
|
||||
"F6 s",
|
||||
"F6 n",
|
||||
"F6 h",
|
||||
"F7",
|
||||
"send chat",
|
||||
"/profile",
|
||||
"/pay",
|
||||
|
|
|
|||
Loading…
Reference in a new issue