Parent dashboard: replace schedule placeholder with player's team schedule #211

Closed
opened 2026-04-04 19:49:58 +00:00 by forgejo_admin · 0 comments
Contributor

Type

Feature

Lineage

Discovered during 2026-04-04 schedule audit. Practice data exists in DB and API, parent dashboard shows "Schedule data will appear here once practice times are confirmed."

Repo

forgejo_admin/westside-landing

User Story

As a parent,
I want to see my child's team practice schedule on my dashboard
So that I know when and where to bring my kid to practice.

Context

The parent dashboard at /my-players has an "Upcoming Schedule" section that shows a placeholder. The data exists — practice schedules are in the DB and served via API. The parent's player and team are available from the auth context.

Environment

  • Production: westsidekingsandqueens.tail5b443a.ts.net/my-players
  • API: player → team → practice_schedules chain available

File Targets

Files to modify:

  • src/routes/(app)/my-players/+page.svelte — replace schedule placeholder with practice schedule for the parent's player's team

Files NOT to touch:

  • Backend — API endpoints already exist

Acceptance Criteria

  • Parent sees their player's team weekly practice schedule (day, time, location)
  • Placeholder text removed
  • If parent has multiple players on different teams, show schedule for each

Test Expectations

  • Visual: parent logs in, sees practice schedule for their kid's team
  • npm run build passes

Constraints

  • Use existing API endpoints
  • Pure CSS vars, no Tailwind

Checklist

  • PR opened
  • Visual validation
  • No unrelated changes
  • westside-basketball — project this affects
### Type Feature ### Lineage Discovered during 2026-04-04 schedule audit. Practice data exists in DB and API, parent dashboard shows "Schedule data will appear here once practice times are confirmed." ### Repo `forgejo_admin/westside-landing` ### User Story As a parent, I want to see my child's team practice schedule on my dashboard So that I know when and where to bring my kid to practice. ### Context The parent dashboard at `/my-players` has an "Upcoming Schedule" section that shows a placeholder. The data exists — practice schedules are in the DB and served via API. The parent's player and team are available from the auth context. ### Environment - Production: westsidekingsandqueens.tail5b443a.ts.net/my-players - API: player → team → practice_schedules chain available ### File Targets Files to modify: - `src/routes/(app)/my-players/+page.svelte` — replace schedule placeholder with practice schedule for the parent's player's team Files NOT to touch: - Backend — API endpoints already exist ### Acceptance Criteria - [ ] Parent sees their player's team weekly practice schedule (day, time, location) - [ ] Placeholder text removed - [ ] If parent has multiple players on different teams, show schedule for each ### Test Expectations - [ ] Visual: parent logs in, sees practice schedule for their kid's team - [ ] `npm run build` passes ### Constraints - Use existing API endpoints - Pure CSS vars, no Tailwind ### Checklist - [ ] PR opened - [ ] Visual validation - [ ] No unrelated changes ### Related - `westside-basketball` — project this affects
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
ldraney/westside-app#211
No description provided.