Playground overhaul 4/4: Cleanup + component doc verification #88
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/westside-app#88
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
Decomposed from westside-app#84. Parent note:
westside-playground-overhaulRepo
forgejo_admin/westside-playgroundUser Story
As a superuser, I want every playground page documented with route, auth, and data contract information so that Svelte promotion is a mechanical copy-paste, not a guessing game.
story:WS-S26
Context
Final cleanup after sub-tickets 1-3 land. Remove stale files, verify every page has component docs, verify nav consistency across all pages. This is the gate before declaring the playground source-of-truth complete.
File Targets
Files to remove:
tryouts.html— stale (tryouts cancelled)westside-index.html— stale copy from earlier sessionoriginal-index.html— stale copy from west-side-basketballFiles to verify (all 24 pages):
Acceptance Criteria
ls *.htmlmatches exactly the 24 expected pagesTest Expectations
Constraints
Checklist
Related
westside-playground-overhaul— parent decomposition noteScope Review: NEEDS_REFINEMENT
Review note:
review-384-2026-03-25Page count is wrong (says 24, sub-tickets define 22), two orphaned files (signin.html, success.html) unaccounted for, and the broken-href acceptance criterion needs a concrete test command.
Refinements from review-384-2026-03-25:
Public (8):
index.html,staff.html,sponsors.html,schedule.html,login.html,forgot-password.html,reset-password.html,register.htmlAuthenticated (14):
admin.html,admin-players.html,admin-teams.html,coach.html,coach-profile.html,parent.html,player-profile.html,billing.html,team.html,checkout.html,checkout-success.html,checkout-cancel.html,jersey.html,jersey-success.htmlRegistration confirmation (1):
success.html— keep, update to unified CSSTotal: 23 pages
tryouts.html— cancelledwestside-index.html— stale copyoriginal-index.html— stale copysignin.html— replaced bylogin.htmlUpdated scope from full audit (2026-03-26):
Stale files to remove (4):
tryouts.htmlwestside-index.htmloriginal-index.htmlsignin.htmlMissing file to create (1):
reset-password.html— linked from forgot-password.html but doesn't exist (broken link)Inline CSS violations to fix (3 files):
login.html—<style>block with auth form styles → move toshared/style.cssforgot-password.html—<style>block with auth form styles → move toshared/style.cssschedule.html— 16 inlinestyle=attributes → extract to classes inshared/style.cssInline JS violations to fix (2 files):
forgot-password.html— inline<script>withshowForgotSuccess()→ move toshared/app.jsadmin-teams.html— inline<script>withinitTeams()mock data → move toshared/app.js(note: in SvelteKit this becomes+page.server.ts load())Missing app.js references (2 files):
login.html— no<script src="shared/app.js">includeforgot-password.html— no<script src="shared/app.js">include (uses inline instead)Inconsistent defer attribute:
<script src="shared/app.js" defer>, others use<script src="shared/app.js">without defer. Standardize todeferon all.Component docs to add/verify (20 files missing):
Pages WITHOUT @route docs:
admin.html,admin-players.html,admin-teams.html,billing.html,checkout.html,checkout-cancel.html,checkout-success.html,coach.html,coach-profile.html,jersey.html,jersey-success.html,parent.html,player-profile.html,sponsors.html,staff.html,team.html+ 4 stale files being removed.Every surviving page needs HTML comment at top:
Nav consistency check:
westside-index.html,original-index.html) have old 5-item nav — removed with stale file deletionContent redundancy (landing page):
index.html— every question is answered by a dedicated pageindex.html— sponsors have their own pageUpdated acceptance criteria:
reset-password.htmlcreated<style>tags in any HTML file<script>blocks (only<script src="shared/app.js" defer>)style=inline attributes<script src="shared/app.js" defer>@routecomponent doc on all 22 surviving pagesls *.html | wc -l= 22