4.7 KiB
phase, plan, type, wave, depends_on, files_modified, autonomous, requirements, estimate
| phase | plan | type | wave | depends_on | files_modified | autonomous | requirements | estimate | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| quick-261006-s0v | 01 | execute | 1 |
|
true |
|
|
Purpose: Journal UAT — the operator does not want Copy, and the control is lossy.
Output: SPA components and tests, forms.md sentence, rebuilt modules/boardwalk/dist, one code commit.
<execution_context>
@/.claude/gsd-core/workflows/execute-plan.md
@/.claude/gsd-core/templates/summary.md
</execution_context>
Facts:
- Both ML components have a visible locale
<select data-ml-locale>, a second unlabeled<select data-ml-copy-from>(other locales), and a Copy button that runscopyLocale():values[active] = values[copyFrom] ?? ''. On create, the other locale is"", so Copy blanks the field the operator is editing. otherLocalesandcopyFromexist only for that chrome. Locale broadcast (broadcastMLLocale/ML_LOCALE_CHANGE) stays.docs/backend/forms.md"Markdown and multilingual fields" currently says "Copy-from-locale fills the active locale from another code already in the value." Delete that sentence. Historical Phase 14.2.1 PLAN/VERIFICATION files stay as-written.- Embedded SPA: after Vue edits,
npm --prefix admin run buildthen commitmodules/boardwalk/dist.scripts/check-admin-dist.shis the drift gate. - Commit rules: one logical change, planning docs not in the code commit, no co-author trailers.
In MLFields.test.ts, rewrite edits the active locale and copies from another to switch locale and type into the active field without [data-ml-copy-from] / [data-ml-copy]. In the existing "one locale selector" case, also assert those copy selectors and buttons are absent on both components.
In docs/backend/forms.md, remove the Copy-from-locale sentence; leave the rest of the paragraph.
Rebuild with npm --prefix admin run build and include modules/boardwalk/dist.
Commit: fix(admin): drop ML copy-from locale chrome (or equivalent). No .planning files, no trailers.
cd /media/nvme/dev/golem15/summercms.io/summercms/summercms.go && npm --prefix admin test -- tests/form/MLFields.test.ts && npm --prefix admin run typecheck && scripts/check-admin-dist.sh && go test ./cmd/summer -run TestDocsTree && ! grep -R -n 'data-ml-copy' admin/src admin/tests docs/backend/forms.md
ML fields expose only the locale selector; Copy is gone; tests and docs match; dist is rebuilt; one code commit.
<success_criteria>
- Clicking around an mltext/mlmarkdown field cannot blank the active locale via Copy, because Copy is not there.
- Switching en/pl still switches every ML control on the form.
- Nested locale maps still round-trip. </success_criteria>