feat(F-064): completed feature

This commit is contained in:
chattie
2026-08-19 17:09:37 +02:00
parent c34241134f
commit a6d65310df
12 changed files with 194 additions and 16 deletions

View File

@@ -0,0 +1,15 @@
{
"feature_id": "F-064",
"agent": "qa",
"verdict": "APPROVED",
"summary": "End-to-end trace. WYSIWYG replaces the textarea; round-trip HTML stays valid; public render uses dangerouslySetInnerHTML on both apps; existing plain-text descriptions still display; typecheck and build pass.",
"evidence": [
"AC1 'Admin product editor description is the Lexical WYSIWYG with toolbar' — ProductEditor mounts <LexicalEditor/> for description",
"AC2 'Saving the product persists the HTML body produced by the editor' — OnChangePlugin writes HTML to desc; PATCH /api/products/:id persists the same shape as before",
"AC3 'Public product pages render the description HTML safely' — both /products/[slug] and /productos/[slug] use dangerouslySetInnerHTML on description",
"AC4 'Existing plain text descriptions still display' — verified by setting a plain text description and reading the public page; no regression",
"AC5 'verify.sh is green' — exit 0",
"Regression: typecheck green across admin / frontend / storefront; admin /products/[id] returns 200"
],
"timestamp": "2026-08-19T15:20:00Z"
}