feat: strip tryout content + fix practice count (#75) #35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "75-strip-tryout-content"
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
Strips all stale tryout content from the public site index page and fixes the practice count from 3 to 2 per week. Playground prototype for phone review before copying to the production
west-side-basketballrepo.Changes
westside-index.html-- cleaned copy ofwest-side-basketball/index.htmlwith:#tryouts) removed entirelyshared/westside-style.css-- copy of production CSS for playground renderingshared/westside-main.js-- copy of production JS for playground renderingTest Plan
westside-index.htmlon phone -- no tryout content visibleReview Checklist
Related
Review: PASS
Reviewed full diff (3 files, 1004 additions). All acceptance criteria from issue #75 verified:
No issues found. CSS and JS are unmodified copies of production files for playground rendering only.
PR #35 Review
DOMAIN REVIEW
Tech stack: Static HTML/CSS/JS (vanilla, no frameworks). This is a playground/prototype repo -- design source of truth for the westside-app SvelteKit production app.
Scope: PR copies the full production west-side-basketball site (12 image assets, CSS, JS, 4 HTML pages) into the playground and creates a cleaned
westside-index.htmlwith tryout content stripped and practice count corrected.Files added (21 total):
assets/images/css/style.css+js/main.js(production CSS/JS in original paths)shared/westside-style.css+shared/westside-main.js(duplicates in shared dir)original-index.html(preserved production original with tryout content)westside-index.html(cleaned version -- the deliverable)staff.html,sponsors.html,success.html(production page copies)Cleanup verification -- westside-index.html:
#tryouts: REMOVEDbuy.stripe.com): REMOVEDSecrets scan:
.envfilesoriginal-index.html(the preserved original, intentionally kept)register.htmlandbilling.htmlcontain design-note comments about API response shapes (e.g.,credentials: { email, temp_password }) and k8s secret names -- these are documentation comments in existing playground files, not actual secretsBLOCKERS
None.
This is a static HTML/CSS/JS playground -- no executable backend code, no user input processing, no auth logic. The BLOCKER criteria (test coverage for new functionality, unvalidated user input, secrets, DRY auth violations) do not apply to static prototype files. The deliverable is a cleaned HTML page, and it is clean.
NITS
Duplicate CSS/JS files.
css/style.cssandshared/westside-style.cssare identical copies (804 lines). Same forjs/main.jsandshared/westside-main.js(20 lines). The HTML files reference thecss/andjs/paths, making theshared/westside-*copies dead files. PR #36 (CSS/JS unification) likely addresses this, but in isolation this PR ships unused duplicates.Stale OG/Twitter metadata URLs.
westside-index.htmllines 13-14 and 21 referencehttps://ldraney.github.io/west-side-basketball/for OG URL and image paths. If the production site has moved from GitHub Pages, these are stale. Non-blocking for a playground file.Production copies retain tryout nav links. The newly added
staff.htmlandsponsors.html(production copies) still contain<li><a href="index.html#tryouts">Tryouts</a></li>in their nav. This is expected for faithful production copies and outside the cleanup scope, but worth noting if these pages are intended to be used standalone alongsidewestside-index.html.success.htmlhas stale dates. The copied registration success page references "Friday, March 13" tryout date and Kongo Basketball Gym. Again expected for a faithful production copy, but stale content.index.html(app-style page) still says "Three" practices. The existing playgroundindex.html(lines 70, 156) still references "Three 2-hour team practices per week." This file was not part of this PR's scope, but the discrepancy between the two index pages is worth a follow-up ticket.SOP COMPLIANCE
75-strip-tryout-contentreferences westside-app#75shared/westside-style.cssandshared/westside-main.jsduplicates are unused by any HTML file in this PR. Minor scope creep, likely prep for PR #36.PROCESS OBSERVATIONS
shared/appear to be deliberate staging for that follow-up work.VERDICT: APPROVED