feat: add remote feature flag for section ordering and made predictions a carousel#28239
Conversation
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.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Tag selection rationale:
Tags NOT selected:
Performance Test Selection: |
|
✅ E2E Fixture Validation — Schema is up to date |
|
cortisiko
left a comment
There was a problem hiding this comment.
approving from an e2e perspective




Description
The Explore page section order was previously hardcoded, making it impossible to reorder sections (tokens, predictions, perps, stocks, sites) without a code change. Additionally, the predictions section used a row item layout that was inconsistent with the desired carousel experience. This PR:
exploreSectionsOrderremote feature flag (LaunchDarkly JSON) that independently controls the order of sections for the home view, quick actions, and search results.useSectionsArrayhook intouseQuickActionsSectionsArrayanduseSearchSectionsArrayso each surface can be ordered independently.selectExploreSectionsOrder) with progressive-rollout unwrapping and graceful fallback to hardcoded defaults when the flag is absent or invalid.SectionCardtoSectionCarrouseland renders the fullPredictMarketcard component instead ofPredictMarketRowItem.Changelog
CHANGELOG entry: updated Explore page predictions section to carousel layout and added remote-configurable section ordering
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/ASSETS-3010 & https://consensyssoftware.atlassian.net/browse/ASSETS-3011
Manual testing steps
Screenshots/Recordings
Before
After
Screen.Recording.2026-04-01.at.17.11.53.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Adds a new remote feature flag that controls Explore section ordering across multiple surfaces, which can change UI behavior at runtime if misconfigured. Also changes Predictions rendering to a carousel layout, impacting layout/interaction and related navigation tests.
Overview
Explore section ordering is now remotely configurable. Adds a new
exploreSectionsOrderLaunchDarkly flag and selector (selectExploreSectionsOrder) that validates/unwraps flag values and falls back to defaults when invalid, then uses it to independently order sections on the home feed, Quick Actions, and search (splitting the prioruseSectionsArrayintouseQuickActionsSectionsArrayanduseSearchSectionsArray).Predictions section UI is updated. Predictions is moved to a carousel-style section and now renders
PredictMarketcards (with a carousel skeleton) instead of the row-item layout; minor carousel sizing is adjusted (minHeightvs fixedheight).Tests are aligned to the new behavior. Updates unit tests to mock the renamed hooks/added components, registers the new flag in the E2E feature-flag registry, and adjusts smoke/page-object expectations for the new default section order and Quick Action ordering.
Written by Cursor Bugbot for commit cb89156. This will update automatically on new commits. Configure here.