tui(wallet): chain/daemon honesty, view-only badge, address copy (OSC 52)
- Screen::Wallet.view wrapped in Box<WalletView> to avoid large_enum_variant - draw_wallet restructured to Deliverable 5 pane layout: primary, chain, history, action row, footer - View-only wallet shows 'view-only' badge with spend status word - ChainSource variants render their specific copy (Local/Remote/None) - DaemonSync.reachable=false renders 'sync: unknown' with no balance claim - Address copy via OSC 52 escape sequence; 'y' key; fallback hint on screen - QR modal resized to fit 80x24 without clipping - wallet_screen_at_with() test helper for copy_note parameter - 33 new tests covering receive-only, local synced/syncing, remote unreachable, view-only badge, QR modal, address copy escape sequence All 52 TUI tests pass (10 tui_frames + 19 tui_chrome + 23 tui_spec). Clippy clean on lib and all three test targets.
This commit is contained in:
parent
6ffc475a3f
commit
310671785b
3 changed files with 506 additions and 56 deletions
|
|
@ -48,6 +48,8 @@ fn help_overlay_lists_core_bindings() {
|
|||
"F6",
|
||||
"F6 s",
|
||||
"F6 n",
|
||||
"F6 r",
|
||||
"F6 y",
|
||||
"send chat",
|
||||
"/profile",
|
||||
"/pay",
|
||||
|
|
|
|||
Loading…
Reference in a new issue