feat: batch sell quote details and final review modal#30157
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
554f2ae to
13c94fd
Compare
4791df6 to
a9b5221
Compare
6182d23 to
b54c57f
Compare
a9b5221 to
14991d2
Compare
326a6bf to
5654ec1
Compare
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
No existing E2E tests specifically cover BatchSell flows. The changes are contained within the Bridge/Swap UI domain. Per tag descriptions, SmokeSwap covers bridge/swap flows and SmokeConfirmations should be included alongside SmokeSwap as transaction confirmations are part of the flow. The NavigationService/types.ts change is flagged as critical but the changes are purely additive type declarations for new routes - no breaking changes to existing navigation. Performance Test Selection: |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5654ec1. Configure here.
|




Description
Adds the next Batch Sell review flow: the final review, and supporting info modals.
This introduces reusable quote-detail UI, skeleton states for quote-dependent values, modal-to-modal replacement behavior for bottom sheets, and Redux state for Batch Sell destination tokens and per-token slippage. The final review modal now supports collapsible token quote details, minimum received and network fee explanations, and placeholder quote values while quote fetching is still being wired.
Changelog
CHANGELOG entry: Added Batch Sell review controls, quote detail modals, and final review flow
Related issues
Related: SWAPS-4439
Manual testing steps
Screenshots/Recordings
Before
N/A
After
Screen.Recording.2026-05-15.at.11.24.48.AM.mov
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Medium Risk
Adds new Batch Sell review/navigation flows across multiple bottom-sheet modals and updates navigation route typing; risk is mainly in UI navigation/params wiring and placeholder quote/slippage display logic.
Overview
Batch Sell review flow now includes quote-details + final review modals. The
BatchSellReviewscreen adds an info-button that opens a new quote details sheet and wires the Review button to open a new final review sheet, passing placeholder quote/fee values and per-token slippage display formatting.Adds reusable
BatchSellQuoteDetailsUI (with loading skeletons and a Minimum received info action), aBatchSellFinalReviewModalwith collapsible token rows plus network fee + MetaMask fee disclosure, and two new info sheets for Minimum received and Network fee with back-navigation vianavigation.replace.Registers the new modals in
Bridgeroutes, adds new route constants and navigation param typings, renames slippage helper togetBatchSellSlippageand addsgetSlippageDisplayValue, and updates/extends tests and English strings accordingly.Reviewed by Cursor Bugbot for commit 5654ec1. Bugbot is set up for automated code reviews on this repo. Configure here.