From a8a5de5392bc9063015253b70d1dfcbefa2bc1fe Mon Sep 17 00:00:00 2001 From: sdarbinyan Date: Fri, 17 Jul 2026 21:12:10 +0400 Subject: [PATCH] docs(project-editor): document 2026-07-17 bug-hunt audit pass - EDITOR.md: updated sections table (branding OG/gallery + image-field, header layout/sticky, widgets JSON error feedback), the inline-validation paragraph (now lists every wired fieldKey, not just the original 3 sections), the primitives table (app-image-field, app-code-editor), and a new dated section detailing all 9 fixed bugs plus the 3 real gaps found but deferred (theme mode dead at runtime, dynamic-renderer unwired, header profile menu missing). - KNOWN-ISSUES.md: added the 3 deferred gaps as new Open items, added a Fixed entry summarizing the 9 bugs (points to EDITOR.md for full detail rather than duplicating it). Co-Authored-By: Claude Sonnet 5 --- docs/EDITOR.md | 34 ++++++++++++++++++----- docs/KNOWN-ISSUES.md | 64 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+), 6 deletions(-) diff --git a/docs/EDITOR.md b/docs/EDITOR.md index 4980237..9899e03 100644 --- a/docs/EDITOR.md +++ b/docs/EDITOR.md @@ -26,12 +26,12 @@ Route: `/edit/:section` or `/{lang}/edit/:section`. `/backoffice/static-pages` ( | Section | Component | Covers | |---|---|---| | General | `general-section` | marketplace name, domain, description, default/supported languages | -| Branding | `branding-section` | logo, small logo, favicon, marketplace title | -| Theme | `theme-section` | palette colors, theme mode, site layout mode | -| Header | `header-section` | logo/search/categories/languages/cart/profile/wishlist/compare/region toggles | +| Branding | `branding-section` | logo, small logo, favicon, social share (OG) image, gallery, marketplace title — all image fields use `app-image-field` (thumbnail preview + replace/remove) | +| Theme | `theme-section` | palette colors (live, applied as CSS custom properties), theme mode (**not applied at runtime, see Known gaps**), site layout mode | +| Header | `header-section` | logo/search/categories/languages/cart/profile/wishlist/compare/region toggles, layout (default/centered), sticky | | Footer | `footer-section` | company info, address, phone, email, copyright, payment icons, social links, static pages list | | Homepage | `homepage-section` | homepage section list: visibility, order (drag-and-drop), layout strategy, columns | -| Widgets | `widgets-section` | homepage widget configuration — typed editors for hero/categories/product-collection, JSON fallback for everything else | +| Widgets | `widgets-section` | homepage widget configuration — typed editors for hero/categories/product-collection, JSON fallback (with draft-preserving inline error, not silent-discard) for everything else | | Static Pages | `static-pages-editor` (`features/content-management/`) | Full CRUD, media, SEO, per-page draft/publish, device preview, nav integration — see `docs/StaticPages.md` (Sprint X+2) | | Marketplace Features | `features-section` | feature flags, catalog navigation mode, search suggestions/history, recently viewed, reviews/questions/recommendations | | Languages | `languages-section` | add/remove supported locale, set default locale; syncs translation keys across static pages and nav labels via `LocaleSyncService` | @@ -64,11 +64,11 @@ The schema is currently consumed by the facade (validation issue → field mappi `primitives.ts` holds pure, framework-free functions — one per concern, reused everywhere that concern appears: `isValidHexColor`, `isValidHttpUrl`, `isValidEmail`, `validateJson`, `validateCss` (brace-balance check, comments stripped), `extractStyleBlocks` (pulls `