feat(F-060): completed feature

This commit is contained in:
chattie
2026-08-19 16:49:16 +02:00
parent 72ba84456c
commit 5e2e935f76
8 changed files with 201 additions and 16 deletions

View File

@@ -3091,6 +3091,39 @@
"close": true
},
"completed_at": "2026-08-19T13:32:56Z"
},
{
"id": "F-060",
"type": "chore",
"title": "Regenerate cached thumbnails with fit inside max-h cap",
"problem": "generate-thumbnails.mjs uses old resize pattern that has no max-height cap and skips already cached files",
"goal": "All cached thumbnails regenerated with fit inside max-h size times 1.4",
"scope_in": [
"Update generate-thumbnails.mjs to use fit inside and max-h cap matching the upload route; add FORCE flag to regenerate existing cached thumbnails; rerun script and verify all thumbs match new behavior"
],
"scope_out": [
"No API changes",
"no schema change"
],
"priority": "med",
"risk": "low",
"description": "Problem: generate-thumbnails.mjs uses old resize pattern that has no max-height cap and skips already cached files. Goal: All cached thumbnails regenerated with fit inside max-h size times 1.4. Scope IN: Update generate-thumbnails.mjs to use fit inside and max-h cap matching the upload route; add FORCE flag to regenerate existing cached thumbnails; rerun script and verify all thumbs match new behavior. Scope OUT: No API changes, no schema change. Type: chore. Priority: med. Risk: low.",
"acceptance": [
"generate-thumbnails.mjs uses fit inside with maxHeight size times 1.4",
"FORCE flag regenerates existing cached thumbnails",
"All cached thumbnails now use the new bounded-box behavior matching upload route",
"Non-square source thumbnails are not cropped",
"verify.sh is green"
],
"status": "done",
"created_at": "2026-08-19",
"gates": {
"reviewer": true,
"security": true,
"qa": true,
"close": true
},
"completed_at": "2026-08-19T14:49:16Z"
}
]
}