feat: quickbuy bottom sheet redesign - #34015
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. |
PR template — items to address before "Ready for review"Warnings — informational, address before merging:
See docs/readme/ready-for-review.md for the full Definition of Ready for Review. |
…etaMask/metamask-mobile into TSA-quickbuy-bottom-sheet-figma-update
🧪 Flaky unit test detectionRun history flaky detectionHistorical failure rate is a hint, not proof — review each suggestion in context. See the flaky-test-detection skill for the full pattern reference and manual audit workflow. Failures / runs sampled per window:
AI-detected flaky patterns
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 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 6616d57. Configure here.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|




Description
Updates the Social AI Quick Buy bottom sheet to match the latest Swap Next / Trade Figma design, and hardens amount / keypad / pay-with UX.
Why: The previous sheet layout (colored Buy/Sell toggle, settings on the right, Rate row, white CTA, keypad closed by default on the keyboard treatment) no longer matched the product design. Follow-up polish keeps amount entry, over-balance CTAs, sheet height, and pay-with selection consistent.
What changed:
Layout / design
successfor Buy, rederrorfor Sell (not ButtonHero/primary blue)quoteDetailsenabled)Amount / keypad
12,5for EUR)Sheet height
Edit default amounts
9,999,999Quick-amount pills
K/Mlabels for amounts ≥ 1000 in all currenciesformatCurrencyso currency symbol placement stays locale-consistent (prefix or suffix)Design: https://www.figma.com/design/GO9uJiYlhdWRuXJe8dzZfR/Swap-Next?node-id=3254-9838
Changelog
CHANGELOG entry: Updated the Quick Buy bottom sheet layout, colors, keypad behavior, and amount formatting to match the latest Trade design
Related issues
Refs: TSA-943
Manual testing steps
Screenshots/Recordings
Before
Previous Quick Buy sheet: Buy/Sell toggle top-left with green/orange fill, settings gear top-right, Rate row, white primary CTA, keypad closed by default on the keyboard treatment. Compact K/M pills could force a currency prefix while smaller amounts used a suffix.
After
Matches Figma frame: https://www.figma.com/design/GO9uJiYlhdWRuXJe8dzZfR/Swap-Next?node-id=3254-9838
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