[Homepage Sports Widget] - Real World Cup API integration
Categories
(Firefox for Android :: Homepage, task)
Tracking
()
People
(Reporter: skhan, Assigned: skhan)
References
Details
(Whiteboard: [fxdroid][group3][world-cup-phase2])
Attachments
(8 external files)
To be done last. Depends on everything
Create WorldCupApiRepository : SportsWidgetRepository backed by the real endpoint:
- Maps API response fields to SportsMatch / MatchStatus / TournamentPhase by using the mapper in bug 2037227
- Handles UTC timestamp → local timezone conversion
- Handles team logo URLs
- Handles match stage/round name
Replace MockSportsRepository with WorldCupApiRepository in Components.kt (behind the Nimbus enabled flag or a build-config gate). Keep MockSportsRepository for tests and UI previews.
Updated•6 months ago
|
Updated•6 months ago
|
https://hg.mozilla.org/mozilla-central/rev/b3173c343e71
https://hg.mozilla.org/mozilla-central/rev/79718bc04e51
Original Revision: https://phabricator.services.mozilla.com/D300499
Original Revision: https://phabricator.services.mozilla.com/D300505
Original Revision: https://phabricator.services.mozilla.com/D300499
Original Revision: https://phabricator.services.mozilla.com/D300505
Original Revision: https://phabricator.services.mozilla.com/D300499
| Assignee | ||
Comment 10•5 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D300505
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Comment 11•5 months ago
|
||
| uplift | ||
Comment 12•5 months ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Updated•5 months ago
|
Description
•