feat: adds haptic feedback and checkmark to quickbuy#29279
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. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ 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 e1a702a. Configure here.
AI PR Analysis🚫 Merge safe: false | 🟠 Risk: high
AI analysis did not complete. Manual review recommended. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #29279 +/- ##
==========================================
+ Coverage 82.23% 82.24% +0.01%
==========================================
Files 5107 5127 +20
Lines 134974 135691 +717
Branches 30358 30548 +190
==========================================
+ Hits 110997 111604 +607
- Misses 16410 16462 +52
- Partials 7567 7625 +58 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
These are isolated UI/UX improvements to a feature-flagged component. No shared components (TabBar, Navigation, BottomSheet infrastructure, confirmations flow), controllers, Engine, or core infrastructure are modified. The bridge/swap hooks are consumed but not changed. No E2E tests exist for this feature area, and the changes don't affect any code paths tested by existing E2E suites. Performance Test Selection: |
|



Description
Refactor QuickBuy confirm button with blue color, animated spinner-to-checkmark transition, and haptic feedback.
Buttonwith customQuickBuyConfirmButtoncomponentcolors.primary.default) with 12px border radius, matching Figma designNotificationFeedbackType.Successon tx success,.Erroron failure (Perps pattern)idle|loading|success) instead of separateisConfirmLoadingbooleanquickbuy-checkmark.mp4
Changelog
CHANGELOG entry: no-changelog
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
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
Moderate risk: changes the QuickBuy transaction submission UX (new success phase, delayed close, and haptic feedback) and replaces the design-system
Buttonwith a custom component, which could affect interaction/disabled states during bridging.Overview
Updates the QuickBuy confirm flow to use a custom
QuickBuyConfirmButtonthat supports anidle/loading/successstate, showing a spinner during submission and an animated checkmark on success.Refactors
useQuickBuyBottomSheetto exposeconfirmButtonState(replacingisConfirmLoading), trigger haptic feedback on success/error viaexpo-haptics, and delay sheet close by ~800ms after a successful submit before navigating toRoutes.TRANSACTIONS_VIEW. Tests are updated to assert the new state model.Reviewed by Cursor Bugbot for commit 74b79d0. Bugbot is set up for automated code reviews on this repo. Configure here.