Files
summercms/.planning/quick/261006-s0v-remove-copy-from-locale-ui-from-ml-text-/261006-s0v-SUMMARY.md

2.3 KiB

phase, plan, subsystem, tags, status, requires, provides, affects, tech-stack, key-files, decisions, metrics, actuals, plan_head_after
phase plan subsystem tags status requires provides affects tech-stack key-files decisions metrics actuals plan_head_after
quick-261006-s0v 01 admin-spa
admin-spa
mltext
mlmarkdown
i18n
complete
Phase 14.2.1 ML fields
ML text/markdown fields with a single locale selector and no copy-from chrome
admin SPA (modules/boardwalk/dist)
added patterns
created modified
admin/src/components/form/fields/MLTextField.vue
admin/src/components/form/fields/MLMarkdownField.vue
admin/tests/form/MLFields.test.ts
docs/backend/forms.md
modules/boardwalk/dist/
Copy-from-locale is removed, not repaired. Copy wrote values[copyFrom] (often empty) over the active locale, which is why the editor went blank.
duration completed
8 min 2026-10-06
tokens tokens_note tasks commits
2500 chars/4 over Vue, tests, forms.md (excluding rebuilt dist bundle) 1 1
2f03128

Quick 261006-s0v: Remove ML copy-from locale UI

mltext and mlmarkdown now show one locale picker. The second unlabeled dropdown and Copy button are gone, so switching language cannot blank the field you are editing.

What was built

Task 1 (commit 2f03128)

  • MLTextField.vue and MLMarkdownField.vue: dropped copyFrom, otherLocales, copyLocale, the copy-from select, and the Copy button. Locale broadcast and nested Record<string,string> values are unchanged.
  • MLFields.test.ts: asserts copy selectors/buttons are absent; editing Polish keeps English.
  • docs/backend/forms.md: removed the Copy-from-locale sentence.
  • modules/boardwalk/dist rebuilt (index-CRrQr2H1.js).

Verification

Command Result
npm --prefix admin test -- tests/form/MLFields.test.ts 11 passed
npm --prefix admin run typecheck pass
scripts/check-admin-dist.sh matches a fresh build
go test ./cmd/summer -run TestDocsTree pass

Deviations from Plan

None. Typed gsd-planner/gsd-executor are not available in this Cursor session; the orchestrator wrote the plan and executed it inline with workflow.use_worktrees=false.

Known Stubs

None.

Commits

Hash Subject
2f03128 fix(admin): drop ML copy-from locale chrome (quick-261006-s0v)

No .planning files and no co-author or "Generated with" trailers in the code commit.

Self-Check: PASSED