Skip to content

feat(address-book): Send picks the recipient from the address book - #1643

Merged
juanky201271 merged 5 commits into
devfrom
feat/send-contact-picker
Oct 15, 2026
Merged

juanky201271 merged 5 commits into
devfrom
feat/send-contact-picker

Conversation

@juanky201271

@juanky201271 juanky201271 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Send's address book button opens the address book as a picker, the prototype's last unported screen.

  • Title Choose a contact, a Contacts / My wallet switch under the search, no New contact and no row actions. The whole row picks.
  • Contacts: Zcash contacts only.
  • My wallet: the own addresses the user tagged, among those Receive offers (unified, external transparent). The newest unified one is tagged In use, transparent ones Public. A note says self-sends only cost the fee; with no tags, a line says to tag one in Receive.
  • Picking fills To; replacing a valid address still asks first. The old select sheet is gone.
  • The book button shows when the picker has something to offer: a Zcash contact or a tagged own address on this network, as before.

Shared pieces, no copies:

  • Server's network pill moves to SegmentedSwitch, used by Server and the picker.
  • The contact row's head moves to AddressRowHead, used by contact rows and own-address rows.

Not ported: the prototype's "My wallet · Unified. Only the network fee applies." line under To belongs to the Send screen, which the prototype does not get right yet.

🤖 Generated with Claude Code

juanky201271 and others added 3 commits October 15, 2026 09:45
The pill with the sliding thumb was drawn inline in Server. The address
book picker needs the same control, so it moves to a widget both use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Avatar, name, short address and tag move out of ContactRow into
AddressRowHead, which also draws the wallet avatar and the In use tag
that the wallet's own addresses take in the picker.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Send's book button opened a plain select sheet. It now opens the
address book as a picker, as the prototype draws it: titled Choose a
contact, with a Contacts / My wallet switch, no New contact and no row
actions. Contacts lists only Zcash contacts; My wallet lists the
addresses Receive offers, each with its tag, the newest unified one in
use and transparent ones public. Tapping a row fills To. The button
shows whenever the address is empty or saved, since the wallet tab
always has entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Visual review — ✅ matches baseline

Head vs visual/__baseline__. Open the review page — Current, Animations, and Image diffs tabs.

juanky201271 and others added 2 commits October 15, 2026 09:52
The old picker offered the tagged own addresses only, and the book holds
no others. My wallet now lists those, says how to tag one when there is
none, and Send's book button shows again only when the picker has a
Zcash contact or a tagged own address to offer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The card took its state from the error field alone, so a sync the system
killed, one cancelled by the app in the foreground, one skipped offline
and one that failed without error text all showed a green Finished OK.
The outcome now comes from the file the native task writes: failed on an
error or a KO message, interrupted without an end time, skipped on the
offline message, ok otherwise. Reporting an error no longer clears it,
so the user can report it again; the setter and the file writer that
served that are gone.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@juanky201271

Copy link
Copy Markdown
Contributor Author

Added 908b1a2: the last-background-sync card on the sync report derives its outcome from background.json (ok / skipped / failed / did not finish) and no longer clears the error after reporting it.

@juanky201271
juanky201271 marked this pull request as ready for review October 15, 2026 16:43
@juanky201271
juanky201271 merged commit b7ad6c3 into dev Oct 15, 2026
32 checks passed
@juanky201271
juanky201271 deleted the feat/send-contact-picker branch October 15, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant