tui: send/tip flow screen with readiness guard, view-only badge, and no-address refusal #82

Merged
sirius merged 1 commit from wt/t_78f0cb32 into wt/t_7719eda3 2026-09-16 04:40:01 +00:00

2026-09-16

agent
tui: send screen readiness guard + view-only badge + no-address refusal
All checks were successful
ci / test (pull_request) Successful in 4m26s
ci / sdk (pull_request) Successful in 1m15s
Send screen now carries WalletReadiness and no_spend fields, populated
from Node::wallet_readiness at form open. The confirm line reflects:
- readiness refusal (NOT_CONFIGURED_MSG / NOT_CONNECTED_MSG / VIEW_ONLY_MSG)
- friend has no address (NO_ADDRESS_MSG)
- no recipient
- amount invalid
- ready (Enter)

Spend badge 'view-only — /tip off' shown on both /tip and /pay when the
wallet is no-spend. send_form_confirm_enabled() gates Enter dispatch.

Tests: 10 new tests for readiness states, amount errors, badge visibility,
and width fit at all readiness states.
2026-09-16 00:30:17 -04:00