Repository navigation
feat(ui): balance breakdown with fiat and in/out transfer buttons on home - #810
Merged
QuantumExplorer merged 3 commits intoJul 16, 2026
Merged
Conversation
…home The home header showed only the transparent balance as the hero, with platform and shielded amounts squeezed into two label-less columns — full 9-decimal precision, no fiat, no way to move funds between them. Now the hero is the COMBINED total (transparent + platform + shielded, rendered by the existing DashAmount component and its Dash-Đ glyph) with its fiat value, above a breakdown card with one row per balance: icon, name, fiat value, Đ amount, and two circular transfer buttons mapping onto the routes the app supports: - Transparent: in = Receive, out = Send (existing shortcut actions); - Platform: in = Shielded → Platform, out = Platform → Shielded; - Shielded: in = Transparent → Shielded, out = Shielded → Transparent. The buttons push InternalTransferHostingController through a new init(direction:source:) (user can still flip the route on-screen) via a new HomeViewDelegate method. PlatformBalanceView is deleted — the breakdown card supersedes it. Tap-to-hide, the syncing shimmer, and the long-press currency picker behave as before; the breakdown hides with the hidden-balance state and (as before) while BLAST isn't running. Verified on a funded testnet QA simulator: totals sum correctly, rows show fiat + Đ amounts, all six buttons expose 44pt accessibility targets, and Shielded-in opens Internal transfer prefilled Dash Wallet → Shielded. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
A push dragged the blue navigation header along; the sheet keeps the transfer form on its own background with a grabber and swipe-to-dismiss. The flow's Done now dismisses when presented modally and still pops when pushed (readiness / payments-landing entries keep their push). Co-Authored-By: Claude Fable 5 <[email protected]>
Pushed presentations get their top spacing from the navigation bar; the sheet has no bar, so the title crowded the sheet edge. 28pt inset when presented modally, unchanged when pushed. Co-Authored-By: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The home header previously showed the transparent balance as the hero with platform/shielded squeezed into two bare columns — 9-decimal precision, no fiat, no transfer affordance, clipping against the shortcuts card.
Now:
DashAmountcomponent (keeps the app's Đ glyph).InternalTransferHostingControllerprefilled via a newinit(direction:source:); the route stays editable on-screen.PlatformBalanceViewdeleted (superseded). Tap-to-hide, sync shimmer, and long-press currency picker preserved; the breakdown hides with hidden-balance state and while BLAST isn't running (as the old columns did).Transparent,Transfer in,Transfer out);Platform/Shieldedreuse existing translated keys.Verification
dashpayarm64-sim build green (Xcode 26.6 / Swift 6.3.3).🤖 Generated with Claude Code