Feature: Practice schedule page — weekly team calendar #71

Closed
opened 2026-03-23 20:27:28 +00:00 by forgejo_admin · 2 comments

Type

Feature

Lineage

plan-wkq → Standalone feature — no current phase (schedule management)

Repo

forgejo_admin/westside-app

User Story

As a player or parent,
I want to see my team's weekly practice schedule in the app
So that I know when and where to show up without needing to text the coach.

Context

Practice schedule finalized 2026-03-22. 7 teams across 3 locations (Kongo, BWill, West High Field House), 4 days/week. Every team practices 2x/week. West High Field House (Tuesdays 6–8 PM, 3 courts) pending approval from Justin Thompson (AD, West High).

Full Schedule:

Day Location Time Court 1 Court 2 Court 3
Sunday Kongo (Farmington) TBD 16U Elite Kings 17U Elite + Select Kings
Monday BWill 7–9 PM 16U Local + 17U Local Kings
Tuesday West High Field House 6–8 PM 17U Elite + Select Kings 16U Elite + 17U Local Kings 17U Elite + 16U Elite Queens
Friday BWill 7–9 PM 16U Local Kings 17U Elite + 16U Elite Queens

Per-Team View:

Team Practice 1 Practice 2
17U Elite Kings Sunday — Kongo Tuesday — West High
17U Select Kings Sunday — Kongo Tuesday — West High
16U Elite Kings Sunday — Kongo Tuesday — West High
17U Local Kings Monday — BWill Tuesday — West High
16U Local Kings Monday — BWill Friday — BWill
17U Elite Queens Friday — BWill Tuesday — West High
16U Elite Queens Friday — BWill Tuesday — West High

West High Dates Requested (pending approval):
April: 7, 14, 21, 28 | May: 5, 12*, 19, 26 | June: 2, 9, 16, 23 | July: 7, 14, 21, 28 | August: 4, 11
*May 12 — Tech Wing Gym backup for East Gym rental conflict.

File Targets

Files the agent should modify or create:

  • src/routes/schedule/+page.svelte — new schedule page
  • src/routes/schedule/+page.js — load schedule data
  • src/lib/components/ScheduleCard.svelte — reusable day/location card component

Files the agent should NOT touch:

  • src/routes/admin/ — admin views are separate scope
  • src/routes/register/ — registration flow is unrelated

Acceptance Criteria

  • Schedule page accessible from main app navigation
  • Grouped by day with location, time, and court assignments visible
  • Player/parent sees only their team's practices (filtered by team membership)
  • Coach/admin sees full org schedule across all teams
  • Mobile-first responsive layout
  • Works for unauthenticated visitors (public schedule view, no team filtering)

Test Expectations

  • Unit test: schedule card renders correct day/location/teams
  • Unit test: team filtering shows correct practices per team
  • E2E: navigate to schedule page, verify content renders
  • Run command: npm test or npx playwright test tests/schedule

Constraints

  • Follow existing westside-app component patterns (no Tailwind — pure CSS vars)
  • Schedule data can be static/hardcoded initially — API endpoint is future scope
  • Mobile-first: must look good at 390px width

Checklist

  • PR opened
  • Tests pass
  • No unrelated changes
  • project-westside-basketball — parent project
  • Email thread with Justin Thompson (Justin.Thompson@slcschools.org) for West High approval
  • BWill (Byron) confirmed Mondays (1 court) and Fridays (2 courts)
