[Homepage Sports Widget] - Homepage integration and country selector wiring
Categories
(Firefox for Android :: Homepage, task)
Tracking
()
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
Comment 1•6 months ago
|
||
- 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
Updated•6 months ago
|
Updated•5 months ago
|
Description
•