Choose which leagues appear: a selection on the Watchlist tab that the Games tab follows #152
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cmoriarty/sports-breaker#152
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Each sport added under this milestone makes the Games tab longer. It listed 147 games on a Tuesday morning (2026-11-10) with eight sports; cricket, volleyball and tennis would add dozens a day that the owner will never click.
Decided with the owner (2026-11-10)
How it is today
SPORT_LABELSinfrontend/src/logic.ts, mirroringgames.SPORT_LABELS). A button hides that sport for this browser only; the choice lives in the page's address (?hide=), not on the server.games.sport_choice), and it can follow a league (47 soccer competitions are separate leagues there, one "Soccer" button on the Games tab).Work
Not part of this
To decide
Done when a league deselected on the Watchlist tab is gone from the Games tab and its buttons on every browser, a followed game in it still shows, and a newly added sport appears nowhere until it is selected.
From the owner, 2026-11-10
What that changes in the design above
Suggested first step: a mockup of the panel and of the Games tab's buttons, for the owner to choose from, before any code.
Added by the owner, 2026-11-10: drop the "no" symbol from the Watchlist tab
The Watchlist tab marks women's college basketball with a "no" symbol (
Unlistedinfrontend/src/WatchlistPage.tsx, tooltip "Few of these games get streams: most are not on the stream sites"). The owner read it as "not supported", which the sport now is (thetvapp and watchsports.su since #128).listedfield of/api/teams' leagues (backend/app/teams.py), which is hard-coded to whether the hub lists the league (config.sportsurge_lists) and ignores the other two sites.config.sportsurge_listsitself stays: the resolver uses it.The new league panel in this ticket should not carry such a mark either.
Chosen by the owner from a mockup, 2026-11-10
Still to design while building
Merged in PR #153 (
67b2668), deployed 2026-11-10 17:23Z, archived inb97caa6(specs tidied in3e88f2a).Seen in production after the deploy: the panel on the Watchlist tab with every sport on (Football 2 of 2, Basketball 4 of 4, Soccer 50 of 50), the Games tab's five sport buttons, all 144 games still listed, and no "no" symbol on the women's chips. Switching a sport off was tried on a local run with the production watch list, not in production.
Decisions taken while building, for the owner to reverse if he wants:
Left out: the list's merge still runs over every league.
A new sport is added in
backend/app/leagues.py(_FIXED, withdefault_on=False) beside its feed ingames.py.