### Type Feature ### Lineage `plan-wkq` → Standalone feature — no current phase (schedule management) ### Repo `forgejo_admin/westside-app` ### User Story As a player or parent, I want to see my team's weekly practice schedule in the app So that I know when and where to show up without needing to text the coach. ### Context Practice schedule finalized 2026-03-22. 7 teams across 3 locations (Kongo, BWill, West High Field House), 4 days/week. Every team practices 2x/week. West High Field House (Tuesdays 6–8 PM, 3 courts) pending approval from Justin Thompson (AD, West High). **Full Schedule:** | Day | Location | Time | Court 1 | Court 2 | Court 3 | |-----|----------|------|---------|---------|---------| | Sunday | Kongo (Farmington) | TBD | 16U Elite Kings | 17U Elite + Select Kings | — | | Monday | BWill | 7–9 PM | 16U Local + 17U Local Kings | — | — | | Tuesday | West High Field House | 6–8 PM | 17U Elite + Select Kings | 16U Elite + 17U Local Kings | 17U Elite + 16U Elite Queens | | Friday | BWill | 7–9 PM | 16U Local Kings | 17U Elite + 16U Elite Queens | — | **Per-Team View:** | Team | Practice 1 | Practice 2 | |------|-----------|-----------| | 17U Elite Kings | Sunday — Kongo | Tuesday — West High | | 17U Select Kings | Sunday — Kongo | Tuesday — West High | | 16U Elite Kings | Sunday — Kongo | Tuesday — West High | | 17U Local Kings | Monday — BWill | Tuesday — West High | | 16U Local Kings | Monday — BWill | Friday — BWill | | 17U Elite Queens | Friday — BWill | Tuesday — West High | | 16U Elite Queens | Friday — BWill | Tuesday — West High | **West High Dates Requested (pending approval):** April: 7, 14, 21, 28 | May: 5, 12*, 19, 26 | June: 2, 9, 16, 23 | July: 7, 14, 21, 28 | August: 4, 11 *May 12 — Tech Wing Gym backup for East Gym rental conflict. ### File Targets Files the agent should modify or create: - `src/routes/schedule/+page.svelte` — new schedule page - `src/routes/schedule/+page.js` — load schedule data - `src/lib/components/ScheduleCard.svelte` — reusable day/location card component Files the agent should NOT touch: - `src/routes/admin/` — admin views are separate scope - `src/routes/register/` — registration flow is unrelated ### Acceptance Criteria - [ ] Schedule page accessible from main app navigation - [ ] Grouped by day with location, time, and court assignments visible - [ ] Player/parent sees only their team's practices (filtered by team membership) - [ ] Coach/admin sees full org schedule across all teams - [ ] Mobile-first responsive layout - [ ] Works for unauthenticated visitors (public schedule view, no team filtering) ### Test Expectations - [ ] Unit test: schedule card renders correct day/location/teams - [ ] Unit test: team filtering shows correct practices per team - [ ] E2E: navigate to schedule page, verify content renders - Run command: `npm test` or `npx playwright test tests/schedule` ### Constraints - Follow existing westside-app component patterns (no Tailwind — pure CSS vars) - Schedule data can be static/hardcoded initially — API endpoint is future scope - Mobile-first: must look good at 390px width ### Checklist - [ ] PR opened - [ ] Tests pass - [ ] No unrelated changes ### Related - `project-westside-basketball` — parent project - Email thread with Justin Thompson (Justin.Thompson@slcschools.org) for West High approval - BWill (Byron) confirmed Mondays (1 court) and Fridays (2 courts)
Author
Owner

Schedule Update — LCA Thursday (optional)

Added after initial ticket creation:

  • LCA (Layton Christian Academy) — Thursdays
  • 5–6 PM weight room, 6–8 PM practice
  • Optional for 17U Elite Kings, 17U Select Kings, 16U Elite Kings
  • Gives those 3 teams a potential 3rd practice/week

Updated per-team max:

Team Practice 1 Practice 2 Optional 3rd Max/Week
17U Elite Kings Sunday — Kongo Tuesday — West High Thursday — LCA 3
17U Select Kings Sunday — Kongo Tuesday — West High Thursday — LCA 3
16U Elite Kings Sunday — Kongo Tuesday — West High Thursday — LCA 3
17U Local Kings Monday — BWill Tuesday — West High 2
16U Local Kings Monday — BWill Friday — BWill 2
17U Elite Queens Friday — BWill Tuesday — West High 2
16U Elite Queens Friday — BWill Tuesday — West High 2

Full schedule note: westside-practice-schedule
Accounting note: westside-accounting-court-rentals

### Schedule Update — LCA Thursday (optional) Added after initial ticket creation: - **LCA (Layton Christian Academy)** — Thursdays - **5–6 PM** weight room, **6–8 PM** practice - **Optional** for 17U Elite Kings, 17U Select Kings, 16U Elite Kings - Gives those 3 teams a potential 3rd practice/week Updated per-team max: | Team | Practice 1 | Practice 2 | Optional 3rd | Max/Week | |------|-----------|-----------|-------------|----------| | 17U Elite Kings | Sunday — Kongo | Tuesday — West High | Thursday — LCA | 3 | | 17U Select Kings | Sunday — Kongo | Tuesday — West High | Thursday — LCA | 3 | | 16U Elite Kings | Sunday — Kongo | Tuesday — West High | Thursday — LCA | 3 | | 17U Local Kings | Monday — BWill | Tuesday — West High | — | 2 | | 16U Local Kings | Monday — BWill | Friday — BWill | — | 2 | | 17U Elite Queens | Friday — BWill | Tuesday — West High | — | 2 | | 16U Elite Queens | Friday — BWill | Tuesday — West High | — | 2 | Full schedule note: `westside-practice-schedule` Accounting note: `westside-accounting-court-rentals`
Author
Owner

Closing — deprecated. Contract infrastructure complete, Phase 15 SPA overhaul supersedes current-app features.

Closing — deprecated. Contract infrastructure complete, Phase 15 SPA overhaul supersedes current-app features.
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-app#71
No description provided.