fix(predict): update sports moneyline detail actions cp-7.80.0#31034
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. |
Medium severityM1 —
|
|
M1 is fixed in a084399. The moneyline button price now uses the shared |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Tags selected:
Performance Test Selection: |
Description
Fixes Predict detail screens for sports markets with extended sports markets enabled:
Changelog
CHANGELOG entry: null
Related issues
Fixes: PRED-949
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
Not applicable; UI rendering/state wiring change only.
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
UI-only Predict sports detail changes with tests; live price wiring reuses existing hooks and the same validity rules as other buy flows.
Overview
Improves extended sports game detail screens: moneyline outcome cards now show live best-ask prices (with static token price fallback), use an inline button layout for clearer label/price spacing, and the static prediction footer is hidden when extended outcome groups are shown—claim actions still show when there are claimable winnings.
Also tightens scoreboard horizontal spacing (score padding; row gap cleanup) and exports
isValidPricefor reuse in outcome pricing. Tests cover footer visibility, live pricing, and layout expectations.Reviewed by Cursor Bugbot for commit a084399. Bugbot is set up for automated code reviews on this repo. Configure here.