Bug: Admin draft board missing division filter toggle buttons #187
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/westside-app#187
Loading…
Add table
Add a link
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?
Type
Bug
Lineage
Discovered during #129 E2E girls draft board validation.
Repo
forgejo_admin/westside-landingWhat Broke
The admin teams page (
/admin/teams) has division filter logic fully implemented (divisionFilter state, teamMatchesDivision(), playerMatchesDivision(), filteredTeams, filteredUnassigned derivations) but the UI toggle buttons (All/Boys/Girls) are not rendered in the template. The filter defaults to 'all' with no way to change it.The admin schedule page (
/admin/schedule) has a working reference implementation with proper All/Boys/Girls toggle buttons (lines 196-206).Additionally, the
filteredUnassignedderived value is defined but unused — the template usesunassignedPlayersinstead.Repro Steps
Expected Behavior
All/Boys/Girls toggle buttons should appear above the draft board, matching the pattern used on /admin/schedule.
Environment
src/routes/(app)/admin/teams/+page.svelteAcceptance Criteria
filteredUnassignedinstead ofunassignedPlayersRelated
forgejo_admin/westside-landing#129— discovered during validationproject-westside-basketball