fix(predict): polish World Cup UI tabs and banner cp-7.79.0#30538
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. |
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.
Reviewed by Cursor Bugbot for commit 980867b. Configure here.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
SmokePredictions: Directly impacted — these changes add new World Cup functionality to the Predictions feature. The banner appears in the main Predict feed and the World Cup screen is a new navigation destination within the Predict flow. SmokeWalletPlatform: Required per SmokePredictions tag description — "Predictions is also a section inside the Trending tab (SmokeWalletPlatform); changes to Predictions views (headers, lists, full views) affect Trending." The banner is shown in PredictFeed which is accessible from Trending. SmokeConfirmations: Required per SmokePredictions tag description — "opening/closing positions are on-chain transactions — when selecting SmokePredictions, also select SmokeConfirmations." No changes to shared infrastructure (navigation, Engine, controllers, modals) that would warrant broader test coverage. Changes are isolated to the Predict feature module. Performance Test Selection: |
|




Description
Fixes several World Cup Predict UI issues:
Changelog
CHANGELOG entry: null
Related issues
Fixes: PRED-897
Manual testing steps
Screenshots/Recordings
Before
N/A
After
N/A
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
Test plan
Result: 5 test suites passed, 50 tests passed.
Note
Low Risk
Low risk UI/query behavior tweaks; main functional change is removing client-side sorting for stage markets, which could change stage tab ordering but is limited to World Cup Predict screens.
Overview
Polishes the World Cup Predict UI by updating the main-feed banner’s default image aspect ratio (now
360/177) and explicitly sizing the banner arrow icon.Adjusts World Cup stage market fetching to stop client-side start-time sorting, preserving the API/flag-provided ordering; corresponding tests are updated for the new expected order.
Refactors tab rendering to a dedicated
WorldCupTabButtonand fixes Live tab label/dot readability when active by rendering it under an inverted design-system theme while keeping existing active-background behavior.Reviewed by Cursor Bugbot for commit 0e6ccea. Bugbot is set up for automated code reviews on this repo. Configure here.