Admin schedule prototype: continuous CRUD view with inline editing #49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Follow-up from schedule feature (basketball-api#232, #233, westside-landing#166, #172 — all merged). Marcus approved the read-only card concept. This prototype adds CRUD and iterates the design before promoting to Svelte.
Repo
forgejo_admin/westside-playgroundUser Story
story:WS-S13As an admin (Marcus), I want to add, edit, and deactivate practices and events from the schedule page so that I can manage the program calendar without asking Lucas to deploy code changes.Secondary stories derived from design discussion:
Context
The read-only admin schedule view is live (
/admin/schedule) and Marcus likes the continuous card layout. This prototype adds CRUD controls following theadmin-teams.htmlinline editing pattern (expand-in-place forms, save/reset, localStorage state management).Design decisions (from Lucas discussion):
admin-teams.htmlpattern.Three sections (continuous scroll):
CRUD interactions:
.form-input-inlinepattern fromadmin-teams.html). Save/Cancel buttons inside expanded card.window.confirm()dialog.File Targets
Files to create:
admin-schedule.html— the admin schedule CRUD prototypePattern reference (do NOT modify):
admin-teams.html— inline editing pattern (state management, expand-in-place, save/reset, drag-reorder precedent)admin.html— page layout (nav, container, page-header, stats-row)schedule.html— public schedule page (day/time formatting, division labels, card layout)shared/style.css— design system (all available CSS classes)Files NOT to touch:
shared/style.css— use existing classes. If new schedule-specific styles are needed, use<style>tag in the HTML file.Acceptance Criteria
Test Expectations
admin-schedule.htmlin browserConstraints
shared/style.css(documented in research:.schedule-card,.form-input-inline,.btn-primary,.badge-*,.stat-card, etc.)admin-teams.htmlteamsState pattern)Checklist
Related
project-westside-basketballforgejo_admin/basketball-api#232— data model (merged)forgejo_admin/basketball-api#233— API endpoints (merged)forgejo_admin/westside-landing#166— admin schedule view (merged, read-only)westside-landing/admin/scheduleroute (after playground approval)