Closed Bug 2033597 Opened 7 months ago Closed 5 months ago

[Homepage Sports Widget] - Homepage integration and country selector wiring

Categories

(Firefox for Android :: Homepage, task)

All
Android
task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: skhan, Unassigned)

References

Details

(Whiteboard: [fxdroid][group3][world-cup-phase2])

Wire the widget into the homepage:

  • Render SportsWidget in HomeFragment / homepage composable when SportsWidgetState.selectedCountryCodes is non-empty and feature flag is enabled

  • Country selector bottom sheet (SportsCountrySelectorBottomSheet, already exists) dispatches CountriesSelected action on selection

  • Selected country persisted to SharedPreferences so it survives app restart; restored to AppState on launch

  • Entry point to open country selector (e.g. "Choose your team" empty state or settings)

  • Render SportWidget of View next scheduled match when user does not follow a team

Blocks: 2037222
No longer blocks: 2033589
  • Selected country persisted to SharedPreferences so it survives app restart; restored to AppState on launch - This should already exist too?

There's something else we need for eliminated games. Anytime we get a result from the request, if any of the teams have been eliminated, we store that as well so that we can gray out the flags in the country selector

Whiteboard: [fxdroid][group3][world-cup-phase2]
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.