fix(predict): remove redundant Live filter chip#33383
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:
SmokePredictions: Directly covers Predictions views including the PredictFeedView. The live feed now hides filter chips — this needs E2E validation to ensure the live feed renders correctly without the filter bar and that market listing still works. SmokeWalletPlatform: Per the tag description, "Predictions is also a section inside the Trending tab (SmokeWalletPlatform); changes to Predictions views (headers, lists, full views) affect Trending." The PredictFeedView is embedded in Trending, so changes to it affect the Trending tab. SmokeConfirmations: Per the SmokePredictions tag description, "When selecting SmokePredictions, also select SmokeConfirmations (opening/closing positions are on-chain transactions)." This is a required dependent tag when SmokePredictions is selected. The changes are contained within the Predict component directory and don't touch shared infrastructure, navigation, controllers, or other feature areas. Performance Test Selection: |
|
⚡ Performance Test Results
✅ All tests passed · 3 tests · 1 device 📱 Devices tested (1)Android: Google Pixel 8 Pro (v14.0) ✅ Passed Tests (3)
Branch: |



Description
The feature-flagged Predict Live page displayed a preselected Live filter chip even though the entire page is already scoped to live markets. This adds a feed-level filter-bar display setting and disables the bar for the Live feed. The internal Live filter remains active, so market requests continue to include
live: true, while filter chips on other feeds remain unchanged.Changelog
CHANGELOG entry: Removed the redundant Live filter chip from the Live prediction markets page
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/PRED-1082
Manual testing steps
Screenshots/Recordings
Before
N/A - No screenshot or recording was captured for the redundant Live filter chip.
After
N/A - No screenshot or recording was captured; the change only removes an existing redundant chip.
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 visibility change in Predict feeds with tests; no auth, payments, or API contract changes beyond existing live filter params.
Overview
Removes the redundant Live filter chip on the Live prediction markets screen by adding an optional feed-level
showFilterBarflag (default true) and settingshowFilterBar: falseon the Live feed infeedConfig.usePredictFeedConfigexposesshowFilterBar, andPredictFeedViewonly rendersPredictChipListwhen it is true. The Live feed still uses its internal live filter, sousePredictMarketListcontinues to request markets withlive: true; Sports and other feeds are unchanged.Tests cover hook behavior, unit view expectations, and a component-view check that the filter row is absent and
listMarketsincludeslive: true.Reviewed by Cursor Bugbot for commit b364ef1. Bugbot is set up for automated code reviews on this repo. Configure here.