feat: playbook upload UX + team schedule entries #15

Closed
forgejo_admin wants to merge 1 commit from 12-playbook-upload-team-schedule into main

Summary

Adds a playbook upload section to the coach dashboard and replaces the "coming soon" schedule placeholder on the team detail page with actual practice entries.

Changes

  • coach.html: Added "Upload Playbook" section below the roster grid with a dashed file drop zone (label wrapping hidden file input), accepted formats hint, and a list of three previously uploaded playbooks with green "Uploaded" badges. All styles scoped in page-level style block using existing CSS custom properties.
  • team.html: Replaced the schedule placeholder-body div with four schedule-item entries (Tue/Thu practices, Sat skill session, next Tue practice) matching the exact markup pattern from parent.html. Wrapped in a padding div inside the existing info-card.

Test Plan

  • Open coach.html in browser -- verify upload area appears below roster with dashed border, upload icon, label, hint text, and three listed playbooks
  • Open team.html in browser -- verify Schedule card shows four practice entries with date boxes, titles, and times instead of "coming soon"
  • Verify both pages render correctly at mobile (375px) and desktop (1280px) widths
  • Confirm no unrelated changes (only coach.html and team.html modified)

Review Checklist

  • Passed automated review-fix loop
  • No secrets committed
  • No unnecessary file changes
  • Commit messages are descriptive
  • Closes #12
  • Plan: plan-wkq
## Summary Adds a playbook upload section to the coach dashboard and replaces the "coming soon" schedule placeholder on the team detail page with actual practice entries. ## Changes - **coach.html**: Added "Upload Playbook" section below the roster grid with a dashed file drop zone (label wrapping hidden file input), accepted formats hint, and a list of three previously uploaded playbooks with green "Uploaded" badges. All styles scoped in page-level style block using existing CSS custom properties. - **team.html**: Replaced the schedule placeholder-body div with four schedule-item entries (Tue/Thu practices, Sat skill session, next Tue practice) matching the exact markup pattern from parent.html. Wrapped in a padding div inside the existing info-card. ## Test Plan - [ ] Open coach.html in browser -- verify upload area appears below roster with dashed border, upload icon, label, hint text, and three listed playbooks - [ ] Open team.html in browser -- verify Schedule card shows four practice entries with date boxes, titles, and times instead of "coming soon" - [ ] Verify both pages render correctly at mobile (375px) and desktop (1280px) widths - [ ] Confirm no unrelated changes (only coach.html and team.html modified) ## Review Checklist - [x] Passed automated review-fix loop - [x] No secrets committed - [x] No unnecessary file changes - [x] Commit messages are descriptive ## Related - Closes #12 - Plan: `plan-wkq`
Coach view gets a playbook upload section with dashed drop zone and list
of previously uploaded files. Team page schedule replaces "coming soon"
placeholder with four practice entries matching the parent.html
schedule-item pattern.

Closes #12

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Owner

Self-review: PASS

Reviewed diff against issue #12 acceptance criteria:

  • coach.html has "Upload Playbook" section with dashed drop zone, hidden file input, and three previously-uploaded playbook entries
  • team.html schedule shows 4 practice entries (Tue/Thu/Sat/Tue) replacing "coming soon" placeholder
  • Schedule entries use identical markup to parent.html (schedule-item, schedule-date, schedule-day, schedule-month, schedule-details, schedule-title, schedule-time)
  • All schedule CSS comes from shared/app.css; upload CSS is page-scoped using existing design tokens
  • Only 2 files changed, no unrelated modifications, no secrets
**Self-review: PASS** Reviewed diff against issue #12 acceptance criteria: - [x] `coach.html` has "Upload Playbook" section with dashed drop zone, hidden file input, and three previously-uploaded playbook entries - [x] `team.html` schedule shows 4 practice entries (Tue/Thu/Sat/Tue) replacing "coming soon" placeholder - [x] Schedule entries use identical markup to `parent.html` (`schedule-item`, `schedule-date`, `schedule-day`, `schedule-month`, `schedule-details`, `schedule-title`, `schedule-time`) - [x] All schedule CSS comes from `shared/app.css`; upload CSS is page-scoped using existing design tokens - [x] Only 2 files changed, no unrelated modifications, no secrets
Author
Owner

Closing — playbooks, schedule, and stats will be separate services (own repos, shared Keycloak auth). Not playground pages. Team page shows TBD placeholders.

Closing — playbooks, schedule, and stats will be separate services (own repos, shared Keycloak auth). Not playground pages. Team page shows TBD placeholders.
Author
Owner

Closing — dashboard prototypes will move to a separate westside-app-playground repo. This repo is now scoped to landing site work only.

Closing — dashboard prototypes will move to a separate westside-app-playground repo. This repo is now scoped to landing site work only.
Author
Owner

Closing — dashboard prototypes will move to a separate westside-app-playground repo. This repo is now scoped to landing site work only.

Closing — dashboard prototypes will move to a separate westside-app-playground repo. This repo is now scoped to landing site work only.
forgejo_admin closed this pull request 2026-03-27 10:46:52 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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-playground!15
No description provided.