tui: drop the F9 menu that restates F6 and F7 #178

Merged
sirius merged 1 commit from onionwire/t_7121b6ba-onionwire-tui-drop-the-menu-that-restate into main 2026-10-08 21:24:42 +00:00
Owner

Decision

Deleted Screen::WalletsSettings. Nothing on it was unique: the WALLET rows restated F6 and F7, the SETTINGS rows restated composer commands, and colour had no key. No second menu remains.

Still reachable

  • Peer payments: p on Main, roster or chat. The composer still types the letter. No friend selected shows no friend selected.
  • Backup: /backup from the composer, named in ? help. /restore, /wipe, /wipe-all the same.
  • Profile: /profile from the composer, named in ? help.

F6 stays the wallet. F7 stays the node. Ctrl-S was not moved back onto F6.

The default onionwire binary includes the in-process daemon. docs/TUI.md says so. The chain row still shows the rebuild message only on a build that left the feature out. NO_FEATURE_MSG and the chain-row code were not touched.

Before — F9 menu, 80x24

┌(o) wallets & settings────────────────────────────────────────────────────────┐
│WALLET ───────────────────────────────────────────────────────────────────────│
│  endpoint   configured · connected                                         F7│
│  child      local node · running                                  F7 ctrl-s/x│
│  sync       chain at tip · wallet answering                         F7 ctrl-r│
│  receive    4AdUndXHHZ6cfufTMvppY6JwXNouMBzSkbLYfpAV5Usx3skxNgY… c copy  F6 r│
│  balance    0.250000000000                                                 F6│
│  transfers  3 recent                                                       F6│
│  payments   3 with lance                                                    p│
│  create     /wallet create · seed shown once                             F6 c│
│  import     /wallet import · 25-word seed                                F6 i│
│                                                                              │
│SETTINGS ─────────────────────────────────────────────────────────────────────│
│  nickname   lance                                                    /profile│
│  profile    bio set · xmr set                                        /profile│
│  identity   abcdef01… · identity = pubkey                                  F2│
│  colour     auto · follows NO_COLOR / TERM                                   │
│  backup     encrypted identity export                                 /backup│
│  restore    overwrite self keys from a backup                        /restore│
│  wipe       messages · identity and friends stay                        /wipe│
│  wipe-all   deletes your identity key · new person                  /wipe-all│
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
✓ TOR ready  me:abcdef01… onion:abcdefgh… Esc back c copy ? help

80: ✓ TOR ready me:abcdef01… j k g G ends F4 rotate F7 setup F9 ? help
120: ✓ TOR ready me:abcdef01… j k g G ends F4 rotate F7 setup F9 ? help

After — F6 wallet, 80x24 (App::draw)

┌wallet────────────────────────────────────────────────────────────────────────┐
└──────────────────────────────────────────────────────────────────────────────┘
┌──────────────────────────────────────────────────────────────────────────────┐
│address                                                                       │
│  no address                                                                  │
│                                                                              │
│balance                                                                       │
│  off                                                                         │
│                                                                              │
│recent transfers                                                              │
│  (none)                                                                      │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
c create  i import  r qr  w wallets  F7 node  Esc back

After — F7 node, 80x24 (App::draw)

┌(o) wallet setup · F7─────────────────────────────────────────────────────────┐
│WALLET RPC ───────────────────────────────────────────────────────────────────│
│> url        (none)                                                           │
│  login      (none) · type user:pass                                          │
│  view-only  no · this wallet can spend                                       │
│                                                                              │
│CHAIN SOURCE ─────────────────────────────────────────────────────────────────│
│  chain      receive-only · no chain, no spend  (space changes)               │
│  daemon     127.0.0.1:18081                                                  │
│  monerod    monerod                                                          │
│  datadir    …/home/chain/m…                                                  │
│  prune      no · full chain store                                            │
│  network    mainnet · unvalidated  (space changes)                           │
│                                                                              │
│NODE ─────────────────────────────────────────────────────────────────────────│
│node  not configured · pick a chain source and ctrl-s                         │
│keys      ctrl-s save + start  ctrl-x stop  ctrl-r re-read                    │
│last      nothing saved yet · enter saves, ctrl-t tests                       │
└──────────────────────────────────────────────────────────────────────────────┘
no wallet configured · c create or i impo… … TOR connecting  me:… ? help

F7 at 120x40 keeps the same body and the full footer:
no wallet configured · c create or i import, or set ONIONWIRE_WALLET_RPC … TOR connecting me:… test ? help

F6 at 120x40 is the same two panes and the same hint, with the hint as the last line.

80: ✓ TOR ready me:abcdef01… j k g G p pay F6 wallet F7 setup ? help
120: ✓ TOR ready me:abcdef01… j k g G p pay F6 wallet F7 setup ? help

Help (?) lists F6, F7, p peer payments, /profile, /backup, /restore, /wipe, /wipe-all. It does not list F9 or /settings.

Evidence

cargo test --locked exit 0. Lib 140 passed. tui_chrome 18, tui_frames 12, tui_payments 12, tui_spec 30, tui_select 16, all passed. Three Tor tests ignored (needs live Tor network).

cargo clippy --locked --all-targets -- -D warnings exit 0 (Finished dev profile).

Not verified: a live wallet RPC, Cuprate launch, Android.

