Fix jersey warmup image URLs to correct MinIO filenames #242
No reviewers
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
ldraney/westside-app!242
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "241-fix-jersey-images"
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
The warmup package option on the jersey page referenced non-existent image filenames (
queens-away.jpeg/kings-warmup.jpeg). Updated to the correct MinIO URLs (queens-away-new.jpeg/kings-away-new.jpeg).Also closed stale PR #239.
Changes
src/routes/(public)/jersey/+page.svelte— updated warmup option img src for both girls and boys divisions to correct filenamesTest Plan
/jerseypage with a girls-division player token — warmup card should showqueens-away-new.jpeg/jerseypage with a boys-division player token — warmup card should showkings-away-new.jpegReview Checklist
Related Notes
None.
Related
Closes #241
PR #242 Review
DOMAIN REVIEW
Stack: SvelteKit (
.sveltetemplate)This is a 1-line asset URL fix in a Svelte template. Two image filenames are corrected:
queens-away.jpeg->queens-away-new.jpegkings-warmup.jpeg->kings-away-new.jpegThe conditional logic (
division === 'girls'ternary) is preserved. Alt text is unchanged and appropriate. No script or style changes.One observation: the hardcoded MinIO URLs (
https://minio-api.tail5b443a.ts.net/assets/westside/jerseys/...) appear across both the reversible and warmup branches. This is an existing pattern, not introduced by this PR, so not a blocker here.BLOCKERS
None.
This is a pure asset URL correction with no new functionality, so the BLOCKER criteria (test coverage for new functionality, input validation, secrets, auth DRY) do not apply.
NITS
imgtags visible in context. A shared constant (e.g.,const JERSEY_BASE = 'https://minio-api.tail5b443a.ts.net/assets/westside/jerseys') would reduce duplication and make future URL changes single-point. Not blocking for a 1-line fix.SOP COMPLIANCE
241-fix-jersey-imagesmatches issue #241Closes #241PROCESS OBSERVATIONS
Minimal change, minimal risk. This is the third iteration on jersey image URLs (#238, #239/#240, now #242), suggesting the MinIO asset naming was not documented or verified before the initial PR. A quick asset inventory before image PRs would prevent churn. Low change failure risk.
VERDICT: APPROVED