Watchlist page: choose a team's sports, add whole leagues #85
Loading…
Reference in a new issue
No description provided.
Delete branch "watchlist-page"
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?
OpenSpec change:
watchlist-page. Closes #84.What changes
watchlist.jsonversion 2 adds asportsmap; version 1 reads as is).teams.jsonversion 2: an older file counts as stale and refetches on the first pass. NewGET /api/teams/leagues./watchlist: teams grouped by sport, each logo on a tab of the team's colour, a toggle per sport, remove, suggestions, a sports dialog for a multi-sport team, a league picker.PUT /api/watchliststays.The issue's open questions
Existing entries mean all sports. A league is followed as one row, not copied in as teams. One row per full name; entries stay names, not ESPN ids. Text matching no team is kept and marked. A league the site doesn't list (women's college basketball) is marked, not blocked.
Checks
Not covered: the Georgia Bulldogs show no women's toggle because ESPN names that team "Georgia Lady Bulldogs", a separate name; it has to be added by that name.
🤖 Generated with Claude Code