refactor: Aligned more section across wallet and perps#33391
refactor: Aligned more section across wallet and perps#33391brianacnguyen wants to merge 1 commit into
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: Perps UI Refactoring (Primary Change):
Icon Changes Across Multiple Components:
These icon changes are minor visual updates but touch components used in account management and money flows, warranting smoke test coverage. Dependent Tags:
Performance Test Selection: |
🧪 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
|
|
⚡ Performance Test Results
✅ All tests passed · 2 tests · 1 device 📱 Devices tested (1)Android: Google Pixel 8 Pro (v14.0) ✅ Passed Tests (2)
Branch: |


Description
Perps used a grouped navigation card for support/feedback/learn actions, which did not match the wallet homepage "More" pattern (section header + flat icon rows) and had inconsistent spacing and icons versus other entry points.
This PR aligns Perps home and market details with the wallet "More" section model, and standardizes Contact support and feedback icons across related surfaces.
What changed:
PerpsMoreSection(SectionHeader+ flat MMDS icon rows) and wired it intoPerpsHomeViewandPerpsMarketDetailsViewviaPerpsHomeSectionListso spacing matches other Perps sectionsPerpsNavigationCardIconName.Sms, Give us feedback →IconName.Mail, Learn →IconName.BookIconName.Smson wallet More, Money More sheet, Accounts menu, and Ramp build-quote settings modalChangelog
CHANGELOG entry: Updated the Perps More section and Contact support icons to match the wallet homepage pattern
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/TAT-3567
Manual testing steps
Unit tests (optional verification):
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
Low Risk
UI-only alignment and icon swaps; navigation handlers and support URLs are unchanged.
Overview
Replaces Perps’ grouped PerpsNavigationCard with a new
PerpsMoreSectionthat matches the wallet homepage pattern: SectionHeader (“More”) plus flat MMDS rows with leading icons. Perps home and market details now render that block insidePerpsHomeSectionList(after recent activity / before the risk disclaimer) instead of a standalone card at the scroll bottom.Perps More rows get explicit icons: Contact support
IconName.Sms, optional feedbackMail, learnBook. Contact support leading icon is switched toSmson wallet More (trailing export removed), Money more sheet, Accounts menu, and Ramp settings modal.PerpsNavigationCard and its tests/styles are deleted;
PerpsMoreSectionadds unit tests and a market-details test ID.Reviewed by Cursor Bugbot for commit aa2970e. Bugbot is set up for automated code reviews on this repo. Configure here.