tui(history): payment history and tx detail screen #83

Merged
sirius merged 4 commits from wt/t_935bf84e into feat/wallet-create-import 2026-09-16 04:01:38 +00:00

2026-09-15

agent
docs(tui): add payment history after frames to Deliverable 5
All checks were successful
ci / test (pull_request) Successful in 3m59s
ci / sdk (pull_request) Successful in 1m1s
Render command + 80x24 frames for empty, mixed verified/unverified,
detail view with hostile memo sanitized, and ASCII fallback.

Signed-off-by: tui-design <tui-design@hermes>
2026-09-15 21:39:05 -04:00
agent
tui(history): add F6 h needle + PR frame dump for hostile memo
All checks were successful
ci / test (pull_request) Successful in 4m1s
ci / sdk (pull_request) Successful in 58s
- Add 'F6 h' to tests/tui_chrome.rs needle list (help_overlay_text already
  documents the history binding; test must assert it)
- Add dump_history_pr_frames to tests/tui_frames.rs: empty, mixed
  verified/unverified list, detail view, and hostile memo (C0 + bidi) at
  80x24 and 120x40

Signed-off-by: tui-design <tui-design@hermes>
2026-09-15 21:37:30 -04:00
agent
tui(history): payment history and tx detail screen (card t_935bf84e)
All checks were successful
ci / test (pull_request) Successful in 4m30s
ci / sdk (pull_request) Successful in 1m19s
Add Screen::History with draw_history, history_row_text, history_detail.
- Per-friend payment list: direction marker, amount, verified state, age, txid
- Enter opens detail view; Esc closes
- h key from main + wallet opens history via Node::list_payments
- Empty state: 'no payments with this friend yet'
- ASCII fallback: drops ✓/✗ glyphs, uses words only
- Peer text (memo, address) sanitized via display_text
- Tests: 5 new in tui_spec.rs (row text, detail, empty, ascii), 2 frame dumps in tui_frames.rs

Signed-off-by: tui-design <tui-design@hermes>
2026-09-15 21:29:40 -04:00