## Decision Deleted `Screen::WalletsSettings`. Nothing on it was unique: the WALLET rows restated F6 and F7, the SETTINGS rows restated composer commands, and `colour` had no key. No second menu remains. ## Still reachable - Peer payments: `p` on Main, roster or chat. The composer still types the letter. No friend selected shows `no friend selected`. - Backup: `/backup` from the composer, named in `?` help. `/restore`, `/wipe`, `/wipe-all` the same. - Profile: `/profile` from the composer, named in `?` help. F6 stays the wallet. F7 stays the node. `Ctrl-S` was not moved back onto F6. The default `onionwire` binary includes the in-process daemon. `docs/TUI.md` says so. The chain row still shows the rebuild message only on a build that left the feature out. `NO_FEATURE_MSG` and the chain-row code were not touched. ## Before — F9 menu, 80x24 ``` ┌(o) wallets & settings────────────────────────────────────────────────────────┐ │WALLET ───────────────────────────────────────────────────────────────────────│ │ endpoint configured · connected F7│ │ child local node · running F7 ctrl-s/x│ │ sync chain at tip · wallet answering F7 ctrl-r│ │ receive 4AdUndXHHZ6cfufTMvppY6JwXNouMBzSkbLYfpAV5Usx3skxNgY… c copy F6 r│ │ balance 0.250000000000 F6│ │ transfers 3 recent F6│ │ payments 3 with lance p│ │ create /wallet create · seed shown once F6 c│ │ import /wallet import · 25-word seed F6 i│ │ │ │SETTINGS ─────────────────────────────────────────────────────────────────────│ │ nickname lance /profile│ │ profile bio set · xmr set /profile│ │ identity abcdef01… · identity = pubkey F2│ │ colour auto · follows NO_COLOR / TERM │ │ backup encrypted identity export /backup│ │ restore overwrite self keys from a backup /restore│ │ wipe messages · identity and friends stay /wipe│ │ wipe-all deletes your identity key · new person /wipe-all│ │ │ └──────────────────────────────────────────────────────────────────────────────┘ ✓ TOR ready me:abcdef01… onion:abcdefgh… Esc back c copy ? help ``` ## Before — main footer 80: `✓ TOR ready me:abcdef01… j k g G ends F4 rotate F7 setup F9 ? help` 120: `✓ TOR ready me:abcdef01… j k g G ends F4 rotate F7 setup F9 ? help` ## After — F6 wallet, 80x24 (App::draw) ``` ┌wallet────────────────────────────────────────────────────────────────────────┐ └──────────────────────────────────────────────────────────────────────────────┘ ┌──────────────────────────────────────────────────────────────────────────────┐ │address │ │ no address │ │ │ │balance │ │ off │ │ │ │recent transfers │ │ (none) │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └──────────────────────────────────────────────────────────────────────────────┘ c create i import r qr w wallets F7 node Esc back ``` ## After — F7 node, 80x24 (App::draw) ``` ┌(o) wallet setup · F7─────────────────────────────────────────────────────────┐ │WALLET RPC ───────────────────────────────────────────────────────────────────│ │> url (none) │ │ login (none) · type user:pass │ │ view-only no · this wallet can spend │ │ │ │CHAIN SOURCE ─────────────────────────────────────────────────────────────────│ │ chain receive-only · no chain, no spend (space changes) │ │ daemon 127.0.0.1:18081 │ │ monerod monerod │ │ datadir …/home/chain/m… │ │ prune no · full chain store │ │ network mainnet · unvalidated (space changes) │ │ │ │NODE ─────────────────────────────────────────────────────────────────────────│ │node not configured · pick a chain source and ctrl-s │ │keys ctrl-s save + start ctrl-x stop ctrl-r re-read │ │last nothing saved yet · enter saves, ctrl-t tests │ └──────────────────────────────────────────────────────────────────────────────┘ no wallet configured · c create or i impo… … TOR connecting me:… ? help ``` F7 at 120x40 keeps the same body and the full footer: `no wallet configured · c create or i import, or set ONIONWIRE_WALLET_RPC … TOR connecting me:… test ? help` F6 at 120x40 is the same two panes and the same hint, with the hint as the last line. ## After — main footer 80: `✓ TOR ready me:abcdef01… j k g G p pay F6 wallet F7 setup ? help` 120: `✓ TOR ready me:abcdef01… j k g G p pay F6 wallet F7 setup ? help` Help (`?`) lists F6, F7, `p` peer payments, `/profile`, `/backup`, `/restore`, `/wipe`, `/wipe-all`. It does not list F9 or `/settings`. ## Evidence `cargo test --locked` exit 0. Lib 140 passed. tui_chrome 18, tui_frames 12, tui_payments 12, tui_spec 30, tui_select 16, all passed. Three Tor tests ignored (`needs live Tor network`). `cargo clippy --locked --all-targets -- -D warnings` exit 0 (`Finished dev profile`). Not verified: a live wallet RPC, Cuprate launch, Android.
tui: drop the F9 menu that restates F6 and F7
All checks were successful
ci / test (pull_request) Successful in 7m40s
ci / sdk (pull_request) Successful in 1m42s
4e13242a44
The Wallets & Settings screen only named keys that already work. F6 is the
wallet, F7 is the node, and p on the roster or chat opens peer payments.
Profile, backup and wipe stay composer commands, named in help.
sirius merged commit d89539e8b0 into main 2026-10-08 21:24:42 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sirius/onionwire!178
No description provided.