docs: TUI wallet surfaces — presentation and flow review (report only) #160
Loading…
Reference in a new issue
No description provided.
Delete branch "onionwire/t_e4eb38a8-onionwire-tui-presentation-flow-review-o"
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?
What this is
A report-only review of the TUI wallet surfaces at
a1f5c87(main), written up indocs/tui-wallet-ux-review.md. One file, no source touched. It exists so the wallet fixes in flight are reviewed for how they read, with rendered frames as the evidence rather than a designer's sense that it looks better now.Sections in the doc: Summary, Method, Frames, Findings (12 rows:
blocker/should-fix/polish, each located by function and line), What is already right, Not examined.Headlines
draw_walletnever draws its body.src/tui.rs:5327-5333gives the body paneConstraint::Length(2)and:5379borders it, so inner height is 0: address, balance, transfers and the child line are invisible at 80x24, 120x40 and 200x60, configured or not. The third frame below is the whole screen.draw_text_overlay(src/tui.rs:3820) computesscroll = wrapped - inner_h, so the SPEND warning readstrust.at 80x24 and one sentence at 120x40; the create-seed frame shows six of twenty-five words at 80x24 and the single wordaboutat 200x60; the?help overlay loses the eight lines that teach navigation.App::new,src/tui.rs:1387-1390), before anything says the install has no wallet.F6on that install exits the process (src/tui.rs:1504->:1438->src/main.rs:30:onionwire: no receive address — set profile xmr or ONIONWIRE_WALLET_RPC) — owned by the siblingrust-devcard; the review's ask is that the state be a screen, not a process exit.F6->wwallet list (designed empty, error and reading states; cell-measured fixed columns;+ create new walletalways last and always marked) and theF9menu's shape. The doc says so explicitly so the next person does not "fix" the deliberate choices.Evidence
The wallet frames are in the doc. The ones this PR rests on:
First run, 80x24 — the security warning, whole frame, nothing typed
First run, 120x40
F6 wallet screen, unconfigured, 80x24 — no body at any width
F6 ->
w, empty list, 80x24 (real render path)F9 WALLETS & SETTINGS, unconfigured, 80x24 (real render path)
The F6 footer the app builds and never draws, 80x24 — the fit loop eats the front
The help line F6 actually draws (
src/tui.rs:5373)Method notes
onionwire::tui::cell_width), neverchars().count().draw_walletanddraw_wallet_setupare private, so those surfaces are RECONSTRUCTED frames: layout constants and copy copied verbatim fromsrc/tui.rs:5277-5384and:5386-5452, drawn through the real publicdraw_text_overlay. The card forbids changes undertests/, so the scratch driver is not committed; it and the raw dumps are attached to the task, and a follow-up should add these dumps totests/tui_frames.rsso private-screen frames live in the repo.draw_wallet_select,draw_wallets_settings,draw_text_overlay,status_footer_phased) with the same footersApp::drawcomposes.Scope
docs/tui-wallet-ux-review.mdonly. Nosrc/,tests/,android/or otherdocs/*.mdfile is touched. Findings that propose a change to a file this card may not edit name the file and line and leave the change to the owning card.