Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

fix(console,plugin-form,i18n): the public form page and the master-detail form chrome speak the user's language (objectui#11071) - #11129

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-11071-form-chrome-remainder
Sep 29, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-11071-form-chrome-remainder

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Fixes #11071

Clause-②: no

What

objectui#11039 moved the form family's feedback chrome onto the locale packs and left two halves behind. Under a zh session the console form page's action chrome and plugin-form's master-detail chrome still rendered English literals. They now read the catalogue, in all ten packs. Only defaults move: every authored value still wins where it did, and English output is byte-identical to the literals it replaces.

Where each string goes

Console form page (apps/console/src/components/FormPage.tsx, through useObjectTranslation):

String Key
Submit publicForm.submit reused
Submitting… publicForm.submitting reused
Uploading… fields.file.uploading reused: the key the upload gate's in-flight Save label already reads
Redirecting… publicForm.redirectPending new: publicForm.redirecting is the embeddable form's countdown and carries a seconds hole this page has no value for
Required: … publicForm.requiredFields new, ONE key with a fields hole; the labels are joined with the existing validation.formInvalidJoiner, so colon, spacing, separator and word order are the locale's

wizard.missingRequired was the other candidate for the refusal. It is a different sentence ("Please complete the required fields: …"): reusing it would rewrite the page's English wording and the existing Required: Priority pin, so the refusal takes its own key.

