New page: Teams — public rosters with Kings/Queens toggle + profile gate #93

Closed
opened 2026-03-26 23:49:53 +00:00 by forgejo_admin · 2 comments

Type

Feature

Lineage

Part of public site evolution. Parent note: westside-playground-overhaul

Repo

forgejo_admin/westside-playground

User Story

As a prospective parent, I want to see team rosters so I understand the program's depth and structure.

story:WS-S26

Context

Public-facing team roster page. Kings/Queens toggle at top. Shows each team's roster with player photos and names — BUT only for players with complete profiles. Players with incomplete profiles are not featured publicly (in production, they get emailed to complete their profile).

In the playground mock, show some players as visible and others as a "profile pending" placeholder to represent the gate concept.

File Targets

Files to create:

  • teams.html — Kings/Queens toggle. Per-team sections showing: team name, division, coach, and player cards (photo + name + number). Mock data — use realistic team names from schedule (16U Elite, 17U Elite, 17U Select, 16U Local, 17U Local for Kings; Queens teams TBD).

Acceptance Criteria

  • teams.html exists with Kings/Queens toggle
  • Each team shows coach and player roster
  • Some players shown with "Profile Pending" placeholder (demonstrating the gate)
  • Nav updated on ALL pages to include Teams
  • Toggle is same pattern as Tryouts page

Test Expectations

  • Toggle switches between Kings and Queens
  • All links resolve
  • Visual on 390px

Constraints

  • Mock data in HTML — production will pull from basketball-api
  • Same toggle pattern as tryouts.html
  • Uses shared/style.css and shared/app.js
  • Component doc at top

Checklist

  • Page created
  • Toggle works
  • Nav updated everywhere
  • Lucas phone review
  • westside-playground-overhaul
### Type Feature ### Lineage Part of public site evolution. Parent note: `westside-playground-overhaul` ### Repo `forgejo_admin/westside-playground` ### User Story As a prospective parent, I want to see team rosters so I understand the program's depth and structure. story:WS-S26 ### Context Public-facing team roster page. Kings/Queens toggle at top. Shows each team's roster with player photos and names — BUT only for players with complete profiles. Players with incomplete profiles are not featured publicly (in production, they get emailed to complete their profile). In the playground mock, show some players as visible and others as a "profile pending" placeholder to represent the gate concept. ### File Targets Files to create: - `teams.html` — Kings/Queens toggle. Per-team sections showing: team name, division, coach, and player cards (photo + name + number). Mock data — use realistic team names from schedule (16U Elite, 17U Elite, 17U Select, 16U Local, 17U Local for Kings; Queens teams TBD). ### Acceptance Criteria - [ ] `teams.html` exists with Kings/Queens toggle - [ ] Each team shows coach and player roster - [ ] Some players shown with "Profile Pending" placeholder (demonstrating the gate) - [ ] Nav updated on ALL pages to include Teams - [ ] Toggle is same pattern as Tryouts page ### Test Expectations - [ ] Toggle switches between Kings and Queens - [ ] All links resolve - [ ] Visual on 390px ### Constraints - Mock data in HTML — production will pull from basketball-api - Same toggle pattern as tryouts.html - Uses `shared/style.css` and `shared/app.js` - Component doc at top ### Checklist - [ ] Page created - [ ] Toggle works - [ ] Nav updated everywhere - [ ] Lucas phone review ### Related - `westside-playground-overhaul`
Author
Owner

Scope Review: NEEDS_REFINEMENT

Review note: review-408-2026-03-25
Three fixable issues found before this ticket is agent-ready.

  • Repo mismatch: Issue body says forgejo_admin/westside-playground but is filed on forgejo_admin/westside-app. Agent will see conflicting repo signals.
  • Phantom toggle reference: "Same toggle pattern as Tryouts page" — no tryouts page exists in the playground, and the westside-app /tryouts has no Kings/Queens toggle. Board item #407 (Tryouts with toggle) is also in todo and hasn't landed. The pattern doesn't exist yet.
  • Missing file targets for nav: Acceptance criteria says "Nav updated on ALL pages" but File Targets only lists teams.html. The 6 public-nav pages (index.html, staff.html, sponsors.html, schedule.html, register.html, success.html) should be enumerated.
## Scope Review: NEEDS_REFINEMENT Review note: `review-408-2026-03-25` Three fixable issues found before this ticket is agent-ready. - **Repo mismatch**: Issue body says `forgejo_admin/westside-playground` but is filed on `forgejo_admin/westside-app`. Agent will see conflicting repo signals. - **Phantom toggle reference**: "Same toggle pattern as Tryouts page" — no tryouts page exists in the playground, and the westside-app `/tryouts` has no Kings/Queens toggle. Board item #407 (Tryouts with toggle) is also in `todo` and hasn't landed. The pattern doesn't exist yet. - **Missing file targets for nav**: Acceptance criteria says "Nav updated on ALL pages" but File Targets only lists `teams.html`. The 6 public-nav pages (`index.html`, `staff.html`, `sponsors.html`, `schedule.html`, `register.html`, `success.html`) should be enumerated.
Author
Owner

Refinements from review-408-2026-03-25:

  1. Repo convention: Documented.

  2. Depends on #92 (Tryouts). #92 creates the Kings/Queens toggle foundation (JS, CSS, localStorage). This ticket REUSES that pattern. Adding depends:ws-92.

  3. Nav file targets (explicit): Add "Teams" to nav on: index.html, about.html, staff.html, tryouts.html, sponsors.html, schedule.html, register.html, success.html — plus any new pages that exist at merge time.

  4. teams.html vs team.html: team.html (singular) is the authenticated single-team detail page. teams.html (plural) is the new public roster listing. No conflict.

  5. Queens pink color: Automatically handled by the .queens-active CSS from #92. No extra work needed in this ticket beyond using the same toggle HTML pattern.

**Refinements from review-408-2026-03-25:** 1. **Repo convention:** Documented. 2. **Depends on #92 (Tryouts).** #92 creates the Kings/Queens toggle foundation (JS, CSS, localStorage). This ticket REUSES that pattern. Adding `depends:ws-92`. 3. **Nav file targets (explicit):** Add "Teams" to nav on: `index.html`, `about.html`, `staff.html`, `tryouts.html`, `sponsors.html`, `schedule.html`, `register.html`, `success.html` — plus any new pages that exist at merge time. 4. **teams.html vs team.html:** `team.html` (singular) is the authenticated single-team detail page. `teams.html` (plural) is the new public roster listing. No conflict. 5. **Queens pink color:** Automatically handled by the `.queens-active` CSS from #92. No extra work needed in this ticket beyond using the same toggle HTML pattern.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo_admin/westside-landing#93
No description provided.