feat(predict): add compact World Cup banner cp-7.80.0#30874
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:
Tag selection rationale:
No changes to core infrastructure, controllers, navigation, or shared components. Risk is low as this is a UI-only change to a specific feature component. Performance Test Selection: |
|
Skipping e2e tests since wallet-platform-android-smoke-1 is not passing but it is unrelated to this PR. Issue happening across multiple PRs. |
Description
Adds a compact variant for
PredictWorldCupMainFeedBannerso the Predict feed header uses less vertical space and leaves more room for the scrollable content area.This keeps the existing full-size banner layout available as the default variant, while switching the Predict feed usage to
variant="compact". It also adds the compact World Cup banner image asset from Figma alongside the existing banner asset.Changelog
CHANGELOG entry: null
Related issues
Fixes: PRED-939
Manual testing steps
Automated test run:
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 Predict banner layout and asset selection; no auth, payments, or data-handling changes.
Overview
Adds a
compactlayout option toPredictWorldCupMainFeedBanner: horizontal row with an 80×80 thumbnail and a dedicated compact fallback asset, whiledefaultkeeps the full-width banner behavior.PredictFeednow passesvariant="compact"so the feed header uses less vertical space for market lists. Tests assert compact image dimensions.Reviewed by Cursor Bugbot for commit be9fe6f. Bugbot is set up for automated code reviews on this repo. Configure here.