feat(send): harden the confirm dialog (UX audit F010/F011/F029/F053/F054)

First batch of the 2026-11 UX audit, Send surface — the pre-broadcast confirm:

- F029: round the amount-bar drag to satoshi precision, so the value reviewed in
  the confirm is exactly what's sent / affordability-checked (text entry already
  rounded).
- F011: wrap the memo in the confirm (a long / multi-line memo was clipped off
  the card), and repeat the transparent-source privacy warning on the confirm,
  not just the compose form.
- F054: flag a recipient with no saved label and no prior send to it ("New
  recipient — verify the full address") and show its first/last characters for an
  easy compare — the clearest cue against a swapped/clipboard address.
- F053: on the live re-validation at Confirm, name the specific reason (not
  connected / syncing / no tip / no amount / can't afford) instead of one generic
  "cannot send now", reusing the disabled-Review reason chain.
- F010: a locked encrypted lite wallet now tells the user to unlock and closes
  the confirm, instead of silently doing nothing behind it.

3 new strings (English; locales fall back). Build + tests green. Decisions pulled
from the tracked audit artifact (F054 = option a).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 12:26:13 -06:00
co-authored by Claude Opus 4.8
parent 6bb72f9878
commit 47b93252ff
2 changed files with 51 additions and 3 deletions
+3
View File
@@ -2793,6 +2793,9 @@ void I18n::loadBuiltinEnglish()
strings_["send_maybe_sent"] = "This transaction may already have been broadcast (the reply was lost). Do NOT send again yet - check History first.";
strings_["send_tx_sent"] = "Transaction sent!";
strings_["send_cannot_send_now"] = "Cannot send now — check connection, sync, and available balance.";
strings_["send_new_recipient_warn"] = "New recipient — verify the full address matches where you mean to send.";
strings_["send_verify_ends"] = "Check the ends: ";
strings_["send_wallet_locked_unlock"] = "Wallet is locked — enter your passphrase, then send again.";
strings_["send_tx_success"] = "Transaction sent successfully!";
strings_["send_status_unconfirmed"] = "Transaction status could not be confirmed";
strings_["send_err_needs_rescan"] = "Your wallet's shielded note data is out of date with the blockchain (this happens after a bootstrap or reindex). Run a full rescan via Settings -> Rescan Blockchain and let it finish completely, then try sending again.";