fix(perps): use one-line ListItemSelect for price grouping options - #33953
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
This is a low-risk UI variant change affecting the Perps Order Book view's list item display style. SmokePerps is selected because the change directly affects a Perps view component (PerpsOrderBookView). SmokeWalletPlatform is selected per the SmokePerps tag description: "Perps is also a section inside the Trending tab (SmokeWalletPlatform); changes to Perps views (headers, lists, full views) affect Trending." SmokeConfirmations is selected per the SmokePerps tag description: "When selecting SmokePerps, also select SmokeConfirmations (Add Funds deposits are on-chain transactions)." The change is isolated to the Perps Order Book view with no impact on shared navigation, modals, or other app areas. Performance Test Selection: |
|



Description
Price grouping options in the Perps order book sheet used the default two-line
ListItemSelectlayout, which left empty vertical space under each value and made the list look sparse.This PR switches those rows to the MMDS one-line variant so each option renders as a compact single-line row.
What changed:
ListItemVariantinPerpsOrderBookViewvariant={ListItemVariant.OneLine}on price groupingListItemSelectitemsChangelog
CHANGELOG entry: null
Related issues
Fixes: N/A
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