feat: remove quote details tooltip cta and fix paddings#26156
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: The changes affect:
The QuoteDetailsCard component is used in the BridgeView, which is part of the Bridge/Swap trading flow. According to the tag descriptions, SmokeTrade covers "cross-chain bridging between networks" and when selecting SmokeTrade for swap or bridge flows, SmokeConfirmations should also be selected since "transaction confirmations are part of the flow". This is a low-risk change because:
Performance Test Selection: |
|



Description
Make TooltipModal CTA optional to prevent rendering the CTA of the tooltip on top of the swaps CTA causing misclicks.
Changelog
CHANGELOG entry: remove quote details tooltip cta and fix paddings
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/SWAPS-4129
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Small UI param removal limited to tooltip modal configuration and test updates; low chance of behavioral impact beyond tooltip spacing.
Overview
Bridge
QuoteDetailsCardno longer passes a hardcodedbottomPaddingto the tooltip modal for quote rate, network fee, slippage, minimum received, price impact, and rewards tooltips, removing the now-unusedTOOLTIP_BOTTOM_PADDINGconstant.Associated navigation assertions in
QuoteDetailsCard.test.tsxwere updated to expect tooltip modal params withoutbottomPadding.Written by Cursor Bugbot for commit 00ad73f. This will update automatically on new commits. Configure here.