fix: use MinIO URLs for jersey page images #240
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!240
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-jersey-image-urls"
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
Jersey images broken on production — playground asset paths (
assets/images/gear/IMG_4165.jpeg) don't exist on the deployed site. Replaces with MinIO URLs conditional on division.Changes
src/routes/(public)/jersey/+page.svelte— Replace relative playground image paths with MinIO URLs: queens-home/queens-away for girls, kings-home/kings-warmup for boysTest Plan
/jersey?token=...for a girls player — queens images render/jersey?token=...for a boys player — kings images renderReview Checklist
Related Notes
None.
Related
Closes #236
PR #240 Review
DOMAIN REVIEW
Stack: SvelteKit (Svelte template)
This is a 2-line hotfix replacing broken relative playground image paths (
assets/images/gear/IMG_4165.jpeg,IMG_4164.jpeg) with MinIO URLs conditional on division. The existing division conditional logic is unchanged -- only thesrcattribute values are swapped. The TODO comment requesting this exact change is removed, which is correct.The MinIO hostname (
minio-api.tail5b443a.ts.net) is a known platform Tailscale hostname used across the infrastructure. The URLs are hardcoded inline rather than pulled from config/env, which is worth noting for future cleanup but acceptable for a hotfix.No accessibility regression --
altattributes are preserved and unchanged. No new component logic, no new imports, no bundle size impact.BLOCKERS
None.
NITS
https://minio-api.tail5b443a.ts.net/assets/westside/jerseys/) to a constant or env variable. If the hostname changes, four inline URLs would need updating. Low priority for a hotfix, but worth a follow-up ticket.imgtag lines are quite long with the ternary expressions. A{@const}block or local variable forimageSrcwould improve readability. Non-blocking.SOP COMPLIANCE
fix-jersey-image-urlsshould be236-fix-jersey-image-urlsPROCESS OBSERVATIONS
Minimal change failure risk -- this is a static asset URL swap with no logic changes. The branch naming convention miss is minor. Deployment frequency is healthy given the hotfix nature.
VERDICT: APPROVED