From da6bfa9e483848e5eac8c0c3b5a2d206afb2ec29 Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Fri, 13 Nov 2026 13:05:49 +0100 Subject: [PATCH] docs(35-02): record plan progress in state and roadmap Co-authored-by: Cursor --- .planning/ROADMAP.md | 4 ++-- .planning/STATE.md | 24 ++++++++++++++---------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.planning/ROADMAP.md b/.planning/ROADMAP.md index 35216ee3..5bf3c3c3 100644 --- a/.planning/ROADMAP.md +++ b/.planning/ROADMAP.md @@ -1912,14 +1912,14 @@ 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:** 1/4 plans executed +**Plans:** 2/4 plans executed Plans: **Wave 1** - [x] 35-01-PLAN.md — pact `HasMailPartials`, postcard-owned mail tables and migrations, per-send override lookup with file fallback, partials, sample vars, Branding CSS, index sync, Editor API, docs **Wave 2** *(blocked on Wave 1 completion)* -- [ ] 35-02-PLAN.md — cabana Settings → Mail screens, two permission codes, reset/delete rules, drift notice and diff, server field types, preview and own-address test send, OpenAPI, en/pl copy +- [x] 35-02-PLAN.md — cabana Settings → Mail screens, two permission codes, reset/delete rules, drift notice and diff, server field types, preview and own-address test send, OpenAPI, en/pl copy **Wave 3** *(blocked on Wave 2 completion)* - [ ] 35-03-PLAN.md — admin SPA: CodeMirror decision note and checkpoint, codeeditor/colour/image fields, image picker, mail preview and test send, rebuilt dist diff --git a/.planning/STATE.md b/.planning/STATE.md index 71767ee5..2e036f9f 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -4,16 +4,16 @@ milestone: v1.0 current_phase: 35 current_phase_name: Mail templates and layouts editor status: executing -stopped_at: Completed 35-01-PLAN.md -last_updated: "2026-11-13T10:28:52.958Z" +stopped_at: Completed 35-02-PLAN.md +last_updated: "2026-11-13T12:05:49.081Z" last_activity: 2026-11-13 -last_activity_desc: Phase 35 execution started -state_head: 7b25fcff5542abd72df18742aaab435ba8c8b132 +last_activity_desc: Phase 35 execution resumed (wave continue) +state_head: 399ba5fb60c907dd0e3f48a111145ac698385d92 progress: total_phases: 52 completed_phases: 37 - total_plans: 288 - completed_plans: 285 + total_plans: 299 + completed_plans: 286 gsd_state_version: "1.0" milestone_name: milestone --- @@ -30,9 +30,9 @@ See: .planning/PROJECT.md (updated 2026-10-22) ## Current Position Phase: 35 (Mail templates and layouts editor) — EXECUTING -Plan: 2 of 4 +Plan: 3 of 4 Status: Ready to execute -Last activity: 2026-11-13 — Phase 35 execution started +Last activity: 2026-11-13 — Phase 35 execution resumed (wave continue) Progress: [████████░░] 82% @@ -314,6 +314,7 @@ Progress: [████████░░] 82% | Phase 33 P16 | 19min | 4 tasks | 41 files | | Phase 33 P15 | 2h15m | 6 tasks | 70 files | | Phase 35 P01 | 55 min | 5 tasks | 30 files | +| Phase 35 P02 | 77 | 4 tasks | 66 files | ## Accumulated Context @@ -1103,6 +1104,9 @@ Recent decisions affecting current work: - [Phase 35]: 35-01: Editor.Validate refuses a template body whose source holds a script, iframe, object or embed tag, because Markdown would drop it silently at send - [Phase 35]: 35-01: Branding (compiled CSS and logoUrl) also applies to the file version sent after a failing override; an invalid stored colour keeps mail.brandCss with a warning - [Phase 35]: 35-01: pact has five row states; cabana keeps only three until 35-02 updates rowStateOrder and docs/backend/lists-and-filters.md +- [Phase 35]: Image list/pick allows either mail permission; upload and Mail images singleton need system.manage_mail_layouts — Planner call for picker split (D-03 / UI-SPEC C4) +- [Phase 35]: Test-send is interactive-only; recipient is always the signed-in administrator email; limit 5/10min via cooler.Attempter — D-16/D-17 and research Pattern 7 +- [Phase 35]: GET /mail/images documents AdminMailImagesResponse so meta.canUpload validates under OpenAPI conformance — SuccessMeta cannot carry canUpload; MarketplaceResponse pattern ### Pending Todos @@ -1250,6 +1254,6 @@ Items acknowledged and carried forward from previous milestone close: ## Session Continuity -Last session: 2026-11-13T10:10:59.057Z -Stopped at: Completed 35-01-PLAN.md +Last session: 2026-11-13T12:05:28.777Z +Stopped at: Completed 35-02-PLAN.md Resume file: None