Watchlist page: choose which sports to follow per team, and add whole leagues #84
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?
Why: the watch list follows teams, and for a college that means every sport it plays. Following North Carolina for men's basketball also followed its women's games, which filled the Games page with "No streams" on 2026-11-02.
Asked for
What the code does today
watchlist.jsonholds two lists of plain text,teamsandleagues. A team entry is matched by name against either side of any game, so it has no idea of a sport.teams.py) already has one record per team per league, with its sport and league, so it can say which sports a team plays. Its records don't carry a logo yet.prewarm.py), and an empty list follows everything. This change affects what gets checked as well as what is shown.Open questions
Where it touches:
backend/app/watchlist.py,backend/app/teams.py,frontend/src/App.tsx(the nav and the current list), a new page, and the watch-list, team-directory and player-page specs. Related: keep to the usual page style: minimal text, help behind icons, one screen.Merged in PR #85 (
6d41d7b), deployed 2026-11-03 08:32Z (container 8c1b8ee2081f). All 48 teams carried over following all their sports, each with a logo.Decided as proposed: existing entries mean all sports; a league is followed as one row; entries stay names, not ESPN ids; text matching no team is kept and marked; a league the site doesn't list is marked, not blocked.
Known limit: a school whose women's team has another name at ESPN (Georgia Lady Bulldogs) has no women's toggle on the Georgia Bulldogs row; it is its own team to add. The page's changes were tried on a local copy only, not against the live list.