feat: final cleanup — stale files, inline violations, component docs (#88) #38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "88-cleanup-docs"
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
Changes
tryouts.html,westside-index.html,original-index.html,signin.html: removed (stale files)reset-password.html: created — Keycloak reset password form mock matching login/forgot-password stylelogin.html: extracted inline<style>block to shared/style.css, added app.js include, replaced inline style on submit linkforgot-password.html: extracted inline<style>block and<script>to shared files, replaced inline stylesschedule.html: replaced 16 inlinestyle=attributes with.schedule-upcoming-*classesadmin-teams.html: moved inlineinitTeams()mock data call to shared/app.js DOMContentLoaded blockshared/style.css: added auth page styles, schedule section classes, utility classes for all extracted inline stylesshared/app.js: addedshowForgotSuccess(), admin-teams mock data init in DOMContentLoadedsignin.htmllogout links tologin.htmldeferattribute on app.js script tag@routecomponent doc comment before<!DOCTYPE>index.html+ 5 public pages: removed FAQ section and FAQ nav linksindex.html: removed Partners/sponsor banner sectionTest Plan
ls *.html | wc -l= 23grep -rl '<style' *.htmlreturns nothinggrep -rl 'style="' *.htmlreturns nothinggrep -rl '<script>' *.htmlreturns nothing (no inline scripts)<script src="shared/app.js" defer></script>@routedoc comment before<!DOCTYPE>.htmlhref links resolve (zero broken links)Review Checklist
Related
Review: APPROVED
Reviewed all 29 files in the diff (23 modified/created, 4 deleted, 2 additional deletes). All changes are correct and complete.
Verification Results
ls *.html | wc -l= 23<style>tags in HTMLstyle=inline attributes<script>blocksdeferon app.js@routedoc before<!DOCTYPE>.htmlhref linkssignin.htmlrefs updated tologin.htmlChanges Validated
.schedule-upcoming-*classes. All remaining inline styles across 8 other files replaced with utility classes.showForgotSuccess()moved to app.js.initTeams()mock data wrapped in DOMContentLoaded with!teamsStateguard to prevent double-init.@route,@auth,@nav,@apiblock at file top.No issues found.
PR #38 Review
DOMAIN REVIEW
Tech stack: Static HTML/CSS/JS playground (design mockups for westside-app). Single shared CSS file with design tokens, single shared JS file, 23 HTML pages.
Verification of PR deliverables (all pass):
<style>tagsstyle=inline attributes<script>blocks (only<script src="shared/app.js" defer>)CSS architecture: Clean. Design tokens via
:rootcustom properties. Mobile-first. No magic numbers in the token layer. Single-file design system.JS architecture: Clean. Single shared file. DOMContentLoaded auto-init detects page context. No global pollution beyond explicit function declarations for onclick handlers.
Accessibility: Nav toggle uses
aria-expandedandaria-controls.aria-labelon navigation.lang="en"on all pages. Form labels properly associated with inputs viafor/id.BLOCKERS
None.
This is a static HTML/CSS playground (design mockups). No backend, no user input processing, no auth logic, no database queries. The BLOCKER criteria (test coverage, unvalidated user input, secrets, DRY auth violations) do not apply to static design prototypes.
NITS
Stale OG meta URLs: Four public pages (index.html, staff.html, schedule.html, sponsors.html) reference
https://ldraney.github.io/west-side-basketball/in Open Graph tags. This is a dead GitHub Pages URL. Non-blocking for a playground, but worth tracking if these meta tags will be promoted to westside-app.Mock credential in register.html line 264: The confirmation state displays
westside-marcus-2026as a mock password. This is clearly placeholder content in a static mockup, not a real credential. However, when promoting to westside-app, this should be replaced with a dynamically generated value from the API response.Landing page section order: The context specified "Hero, About, Quote, How to Join, CTA" but the actual structure is "Hero, About (with quote embedded), Coaches, CTA." The quote is inside the About section rather than standalone, and there is a Coaches section instead of "How to Join." This may be intentional design evolution -- noting for awareness.
onclick handlers: 37
onclickattributes across 8 files. These are inline JS event handlers for mock interactivity, separate from the<script>block constraint. Acceptable for playground prototypes, but when promoting to SvelteKit these should become proper event bindings.SOP COMPLIANCE
88-cleanup-docsreferences westside-app#88)#88)PROCESS OBSERVATIONS
VERDICT: APPROVED