fix: add MinIO jersey images to jersey ordering page cards #238
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!238
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hotfix-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 ordering cards (
(app)/jersey/+page.svelte) displayed no product images. This adds division-aware jersey images from MinIO to the reversible and warmup option cards so players can see what they are ordering.Changes
src/routes/(app)/jersey/+page.svelte-- Added<img>elements inside the reversible and jersey_warmup card bodies, using the existingdivisionstate to select girls (Queens) or boys (Kings) images from MinIOTest Plan
queens-home.jpeg, warmup card showsqueens-away.jpegkings-home.jpeg, warmup card showskings-warmup.jpegReview Checklist
Related Notes
None.
Related
Closes #236
QA Review -- PR #238
Diff Summary
<img>elements to the reversible and jersey_warmup cards in(app)/jersey/+page.svelteFindings
Correctness: PASS
&& division) prevents rendering when player info hasn't loadeddivision === 'girls'matches existing codebase patternminio-api.tail5b443a.ts.net)reversibleandjersey_warmupkeys matched)Accessibility: PASS
loading="lazy"appropriate for card imagesNit: Missing CSS for
jersey-card-imgclassjersey-card-imgis applied to both<img>elements but has no CSS definition anywhere in the codebase (not inapp.css, not in a<style>block)width: 100%; border-radius: var(--radius-md);) either inapp.cssor as a scoped<style>blockVERDICT: APPROVED with nit
The nit (missing
jersey-card-imgCSS) is cosmetic and non-blocking. The core fix -- replacing broken/missing image paths with valid MinIO URLs -- is correct and safe to merge.Pull request closed