feat: Clickable team cards, role-aware team detail, clearer admin stat labels #7
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?
Lineage
plan-wkq→ Phase 10 (Playground — Complete App Prototype)Repo
forgejo_admin/westside-playgroundUser Story
As Marcus (admin), when I see teams on my dashboard, I want to click a team and see the full roster so I can manage players directly.
As a coach, I want to browse team rosters (read-only) to see player info and parent contact for my team and others.
Context
Three UX improvements to the playground prototype. These are design decisions that must be in the playground BEFORE the Phase 15 SPA production port.
File Targets
Files to modify:
admin.html— (1) Rename stat card labels: "Active Players" → "Registered", "Current" → "Paid Up". (2) Make each team card in the Teams section a clickable link toteam.html?id=X(use#as href for now since these are prototypes — just wrap the team card in an<a>tag styled to look the same).team.html— Add an admin edit section that's visually distinct: an "Edit Roster" button area and an "Assign Players" placeholder section at the bottom. Add a comment<!-- Admin only — hidden for coach/player roles in production -->around it. The existing roster/coaches/playbooks content stays as the read-only view that all roles see.coach.html— Add a "Browse Teams" section below the current team roster. Show 2-3 placeholder team cards (like the admin dashboard has) that link toteam.html. This gives coaches visibility into other teams beyond just their own.Files NOT to touch:
index.html,tryouts.html,register.html,signin.html,billing.html,player-profile.html,parent.html— no changesAcceptance Criteria
<a>tags)team.html) has an admin-only edit section at the bottom with "Edit Roster" / "Assign Players" placeholderscoach.html) has a "Browse Teams" section with placeholder team cards linking toteam.htmlshared/app.css— no new styles unless absolutely necessaryTest Expectations
Constraints
shared/app.css. Do NOT create new stylesheets.#hrefs for team links. The production app adds real data bindings.Checklist
Related
project-westside-basketball