feat: clickable team cards, role-aware team detail, clearer admin stats #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "7-feat-clickable-team-cards-role-aware-tea"
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?
Summary
Three UX improvements to the playground prototype: clearer admin stat labels, clickable team cards on admin dashboard, admin-only edit section on team detail, and a "Browse Teams" section for coaches.
Changes
admin.html-- Renamed stat card labels ("Active Players" to "Registered", "Current" to "Paid Up"). Wrapped all 6 team cards in<a>tags with red border hover effect. First card links toteam.html, others use#placeholder hrefs.team.html-- Added "Admin Tools" section at the bottom with "Edit Roster" button, "Export CSV" button, and "Assign Players" placeholder. Wrapped in HTML comment marking it admin-only for production role gating.coach.html-- Added "Browse Teams" section below coach actions with 3 placeholder team cards (Kings, Queens, 15U Boys) linking toteam.html.Test Plan
admin.html-- verify stat labels read "Registered" and "Paid Up"team.htmlteam.html-- scroll to bottom, verify "Admin Tools" section with Edit Roster / Assign Playerscoach.html-- scroll below roster grid, verify "Browse Teams" section with 3 team cardsReview Checklist
Related
plan-wkq(traceability)Closes #7
PR Review -- #8
Acceptance Criteria Check
<a>tagsObservations (non-blocking)
a.team-cardCSS in bothadmin.htmlandcoach.htmlpage-specific styles. Fine for playground; would move toshared/app.cssin production.team.htmladmin section (style="padding: 1rem; display: flex; gap: 0.5rem;"). Acceptable for a prototype placeholder.Diff Stats
shared/app.cssor any files outside scopeVERDICT: APPROVE