diff --git a/.planning/phases/35-mail-templates-and-layouts-editor/35-UAT.md b/.planning/phases/35-mail-templates-and-layouts-editor/35-UAT.md index 2f8a174b..117d667e 100644 --- a/.planning/phases/35-mail-templates-and-layouts-editor/35-UAT.md +++ b/.planning/phases/35-mail-templates-and-layouts-editor/35-UAT.md @@ -131,3 +131,5 @@ blocked: 0 - "Plugins after framework tag: bump framework requirement; user templates use button partial; paymentgateway order templates use button partial, drop duplicate URL; replace user/paymentgateway layout contents keeping their names; fix user.htm text wrapper" - "Demo: reset UAT overrides of golem15.user::mail.layouts.user and golem15.user::mail.activate before re-checking" debug_session: ".planning/debug/mail-layouts-unstyled.md" + closure_note: "Framework part closed by 35-05..35-07: built-in default/system/minimal layouts with the logo or site-name header and the footer, Branding site name with the mail.from fallback, header/footer partials and button partial support in every built-in layout, CSS inlined at render with a per-layout opt-out (35-07 tests: TestBuiltinLayoutsLogo, TestHeaderFooterPartials, TestButtonPartial, TestSiteName, TestInlineCSS, TestInlineCSSOptOut, TestInlineFailure, TestMailBrandSiteName, TestMailLayoutInlineOptOut). Plugin part deferred to the follow-up after the framework tag: sm-user-plugin and sm-paymentgateway-plugin framework bump, their CTAs through the button partial, finished user/paymentgateway layouts." + rerun_scope: "Re-run test 8 on sm-demo-app scoped to the built-in layouts: reset the UAT overrides of golem15.user::mail.activate and golem15.user::mail.layouts.user, save Branding with a logo and a Site name, preview a template switched to the default layout and to the system layout with a body override that calls the button partial; expect the logo header (or the name), the white card, the styled button and the footer. Deferred follow-up check after the plugin follow-up: the activate CTA renders as a button and the user/paymentgateway layouts look finished." diff --git a/.planning/phases/35-mail-templates-and-layouts-editor/35-VALIDATION.md b/.planning/phases/35-mail-templates-and-layouts-editor/35-VALIDATION.md index 45a9fcf2..82844ccb 100644 --- a/.planning/phases/35-mail-templates-and-layouts-editor/35-VALIDATION.md +++ b/.planning/phases/35-mail-templates-and-layouts-editor/35-VALIDATION.md @@ -49,14 +49,21 @@ created: "2026-11-06" | D-10/D-11 | No brand row → `mail.brandCss`; saved → compiled CSS replaces it; `mail.css` still applied; bad colour 422 | unit + Postgres | `go test -short ./modules/postcard -run TestBrand`; `go test ./modules/cabana -run TestMailBrand` | ✅ 35-04 | ✅ green | | D-03 | Permission split per controller, preview, picker list vs upload; no default role grants | Postgres | `go test ./modules/cabana -run TestMailPermissions` | ✅ 35-04 | ✅ green | | D-17 | Recipient always the admin's own email; 429 + Retry-After after the limit | Postgres | `go test ./modules/cabana -run TestMailTestSend` | ✅ 35-04 | ✅ green | -| D-05 | Locale parsed for enabled locales; locale filter | unit | `go test -short ./modules/cabana -run TestMailLocale` | ✅ 35-04 | ✅ green | +| D-05 | Locale parsed for enabled locales; locale filter | unit | `go test -short ./modules/cabana -run TestMailLocale` | ✅ 35-04 | ⚪ superseded by `.planning/notes/2026-11-13-mail-template-locale-groups.md` (35-05): one record per template, no locale filter; see the G-35-1 row | | sync | Index sync idempotent, concurrency-safe, custom rows untouched | Postgres | `go test ./modules/postcard -run TestSync` | ✅ 35-04 | ✅ green | | consumers | user + paymentgateway mail renders unchanged | unit (sibling repos) | `bash scripts/check-phase35.sh --consumers` | ✅ | ✅ green | -| byte-identity | Existing postcard tests pass; default layout output unchanged | unit | `go test -short ./modules/postcard/...` | ✅ | ✅ green | +| byte-identity | Existing postcard tests pass; default layout output unchanged | unit | `go test -short ./modules/postcard/...` | ✅ | ⚪ superseded by `.planning/notes/2026-11-13-mail-layouts-css-inlining.md` (35-06): default.htm is WinterCMS's default layout and output is CSS-inlined; existing postcard tests stay green, see the G-35-8 row | +| G-35-1 | Locale grouping: `TemplateBase` / `Catalog.TemplateFor` rules; send order `