feat(F-055): completed feature
This commit is contained in:
@@ -2919,6 +2919,44 @@
|
||||
},
|
||||
"acceptance": "1. Backend se mantiene estable bajo carga normal (no muere sin causa aparente). 2. Si el backend muere, monolith.sh lo reinicia automáticamente. 3. /api/auth/login en 3003 usa NEXT_PUBLIC_API_URL configurable. 4. /api/auth/login responde códigos del backend (no 500/502) cuando el backend está vivo.",
|
||||
"completed_at": "2026-08-19T11:15:30Z"
|
||||
},
|
||||
{
|
||||
"id": "F-055",
|
||||
"type": "feature",
|
||||
"title": "Image thumbnails: backend resize cache + frontend max-size",
|
||||
"problem": "Product images served at full resolution everywhere, causing slow loads on listings and layout overflow on detail pages.",
|
||||
"goal": "Backend generates and caches 40px and 200px thumbnails; frontend applies CSS max-size to prevent overflow.",
|
||||
"scope_in": [
|
||||
"Image resize endpoint: GET /images/:id/thumb?w=40 and ?w=200",
|
||||
"Disk cache for resized images under .thumbs/",
|
||||
"CSS max-width/max-height on product detail page",
|
||||
"Admin product edit preview uses 200px thumbnail"
|
||||
],
|
||||
"scope_out": [
|
||||
"No CDN integration",
|
||||
"No WebP/AVIF conversion",
|
||||
"No image upload pipeline changes"
|
||||
],
|
||||
"priority": "high",
|
||||
"risk": "low",
|
||||
"depends_on": [],
|
||||
"description": "Problem: product images served at full resolution everywhere. Goal: resize+cache 40px/200px thumbnails server-side + CSS overflow guard. Type: feature. Priority: high. Risk: low.",
|
||||
"acceptance": [
|
||||
"GET /images/:id/thumb?w=40 returns resized image with cache hit on second request",
|
||||
"GET /images/:id/thumb?w=200 returns 200px resized image",
|
||||
"Product detail page images respect max-width: 100% and max-height: 600px",
|
||||
"No new raw full-size images served in product listings",
|
||||
"verify.sh is green"
|
||||
],
|
||||
"status": "done",
|
||||
"created_at": "2026-08-19",
|
||||
"gates": {
|
||||
"reviewer": true,
|
||||
"security": true,
|
||||
"qa": true,
|
||||
"close": true
|
||||
},
|
||||
"completed_at": "2026-08-19T11:48:32Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user