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

This commit is contained in:
Jakub Zych
2026-11-13 20:43:50 +01:00
parent 7a209dee9a
commit fdc2094ffc
2 changed files with 13 additions and 9 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:** 4/7 plans executed
**Plans:** 5/7 plans executed
Plans:
**Wave 1**
@@ -1952,7 +1952,7 @@ Plans:
- [x] 35-04-PLAN.md — unit tests for the D-21 list and `scripts/check-phase35.sh` (incl. user and paymentgateway mail tests)
**Wave 5** *(gap closure G-35-1, blocked on Wave 4 completion)*
- [ ] 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
- [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

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-04-PLAN.md
last_updated: "2026-11-13T13:31:53.728Z"
stopped_at: Completed 35-05-PLAN.md
last_updated: "2026-11-13T19:43:34.221Z"
last_activity: 2026-11-13
last_activity_desc: Phase 35 execution started
state_head: fd51f1f523831fb0bc9023d616bb5a554c60acda
state_head: 7a209dee9aa0d7f3ece9f837669368f0342148e8
progress:
total_phases: 52
completed_phases: 37
total_plans: 299
completed_plans: 288
total_plans: 302
completed_plans: 289
gsd_state_version: "1.0"
milestone_name: milestone
---
@@ -317,6 +317,7 @@ Progress: [████████░░] 82%
| Phase 35 P02 | 77 | 4 tasks | 66 files |
| 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 |
## Accumulated Context
@@ -1112,6 +1113,9 @@ Recent decisions affecting current work:
- [Phase 35]: Task 3 approved all seven CodeMirror pins including @codemirror/view@6.43.15
- [Phase 35]: CodeMirror loads only from codeeditor/editor.ts; meta package and indentWithTab unused
- [Phase 35]: check-phase35 consumers stage runs sibling plugin mail tests read-only against this checkout — D-21 gate must prove core plugins unchanged without writing their trees
- [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
### Pending Todos
@@ -1259,6 +1263,6 @@ Items acknowledged and carried forward from previous milestone close:
## Session Continuity
Last session: 2026-11-13T13:31:20.496Z
Stopped at: Completed 35-04-PLAN.md
Last session: 2026-11-13T19:43:33.227Z
Stopped at: Completed 35-05-PLAN.md
Resume file: None