docs(35-06): update state and roadmap after plan 35-06

This commit is contained in:
Jakub Zych
2026-11-13 21:19:40 +01:00
parent be9170af53
commit 0e97113a4f
2 changed files with 12 additions and 8 deletions

View File

@@ -1936,7 +1936,7 @@ Plans:
**Requirements**: TBD
**Depends on:** Phase 34
**Context:** postcard already loads plugin templates and layouts from `views/mail/` (`pact.HasMailTemplates`, `postcard.BootPlugin`); this phase adds the editable database layer, admin screens and image handling on top. To confirm in discussion: partials (WinterCMS mail partials), preview and test send, per-locale variants, and whether the screens live in cabana or in a plugin.
**Plans:** 5/7 plans executed
**Plans:** 6/7 plans executed
Plans:
**Wave 1**
@@ -1955,7 +1955,7 @@ Plans:
- [x] 35-05-PLAN.md — one admin record per mail template with a locale switcher, fallback-locale versions, send resolution of `<template>-<locale>`, decision note superseding D-05
**Wave 6** *(gap closure G-35-8, blocked on Wave 5 completion)*
- [ ] 35-06-PLAN.md — finished default/system/minimal layouts (logo or site name header, card, footer), Branding site name, CSS inlining via go-premailer with a per-layout opt-out, decision note superseding D-10
- [x] 35-06-PLAN.md — finished default/system/minimal layouts (logo or site name header, card, footer), Branding site name, CSS inlining via go-premailer with a per-layout opt-out, decision note superseding D-10
**Wave 7** *(gap closure, blocked on Wave 6 completion)*
- [ ] 35-07-PLAN.md — unit tests for both gaps and `scripts/check-phase35.sh` with a read-only scratch-modfile consumers stage

View File

@@ -4,16 +4,16 @@ milestone: v1.0
current_phase: 35
current_phase_name: mail-templates-and-layouts-editor
status: verifying
stopped_at: Completed 35-05-PLAN.md
last_updated: "2026-11-13T19:43:34.221Z"
stopped_at: Completed 35-06-PLAN.md
last_updated: "2026-11-13T20:19:22.746Z"
last_activity: 2026-11-13
last_activity_desc: Phase 35 execution started
state_head: 7a209dee9aa0d7f3ece9f837669368f0342148e8
state_head: be9170af53047e0bbbde8edc0cdac394a19bbbc7
progress:
total_phases: 52
completed_phases: 37
total_plans: 302
completed_plans: 289
completed_plans: 290
gsd_state_version: "1.0"
milestone_name: milestone
---
@@ -318,6 +318,7 @@ Progress: [████████░░] 82%
| Phase 35 P03 | 22min | 6 tasks | 47 files |
| Phase 35 P04 | 90 | 4 tasks | 40 files |
| Phase 35 P05 | 28 min | 3 tasks | 29 files |
| Phase 35 P06 | 33 min | 3 tasks | 34 files |
## Accumulated Context
@@ -1116,6 +1117,9 @@ Recent decisions affecting current work:
- [Phase 35]: D-05 superseded (G-35-1): a mail template is one admin record; locale versions are rows grouped by base_code (migration 202611130001) and opened through a locale switcher (meta.localeVariants); note 2026-11-13-mail-template-locale-groups
- [Phase 35]: postcard resolves a missing <template>-<locale> (two-letter tag, optional subtag, longest registered base) to own customization > base customization > base file; names with files send unchanged
- [Phase 35]: cabana mail locales = translator locales plus TranslationWriter enabled locales; default = writer default else translator locale; templates list one row per template, locale filter removed
- [Phase 35]: 35-06: postcard inlines mail CSS at render with github.com/vanng822/go-premailer v1.38.0 (default options), opt-out via disable_auto_inline_css (layout header key, layouts column, layout form switch); supersedes D-10's inlining claim
- [Phase 35]: 35-06: Branding gains Site name (site_name, Brand.SiteName); empty uses the display name of mail.from; default and system layouts show logo or name in the header and a © year name footer
- [Phase 35]: 35-06: 35-01's default.htm-unchanged gate lifted; default layout is WinterCMS's default layout on new built-in header and footer partials
### Pending Todos
@@ -1263,6 +1267,6 @@ Items acknowledged and carried forward from previous milestone close:
## Session Continuity
Last session: 2026-11-13T19:43:33.227Z
Stopped at: Completed 35-05-PLAN.md
Last session: 2026-11-13T20:19:21.645Z
Stopped at: Completed 35-06-PLAN.md
Resume file: None