plugin-form (through the form family's createSafeTranslation tables):

String Key
Loading columns…, Subtotal, Tax (N%), Total, Line item, Line item — row N, Apply form.masterDetail.* new (the row title is one key with title and row holes; an authored collection title still fills the title)
Add (in-form collection default) detail.add reused
Close (row editor) common.close reused
Saving… (Save button in flight) detail.saving reused
ModalForm master-detail sr-only description form.masterDetail.editorDescription new
ObjectForm locked-field hint form.deniedDescription new

New keys: 11 in each of the ten packs (en first, the nine translations in the same change). The rows of the plugin-form defaults tables repeat the en values, which check:i18n-keys holds them to.

Measured under zh before changing (the source-read-only half)

At the parent commit, under a zh session, every site rendered English: the totals stack read Subtotal / Tax (0%) / Total; the in-form add button Add; the row editor Line item — row 1 with Close and Apply (beside an already-localised 取消, which is untouched); the placeholder Loading columns…; the Save button in flight Saving…; the master-detail dialog's accessible description and the read-only field's hint were the English sentences. No string among them was already localised, so none was left standing.

Pins

  • apps/console/src/components/FormPage.chromeI18n-11071.test.tsx: zh render of the submit button, the in-flight button, the button during an upload, the pending redirect, the required refusal (page and toast), two labels joined with the pack separator; CONTROL authored field label inside the localised frame; en case.
  • packages/plugin-form/src/formChrome.i18n-11071.test.tsx: zh render of the totals stack, the columns placeholder, the in-form Add and the row editor (title, Apply, Close), the in-flight Save, the modal description, the locked-field hint; CONTROL authored title and addLabel, authored dialog description, authored field description.
  • objectui#11066's pin (FormPage.chromeI18n-11039.test.tsx) now submits through the button's localised name (提交 in zh, Submit in en) instead of the /Submit/ query.

Reverse verification (fix committed first, consumer files put back to the pinned base commit, restored with git checkout HEAD and proven by an empty git diff HEAD and equal blob hashes): the three pin files went 17 failed, 5 passed of 22. The direction is the ordinary one: every zh case red, the five that stay green are the en cases, the loading line that was already localised, and the two authored-value controls that never depended on the change.

Deviations, stated

  • Five sibling console tests (FormPage.avatarUpload-10785, .fileField, .recordObject, .serverDefaults, .sharedWidgets-10179) gained the same createI18n line in beforeEach that objectui#11066 gave its siblings. They click the submit button by its English name and mount no i18n instance, so the button now rendered its raw key (15 tests red before the line). This is outside the claim's declared file surface; it is harness-only.
  • Close on the row editor was not in the card's list. It sits in the same card as Line item — row N and Apply, in a declared file, is the same defect class, a mechanical move onto the existing common.close, has no other claim on the file, and is pinned by the zh row-editor case.

Acceptance notes

  • LineItemsPanel.tsx (the record:line_items panel) carries the same class and is outside this card's file surface. Measured with a temporary probe under zh at this head: Save, Saving… and the default title Line Items render English, and so does Add line from the fields package's grid. Left for the family close-out.
  • The totals stack formats money with a hard-coded ¥; formFaces.displayLocale-9909.test.tsx pins it as it is. Untouched.

Local verification

Run in the foreground at head ae11666 (exit codes read from the runs):

  • pnpm exec vitest run packages/plugin-form/ packages/i18n/: 219 files, 2944 passed, 14 skipped.
  • Console: apps/console/src/components/FormPage* plus submitRedirect, createdRecordPath, formPageRequiredMarker-10178, internalFormShell, App.uploadAltitude-10131, App.docsPortalLazy, formViewFeaturesRootRefused-6262: 33 files, 354 passed. Neighbouring renderers of plugin-form (ObjectCalendar.expandGate-6453, ObjectView.expandGate, catalog-gallery-render, RecordFormPage): 6 files, 634 passed.
  • type-check for @object-ui/plugin-form, @object-ui/i18n and @object-ui/console (their dependency closures built first with turbo): exit 0 each; both new test files are in their test programs.
  • check:i18n-keys, check:i18n-drift, check:control-bytes, check:new-line-citations, node scripts/check-changeset-presence.mjs, changeset:check: exit 0. check-governed-queue-guard answers NOT GOVERNED for the 24 changed paths.
  • eslint on the 23 changed ts and tsx files: 0 errors, 118 warnings.
  • NOT MEASURED here: the rest of the CI farm.

Generated by Claude Code

…tail form chrome speak the user's language (objectui#11071)

The console form page rendered its submit button (Submit / Submitting… /
Uploading…), the pending-redirect line and the frame of the required refusal
from English literals; plugin-form's master-detail form did the same for its
totals stack, collection placeholder, row editor and in-flight Save label, and
ObjectForm for the locked-field hint. They now read the locale packs, in all
ten. Only defaults move: an authored value still wins.

Claude-Session: https://claude.ai/code/session_011p7ikEivgXefNDaE5S5Uec
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

changeset-claim-re-read

⚠️ 6 pending changeset(s) describe a file this change touches

Their bodies publish verbatim into the CHANGELOG at the next release, so this is a request to re-read them against your diff — addressed here because you are the one seat that can answer it without re-deriving anything.

⛔ Nothing here blocks, and nothing here is a verdict on your change. This gate exits 0, is not a required context, and judges name resolution, never meaning: it asked whether a pending body names a file you touched. "Is this sentence still true?" is the one question it will not answer, and the one you are being asked to answer.

.changeset/6661-app-launcher-nav-menu-renderers.md

  • names en.ts → packages/i18n/src/locales/en.ts — edited by this change

    Three new strings — the launcher's and the menu's accessible names, and the menu's empty state — are declared under console.nav in en.ts and its nine sibling packs. An inline defaultValue alone is not a fix: it renders English at one call site and leaves the string untranslatable everywhere (objectui#3517).

.changeset/8738-object-form-fields-description.md

  • names ObjectForm.tsx → packages/plugin-form/src/ObjectForm.tsx — edited by this change

    The registration declared { name: 'fields', type: 'array' } with no description, so an author had nowhere to read that this key's members are bare field names — a different vocabulary from sections[].fields, which also accepts the spec FormFieldSchema object (identity key field, e.g. { field: 'note', colSpan: 2 }). Moving one of those objects to the top-level fields resolves to no name and is skipped by SimpleObjectForm (ObjectForm.tsx) and by buildFlatFields (flatFields.ts, shared by the drawer/modal presentations). Behaviour is unchanged by this entry; it only adds the description text an author would need to avoid the drop before writing it.

.changeset/console-form-container-specs-one-declaration-5596.md

  • names FormPage.tsx → apps/console/src/components/FormPage.tsx — edited by this change

    objectui#5542 converged the LEAF of this contract — the field spec — and left the two containers above it untouched, because converging them was a bigger call than a mechanical import. FormSectionSpec and FormViewSpec were each hand-declared twice under the same names, once in packages/app-shell's SchemaForm.tsx and once in apps/console's FormPage.tsx. Unlike the leaf — whose console copy was a clean subset — these two had already drifted, in both directions, so neither copy was a subset of the other and there were two live answers to "what may an author write":

.changeset/console-form-field-spec-one-declaration-5542.md

  • names FormPage.tsx → apps/console/src/components/FormPage.tsx — edited by this change

    objectui#5040 was not a missing key. It was that two hand-written descriptions of one contract drifted, and nothing could notice, because each was only ever checked against itself. PR metadata-admin: FormFieldSpec declares dependsOn, one declaration for both halves #5537 converged the two app-shell descriptions into views/metadata-admin/form-spec.ts. A third survived in apps/console: FormPage.tsx declared its own nine-key interface FormFieldSpec, under the same name, in a different package — so the same failure mode stayed fully available.

.changeset/console-formpage-runtime-default-seed-5727.md

  • names apps/console/src/components/FormPage.tsx → apps/console/src/components/FormPage.tsx — edited by this change

    readPrefill in apps/console/src/components/FormPage.tsx seeded every declared default unconditionally. A defaultValue may be a literal, or an instruction the server resolves per insert — a DEFAULT_VALUE_TOKENS token (NOW(), current_user) or a CEL Expression envelope. Seeding one of those literally put the text NOW() into a datetime input on both /forms/:name and the public /f/:slug route, and submitting it sent that string as the field's value — which is neither absent nor null, so ObjectQL.applyFieldDefaults never resolved the declared default and the column stored the token text instead of a timestamp.

.changeset/console-formpage-visible-predicates-5594.md

  • names apps/console/src/components/FormPage.tsx → apps/console/src/components/FormPage.tsx — edited by this change

    apps/console/src/components/FormPage.tsx is a second, independent form renderer — its own buildSections, its own JSX — and it serves both the public /f/:slug route and the internal /forms/:name route. It read neither spelling of the FormView field visibility predicate: a repo-wide grep for a visibleWhen / visibleOn read inside that file returned zero. So a field an author conditioned on record.priority == 'urgent' — legal, spec-strict metadata that @objectstack/spec normalises to visibleWhen (ADR-0089), and that the metadata-admin designer both authors and honours — rendered unconditionally on both routes. Fail-open and silent: the author saw the field always, with no diagnostic.

  • names FormPage.tsx → apps/console/src/components/FormPage.tsx — edited by this change

    objectui#2212 recorded this exact symptom and PR fix(form): evaluate view-level FormField.visibleOn with the canonical CEL engine #2214 fixed it — in a different chain: ModalForm → resolveFormViewLayout → @object-ui/plugin-form sectionFields.ts → @object-ui/components renderers/form/form.tsx. FormPage.tsx is on that chain at no point, and Form-view FormField.visibleOn (CEL) is never evaluated — conditional fields always render #2212's regression pin lives with the chain it fixed, so nothing in the suite could see this copy. One contract, two implementations, each only ever checked against itself.

Read the paragraph, not the line: both false halves of the objectui#8617 claim sat in one paragraph, and correcting either alone would have left it asserting the same wrong thing.

If a claim did go false, correct the body. That is precedented and prose-only, frontmatter untouched; check-changeset-overwrite.mjs will report the correction as its own case 2 ("correcting a declaration on purpose … legitimate"), which is the intended shape — one gate asks for the read, the other records the write.

Not covered, stated so nobody reads this as more: a born-false claim that spells no line address at all (objectui#9495 coordinated one by ORDINAL — "a grep finds that member first" — and deciding that means reading what the sentence means), a claim spelled as a symbol or a package rather than a backticked file name, and a file named ambiguously.

Compared the checked-out tree with 8a5ae3d63 (merge-base with origin/main): 23 file(s) changed outside .changeset/, read against 1761 pending declaration(s) that publish a body (2367 pending in total). · run

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 330 chunks) 3110.8 KB 3149.4 KB
Main entry chunk (gzip) 149.4 KB 350 KB
Entry file index-CmDe0s_L.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 16.88KB 6.25KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.17KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.70KB 10.94KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 27.13KB 7.95KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 559.57KB 134.15KB
core (index.js) 9.94KB 3.94KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 227.99KB 63.22KB
fields (index.js) 261.11KB 66.33KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.24KB 2.27KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.40KB 12.91KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 34.35KB 9.18KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 39.32KB 11.09KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.58KB 4.90KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.25KB 2.17KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 16.01KB 3.93KB
plugin-calendar (index.js) 52.17KB 15.06KB
plugin-charts (index.js) 84.09KB 22.93KB
plugin-chatbot (index.js) 198.22KB 46.97KB
plugin-dashboard (index.js) 138.73KB 37.05KB
plugin-designer (index.js) 215.78KB 44.42KB
plugin-detail (index.js) 234.55KB 62.25KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 170.39KB 43.52KB
plugin-gantt (index.js) 171.88KB 42.61KB
plugin-grid (index.js) 229.01KB 62.89KB
plugin-kanban (index.js) 48.43KB 15.11KB
plugin-list (index.js) 115.82KB 28.67KB
plugin-map (index.js) 22.90KB 7.62KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.04KB 12.21KB
plugin-timeline (index.js) 31.93KB 9.33KB
plugin-tree (index.js) 11.21KB 3.89KB
plugin-view (index.js) 90.43KB 22.76KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.81KB 3.58KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 119.55KB 39.23KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.78KB 2.09KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 6.17KB 2.73KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 22.61KB 7.40KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 3.83KB 1.49KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 3.19KB 1.62KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.74KB 2.26KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 5.00KB 2.39KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 2.52KB 1.31KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.30KB 6.99KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: ae1166668f07073332fc643c33f4cd030c1191c9
Local-runs: none

Inputs: card #11071 (body, triage 5888948751, claim 5894375674, os-dev-report 5895386652), PR #11129 (body, 24-file list, net diff against main at the head; merge-base 76e9df06c, 1 commit ahead), and the head's latest check-runs. Files at the head or the merge-base were read through contents/PATH?ref=SHA for context only.

Check-runs on the head (the gate verdicts): 43 latest runs, all completed — 40 success, 3 skipped (dependabot, Test (coverage), Test (coverage shard): conditional jobs), 0 failed, 0 cancelled. Type Check, Lint, all eight test shards, Test (dist pins), Build and E2E, Spec Main Shape Gate, Changeset Bump Policy / Declaration / Fixed Group / Claim Re-read / Overwrite Report, Governed Surface Queue Guard, Line Citation Gate and Control Byte Scan are each success. The last shard completed at 17:47Z; I waited for it before judging.

① Derived judgments

Console form page (apps/console/src/components/FormPage.tsx, through useObjectTranslation — the triage direction). Each site, the key it reads, and whether the choice is right:

  1. Submit → publicForm.submit (reused; en Submit, zh 提交). Right — the key triage named.
  2. Submitting… → publicForm.submitting (reused; en Submitting…, zh 提交中…). Right — the key triage named.
  3. Uploading… → fields.file.uploading (reused; en Uploading…, zh 上传中…). Right — it is the key uploadGate.tsx already reads for busyLabel, i.e. the in-flight upload label on a form's submit control: the same thing this button says while an upload is pending. No new key was needed.
  4. Redirecting… → publicForm.redirectPending (new). Right — the only candidate, publicForm.redirecting, is the embeddable form's countdown Redirecting in {{seconds}} seconds… and carries a hole this page has no value for; a different sentence, so a new key. en byte-equal to the literal.
  5. Required: A, B → publicForm.requiredFields = Required: {{fields}}, the labels joined with validation.formInvalidJoiner (en , , zh 、). Right on both counts. The joiner key is the en pack's own separator for a list of field labels after a colon (its comment says so), so its meaning is the one used here; en output is byte-identical to the old template literal Required: ${labels.join(', ')}. The dev's refusal of wizard.missingRequired is right: that key is Please complete the required fields: {{fields}} — a different sentence — and reusing it would change the page's English and break the pre-existing Required: Priority pin in FormPage.sharedWidgets-10179.test.tsx. One frame key with a hole, not a concatenation, so colon, spacing and word order belong to the pack (zh renders 必填项:Title、Priority, pinned).

plugin-form (through the family's createSafeTranslation tables). MasterDetailForm and ObjectForm read useFormChromeTranslation (formChrome.ts); ModalForm's changed site sits inside the component that holds useDiscardTranslation's t, and the new row was added to that table. Every default row is byte-equal to its en value (check:i18n-keys holds them; the dev ran it green and Lint is green on the head). The fallback t in useSafeTranslation.ts interpolates {{holes}} through interpolateFallback, so the provider-less English path fills {{rate}}, {{title}} and {{row}} — the pre-existing provider-less pins (MasterDetailForm.saveInFlight asserting Saving…, the detailDeriveFailure / detailSchemaFetchFailure DEGENERATE CONTROLs asserting Loading columns…) still hold, and all eight shards are green.

  1. Loading columns… → form.masterDetail.loadingColumns (new). Right.
  2. Subtotal / Tax (N%) / Total → form.masterDetail.subtotal / .tax = Tax ({{rate}}%) / .total (new). Right; en byte-equal, the rate is the record's.
  3. Line item — row N → form.masterDetail.rowTitle = {{title}} — row {{row}} with form.masterDetail.lineItem = Line item filling the title when the collection has none (new). Right; an authored title still fills the hole (CONTROL pinned).
  4. Apply → form.masterDetail.applyRow (new). Right.
  5. Add (in-form collection default) → detail.add (reused; en Add, zh 添加). Right — the detail family's add verb, the same meaning; authored addLabel still wins (CONTROL pinned).
  6. Close (row editor) → common.close (reused; en Close, zh 关闭). Right — the same verb, the same button role. Scope judged in ③.
  7. Saving… (Save in flight) → detail.saving (reused; en Saving…, zh 保存中…). Right — the in-flight save label, the same meaning.
  8. ModalForm master-detail sr-only description → form.masterDetail.editorDescription (new). Right; an authored dialog description still wins (CONTROL pinned).
  9. ObjectForm deniedDescription → form.deniedDescription (new), read once as a string and added to the useMemo dependency list. Right; a field's own description still wins (CONTROL pinned).

Keys and packs. 11 new keys (form.deniedDescription, the eight form.masterDetail.*, publicForm.redirectPending, publicForm.requiredFields), the same 11 in each of the ten packs, checked mechanically over the diff; every translation keeps its holes ({{rate}}, {{title}} + {{row}}, {{fields}}); en values are byte-equal to each literal replaced. The i18n init runs with escapeValue: false (i18n.ts), so moving authored labels and titles into interpolation holes changes no output for values carrying & or an apostrophe. check:i18n-drift reports 0 en values changed.

Measured-before-changing (the source-read-only half). The dev measured every listed site under zh at the parent commit and reports each rendered English; the pins encode the same measurement (every zh case red in the ablation, the already-localised 取消 untouched and not asserted). Direction honoured.

Pins. FormPage.chromeI18n-11071.test.tsx: zh submit / in-flight / uploading / pending-redirect / refusal on page and toast / two-label joiner, CONTROL authored label inside the frame, en byte case. formChrome.i18n-11071.test.tsx: zh totals, placeholder, in-form Add and the row editor (title, Apply, Close), in-flight Save, modal description, locked-field hint, with CONTROLs for authored title + addLabel, dialog description, field description. FormPage.chromeI18n-11039.test.tsx now submits through 提交 / Submit instead of /Submit/ — the move triage ordered. A zh render per site plus an authored-override control: present.

Five console test harnesses (FormPage.avatarUpload-10785, .fileField, .recordObject, .serverDefaults, .sharedWidgets-10179): each gains one createI18n en line in beforeEach; no assertion changes. Harness-only surface extension, named in the report and the PR; judged in ③.

Public surface and accept-set. No export of @object-ui/plugin-form changes (FORM_CHROME_DEFAULTS is module-private; NAVIGATE_ON_SUCCESS_REFUSED_NOTE and useFormChromeTranslation unchanged); no prop, type or schema moves; @object-ui/i18n gains 11 additive keys; the console is an app. No accepted value set moves anywhere. English output byte-identical. The commit carries the model-free trailer pair objectui AGENTS.md prescribes; no model identifier in the PR body, the changeset or the diff.

② Semver level

.changeset/11071-form-chrome-remainder.md: @object-ui/console patch, @object-ui/i18n patch, @object-ui/plugin-form patch. Confirmed — a bug fix that moves default strings onto pack keys, additive keys only, no API or accepted-set change; Changeset Bump Policy, Declaration, Fixed Group Check and Claim Re-read are all success on the head.

Clause-②: no — confirmed. Chrome strings move to pack keys; no schema, prop, type or accepted set moves.

③ Boundary flags

Dev open_questions: none declared; none found.

Deviation 1 — five console test harnesses outside the claim's file surface. Right, accepted as a named harness-only extension. Cause is mechanical and downstream of the directed change (the button now reads the catalogue; these files click it by its English name and mount no instance, so it rendered a raw key — 15 red). Each change is one createI18n({ defaultLanguage: 'en' }) line, the same line objectui#11066 gave its siblings in the same family; no assertion, source or production file outside the surface moves. Stopping would have returned the card needing exactly this line; the extension is named in the report and the PR body. Not a breach that voids the claim.

Deviation 2 — Close on the row editor, not in the card's enumerated list. Right. The card's own scope line is "plus MasterDetailForm line-item chrome" and Close is a button on the same row editor as the listed Line item — row N and Apply; the file is declared in the claim; the move is onto the existing common.close; it is pinned by the zh row-editor case. Within the card, not scope creep. (The phrase "bounded in-place exemption" names no written rule I could find in AGENTS.md or the pm-dispatch skill; the judgment above rests on the card's scope, not on that name.)

Deviation 3 — commit trailers. Not a deviation: the model-free pair is what objectui AGENTS.md prescribes; the harness reminder's model-named line is the one the rule says not to use.

Out-of-scope note (a) — LineItemsPanel (record:line_items) and the fields grid's Add line. Real and pre-existing: at the merge-base LineItemsPanel.tsx renders schema.title || 'Line Items' and saving ? 'Saving…' : 'Save' as literals (it already owns a createSafeTranslation table, so the fix is the same mechanical move), and GridField.tsx renders cfg.add_label || 'Add line'. The panel is in packages/plugin-form but is not one of the three sites the card names, and the grid is in packages/fields; outside this card. The dev proposes folding it into a family close-out card and names no carrier — escalated to the seat: give it a carrier (the family close-out card, or a card of its own if none exists) rather than leave it in a report.

Out-of-scope note (b) — GridField's empty text. Real and pre-existing: GridField.tsx renders No items yet — click “{cfg.add_label || 'Add'}” to begin. as an English literal (and a bare No items elsewhere in the same file), in packages/fields; the dev's inference is confirmed by source at the merge-base, not by a zh render. Same class and same carrier as (a).

Out-of-scope note (c) — MasterDetailForm's hard-coded currency sign. Real and pre-existing: money() in MasterDetailForm.tsx formats as a ¥ prefix plus toLocaleString(displayLocale, …), and formFaces.displayLocale-9909.test.tsx pins the ¥ in both its de and en cases. Pinned as intended behaviour until a ruling; a different class from this card (currency formatting, not chrome i18n), so it is a question for the maintainer, not a defect to carry as-is.

Implemented-by: claude/issue-11071-form-chrome-remainder
Reviewed-by: session_011p7ikEivgXefNDaE5S5Uec

VERDICT: PASS


Generated by Claude Code

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review September 29, 2026 17:56
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Sep 29, 2026
Merged via the queue into main with commit 54997ff Sep 29, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-11071-form-chrome-remainder branch September 29, 2026 18:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants