feat(dashboard): front-page Send / Receive / Swap action row#256
Merged
Conversation
Surface the Receive/Send/Swap actions on the main front page, not just after drilling into a chain. The existing action row was gated behind drilledChainId; add an always-on row for the non-drilled portfolio view. - New SendReceivePicker: front-page Send/Receive are asset-agnostic, so they open a coin chooser (holdings, funded first) that routes to the chosen chain's send/receive view (per-chain page handles token selection within the chain). - Swap opens the global swap panel via swap-cmd:open (gated by SWAP_SIDEPANEL). - Drilled-chain action row unchanged.
This was referenced Jun 19, 2026
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.
Surfaces Send / Receive / Swap as primary actions on the main front page (Dashboard), not just after drilling into a chain.
Changes
drilledChainId(only after you drill into a chain). Added an always-on row for the non-drilled portfolio view (hasAnyBalance && !drilledChainId).SendReceivePicker: the front-page row is asset-agnostic, so Send/Receive open a coin chooser (your holdings, funded first) → routes to that chain's send/receive view (the per-chain page handles token selection within the chain).swap-cmd:open(handled bySwapRpcMount), gated bySWAP_SIDEPANEL.Test plan
tscclean (zero new errors vs develop baseline).Note: the deep drilled-chain row's Swap button is not yet flag-gated (only a visible no-op when
SWAP_SIDEPANELis off, which it isn't currently) — minor follow-up.