Repository navigation
fix(platform-objects): every locale's field-group and inline-columns help states the field-group rule - #36003
Conversation
…help states the field-group rule The nine non-en, non-zh-CN metadata-forms bundles still said the inline grid columns apply only when the field sets inlineEdit, and that the record page does not draw a related-list field group yet. Re-translate both leaves from the current English and pin them per locale. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgW85kwjGaz7HqsmEuv
📓 Docs Drift Check9 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 3 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin cb58ebf590072877615fa5d86cc51d3956a7e41a && git checkout cb58ebf590072877615fa5d86cc51d3956a7e41a
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 549c9f5ba9776b0c52509e3599df82a3b6753a6f 40af8003b09fde5999c3a67285775a7f2992666b && git checkout -B drift-repro 549c9f5ba9776b0c52509e3599df82a3b6753a6f && git merge --no-ff 40af8003b09fde5999c3a67285775a7f2992666b
node scripts/docs-audit/affected-docs.mjs --json 549c9f5ba9776b0c52509e3599df82a3b6753a6f |
|
repo:objectstack#1 · os-sales · session_01L6bhgW85kwjGaz7HqsmEuv Final green head · 2026-11-21T06:25Z · area b1-DB
|
|
repo:objectstack#1 · os-sales · session_01L6bhgXtcSJVbw8Gny1ERbP 维护者速读
席位核对 — ACCEPT (L1-c) · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Seat landing · 2026-11-21T06:28Z · Area b1-DB's PR for #35927: the nine locales other than en and zh-CN now carry the field-group help texts #35921 rewrote ( |
Requested by Sales · project thread
repo:objectstack#1 · os-sales · session_01L6bhgW85kwjGaz7HqsmEuv
Fixes #35927
Clause-②: no
Metadata-protocol: none
Skills-docs: none — translation leaves of the Studio metadata forms only; no metadata an author can write changes
维护者速读
What changes
#35921 rewrote two help texts in the en and zh-CN metadata-forms bundles: a master-detail child reaches the parent's forms because a parent field group names it (
fieldGroups[].relatedList), not because the FK setsinlineEdit. The other nine bundles kept the old text, andos i18n extract --mergenever overwrites a present leaf, so they are re-translated by hand here (leaf strings only, structure untouched):metadataForms.object.fields['fieldGroups.relatedList'].helpText: the closing sentence "The record page does not draw this placement yet." is replaced by "The parent's create and edit forms inline the table too, and the record page's Edit saves the record and its rows together."metadataForms.field.fields.inlineColumns.helpText: "used only when this field sets inlineEdit, which is written in source" becomes "used only when a field group of the parent names this child (fieldGroups[].relatedList)".Locales: ar, de, es-ES, fr, ja-JP, ko, pt-BR, ru, zh-Hant. Each rendering reuses the words the bundle already uses for the same things: the parent (the inline-columns leaf's own word), the field group (the
fieldGroupslabel), the child object (the relatedList leaf's own word), and the console's own label for the Edit button (ui/packages/i18nlocales: Bearbeiten, Editar, Modifier, Редактировать, تعديل, 編集, 편집, 編輯), each in that bundle's own quotation marks.Staleness mechanism, checked: these leaves have no recorded source hash.
<locale>.source-hashes.tsholds hand-maintained digests foren.tspaths only (0metadataFormsentries in all ten files).<locale>.source-hashes.generated.tsholds an entry only while a leaf is still a byte copy of its source, and neither path has one in any locale. So both leaves are legacy-trusted and nothing marks them stale.os i18n checkmeasures coverage (whether a leaf is present), not staleness, andpnpm check:i18nchecks that a re-extract leaves the bundles as committed. Neither would catch a stale leaf here, so there is nothing to update for this change, and a cheap pin was added.Pin: a new top-level
describein the existing cross-locale guardmetadata-forms-vocabulary.test.ts. For every one of the 11 locales: the inline-columns help containsfieldGroups[].relatedListand does not containinlineEdit; the field-group help does not contain that locale's retired "not drawn yet" sentence. A further case holds the retired-sentence table equal to the locale list.Changeset:
'@objectstack/platform-objects': patch(published, in the changesetfixedgroup; itsfiles[]shipsdist, which carries the bundles).Tests
platform-objects: the pinned file, the package suite and typecheck at 40af800
pnpm --filter @objectstack/platform-objects exec vitest run --maxWorkers=2 src/apps/translations/metadata-forms-vocabulary.test.ts:Test Files 1 passed (1),Tests 35 passed (35).pnpm --filter @objectstack/platform-objects build && … test && … typecheck:Test Files 125 passed (125),Tests 2117 passed (2117); typecheckcheck:test-typecheck: OK. Lock verdictcommand-exit 0.dist/was built, had 2 suites red withCannot find package '@objectstack/platform-objects/system'. They import plugins that resolve this package'sdist/, so this was a missing build prerequisite and not a finding. After the build they are green.Ablation: each pin reds on its own leaf, restored by blob hash
Committed first, then mutated with
scripts/ablation-replace.mjs(anchor 1 → 0 on disk, blob changed, and after the run the blob equals HEAD andgit diff HEADis empty):inlineEditclause:× de: inlineColumns names the parent field group, not inlineEdit,Tests 1 failed | 34 passed (35).× ru: fieldGroups.relatedList no longer says the record page does not draw it,Tests 1 failed | 34 passed (35).Acceptance notes
node scripts/pm/overlap-check.mjs --branch=HEAD:VERDICT clean exit 0. fix(spec): record page descriptions no longer claim a key-field strip or stage path #35977 touches the same nine bundles (other leaves) and merges cleanly.Verification
Local gate subset (derived by dispatch-gates --commands at 40af800)
pnpm check:i18n:check-i18n-bundles: OK (10 package(s) — all bundles in sync, no undeclared authoring keys), after building its stated prerequisite closure.check-plugin-teardown-shape --self-test(prerequisite: shallow clone cannot reach its pinned positive-control commit; script untouched) andcheck:dual-build-cjs-loads(prerequisite: reads every package'sdist/, needs a fullpnpm build) andcheck:type-check-debt(a workspace-wide tsc ledger; stopped while its closure build was under way, after about 10 minutes, because the diff adds no TypeScript beyond one test file thatcheck:test-typecheckalready compiles).--ranreconciliation:63 derived, 60 run, 3 UNRUN, and these three are the UNRUN ones.Read first:
metadata-forms-vocabulary.test.ts(the newdescribe), then any one bundle's two changed lines.Two-minute check:
pnpm --filter @objectstack/platform-objects exec vitest run src/apps/translations/metadata-forms-vocabulary.test.tsshould give 35 passed.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgW85kwjGaz7HqsmEuv