Skip to content

feat(menu): Wallets category on main menu with per-account breakdown - #816

Merged
QuantumExplorer merged 1 commit into
swift-sdk-integrationfrom
claude/wallets-menu-reorganization-9202ca
Jul 16, 2026
Merged

QuantumExplorer merged 1 commit into
swift-sdk-integrationfrom
claude/wallets-menu-reorganization-9202ca

Conversation

@QuantumExplorer

Copy link
Copy Markdown
Member

Summary

  • Move Wallets out of the Security menu onto the main menu, between Sync Info and Security, with a new custom bifold-wallet icon (image.wallets, SVG in Dash blue #008DE4 matching the existing menu icon set).
  • Wallet rows are now tappable and open a new Accounts screen listing every account of that wallet — modeled on the SwiftExampleApp's AccountListView: same logical ordering (BIP44 → Platform Payment → BIP32 → CoinJoin → special-purpose), colored type icons and chips, Confirmed/Pending/Total balances (live from the Rust manager, persisted snapshot as fallback), address-pool usage footers, and DashPay friendship accounts (tags 12/13) hidden. The top bar shows the wallet name as its title. No add-account control — adding accounts isn't supported yet.
  • Accounts are tappable too and open a detail screen mirroring the SwiftExampleApp's AccountDetailView in house style: Account Information, Balance (credits-denominated for Platform Payment), Address Pool stats (pool sizes, highest used, distinct tx count via TXO-union ∪ payload-only involvement, TXO count), grouped address lists with tap-to-copy, and the Extended Public Key card for provider key accounts (per-index derived keys stay in Tools → Masternode Keys).
  • Wallet switching moves from row tap to the row's ⋯ / long-press menu ("Switch to this wallet"), same confirmation alert.
  • Fixes a silent pre-existing bug: the menu referenced a non-existent image.reset.wallet asset, so the Wallets and Reset Wallet (Debug) rows rendered without icons; Reset Wallet (Debug) now uses the real image-menu-reset_wallet.

Test plan

  • Clean dashpay scheme build (arm64 sim).
  • Smoke-tested on an iPhone 16 Pro simulator (testnet): main menu shows Wallets with the new icon between Sync Info and Security; wallet → accounts list renders BIP44/Platform Payment/BIP32/CoinJoin/identity accounts with balances and pool counts; account → detail shows overview/balance/pool/address cards; address tap copies; switch/rename/remove reachable from the wallet row menu.

🤖 Generated with Claude Code

Move Wallets out of the Security menu onto the main menu (between Sync
Info and Security) with a new custom wallet icon. Tapping a wallet now
opens its account list (modeled on the SwiftExampleApp's
AccountListView), and tapping an account opens a detail screen with the
account's overview, live balance, address-pool stats, per-pool address
lists (tap to copy), and the extended public key for provider key
accounts. Wallet switching moves from tap to the row's menu; the
Security menu's stale "image.reset.wallet" icon name is fixed to the
real "image-menu-reset_wallet" asset.

Co-Authored-By: Claude Fable 5 <[email protected]>
@QuantumExplorer
QuantumExplorer merged commit 59148c6 into swift-sdk-integration Jul 16, 2026
1 check failed
@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

Caution

Review failed

An error occurred during the review process. Please try again later.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/wallets-menu-reorganization-9202ca

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@QuantumExplorer
QuantumExplorer deleted the claude/wallets-menu-reorganization-9202ca branch August 7, 2026 08:23
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