feat(predict): cp-7.63.0 add Predict Superbowl sport card to wallet Carousel#25062
feat(predict): cp-7.63.0 add Predict Superbowl sport card to wallet Carousel#25062
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. |
app/components/UI/Predict/components/PredictMarketSportCard/PredictMarketSportCardWrapper.tsx
Show resolved
Hide resolved
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThis PR adds a Predict Superbowl integration to the Carousel component on the main Wallet screen. The changes include:
The Carousel is rendered on the main Wallet view ( Selected Tags Rationale:
The risk is medium because:
|
|
|
Missing release label release-7.64.0 on PR. Adding release label release-7.64.0 on PR and removing other release labels(release-7.65.0), as PR was added to branch 7.64.0 when release was cut. |



Description
This PR integrates the Predict Superbowl sport card into the wallet home Carousel component. When a
predict-superbowlslide is configured in Contentful with a validmarketId, the Carousel renders aPredictMarketSportCardWrapperinstead of the standard carousel cards.Key changes:
PredictMarketSportCardWrappercomponent that fetches market data and rendersPredictMarketSportCardmetadatafield toCarouselSlidetype to support passingmarketIdCAROUSELentry point for Predict navigation trackingPredictSportCardFooterto navigate throughPREDICT.ROOTwhen accessed from CarouselPredictMarketSportCardfor dismissing the bannerChangelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
https://www.loom.com/share/232ede925eef4c75ab9e322573d03363
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Integrates Predict Super Bowl content into the wallet carousel based on Contentful configuration.
metadatatoCarouselSlideand maps it from Contentful to extractmarketIdCarousel, detectspredict-superbowlslides, hides them from regular cards, and rendersPredictMarketSportCardWrapperdirectly withentryPoint = CAROUSEL; supports dismiss via Redux and tracks "Banner Display" on loadPredictMarketSportCardWrapperto fetch market data and call optionalonLoad;PredictMarketSportCardnow supports an optional close buttonPredictSportCardFooterto navigate throughRoutes.PREDICT.ROOTwhenentryPointisCAROUSELPREDICT_SUPERBOWL_VARIABLE_NAME,PredictCarouselMetadata, and extendsPredictEntryPointwithCAROUSELWritten by Cursor Bugbot for commit 2ebd877. This will update automatically on new commits. Configure here.