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
4ecd73e79f
commit
cee53cfd73
6 changed files with 766 additions and 12 deletions
|
|
@ -116,7 +116,7 @@ stored config set in **F7** wins at boot. See *Stored wallet config* below.
|
|||
## Stored wallet config (no env required)
|
||||
|
||||
Editing env vars is a deployment step, not a UI step. The TUI's **F7** screen
|
||||
sets the same three fields and stores them, so a desktop install never needs env
|
||||
(`draw_wallet_config`) sets the same three fields and stores them, so a desktop install never needs env
|
||||
at all:
|
||||
|
||||
| Field | Meaning |
|
||||
|
|
|
|||
Loading…
Reference in a new issue