feat: practice schedule management page for admin #16

Closed
forgejo_admin wants to merge 2 commits from 11-admin-schedule-page into main

Summary

Adds admin-schedule.html so Marcus can create and manage practice schedules per team. Also wires a "Manage Schedule" quick action into the admin dashboard.

Changes

  • admin-schedule.html (new) -- Admin schedule management page with team tab selector (6 teams), placeholder practice lists with edit/cancel actions, and an "Add Practice" form per team with date, time, location, and type fields. Uses existing CSS from shared/app.css plus page-scoped styles following the admin-teams.html pattern. Minimal JS for tab switching only.
  • admin.html -- Added "Manage Schedule" link to the Quick Actions section.

Test Plan

  • Open admin-schedule.html in a browser -- verify page loads with admin nav, team tabs, practice cards, and add-practice form
  • Click each team tab -- verify the practice list and form switch correctly
  • Verify the practice cards show date badge, title, time/location, type badge, and edit/cancel buttons
  • Verify the add-practice form has date, time (start/end), location, and type fields
  • Open admin.html -- verify "Manage Schedule" appears in Quick Actions and links to admin-schedule.html
  • Test at 375px, 768px, and 1280px widths

Review Checklist

  • No unrelated changes
  • Uses existing CSS from shared/app.css
  • Follows admin page patterns from admin.html and admin-teams.html
  • HTML + CSS only, minimal JS for tab switching
  • All 6 teams represented with placeholder practices
  • Plan: plan-wkq (traceability)
  • Closes #11
## Summary Adds `admin-schedule.html` so Marcus can create and manage practice schedules per team. Also wires a "Manage Schedule" quick action into the admin dashboard. ## Changes - **`admin-schedule.html`** (new) -- Admin schedule management page with team tab selector (6 teams), placeholder practice lists with edit/cancel actions, and an "Add Practice" form per team with date, time, location, and type fields. Uses existing CSS from `shared/app.css` plus page-scoped styles following the `admin-teams.html` pattern. Minimal JS for tab switching only. - **`admin.html`** -- Added "Manage Schedule" link to the Quick Actions section. ## Test Plan - Open `admin-schedule.html` in a browser -- verify page loads with admin nav, team tabs, practice cards, and add-practice form - Click each team tab -- verify the practice list and form switch correctly - Verify the practice cards show date badge, title, time/location, type badge, and edit/cancel buttons - Verify the add-practice form has date, time (start/end), location, and type fields - Open `admin.html` -- verify "Manage Schedule" appears in Quick Actions and links to `admin-schedule.html` - Test at 375px, 768px, and 1280px widths ## Review Checklist - [x] No unrelated changes - [x] Uses existing CSS from `shared/app.css` - [x] Follows admin page patterns from `admin.html` and `admin-teams.html` - [x] HTML + CSS only, minimal JS for tab switching - [x] All 6 teams represented with placeholder practices ## Related - Plan: `plan-wkq` (traceability) - Closes #11
Admin can now view and manage practice schedules per team via
admin-schedule.html. Team tabs switch between 6 teams, each showing
upcoming practices with edit/cancel actions and an add-practice form
with date, time, location, and type fields. Adds "Manage Schedule"
quick action link to admin.html.

Closes #11

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Prevents implicit form submission from button elements and fixes
cross-browser compatibility by passing `this` instead of relying
on the implicit `event` global in the tab switching function.

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

Closing — schedule is a separate service. Marcus hasn't defined the UX yet.

Closing — schedule is a separate service. Marcus hasn't defined the UX yet.
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!16
No description provided.