feat(F-135): completed feature

This commit is contained in:
chattie
2026-08-21 18:48:24 +02:00
parent c028802787
commit 8ef3faad42
9 changed files with 239 additions and 26 deletions

View File

@@ -5422,6 +5422,23 @@
"close": true
},
"completed_at": "2026-08-21T16:47:00Z"
},
{
"id": "F-135",
"type": "fix",
"title": "ImagesSection drag-and-drop: accept files in pending state, auto-upload after create",
"description": "En apps/admin/src/features/products/components/sections/ImagesSection.tsx, la zona de drop 'Arrastra imágenes aquí para añadirlas al producto' no funciona cuando el operador está creando un producto nuevo (/products/new). Mi F-123 añadió un bloque 'pending' que renderiza la zona de drop visualmente PERO sin los handlers onDragOver/onDragLeave/onDrop — solo el input row tiene pointer-events-none. La drop zone acepta drops visuales pero no hace nada. Fix: aceptar drops también en estado pending, guardar los archivos en estado local (cola), y subirlos automáticamente al backend cuando productId se setea (después de Crear producto).",
"priority": "high",
"risk": "low",
"status": "done",
"created_at": "2026-08-21",
"gates": {
"reviewer": true,
"security": true,
"qa": true,
"close": true
},
"completed_at": "2026-08-21T16:48:24Z"
}
]
}