Repository navigation
fix(spec): the report form's top-level rows use the blocks grid's terms - #36879
Conversation
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB
…rces Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB
…abel Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB
📓 Docs Drift CheckThis PR changes 2 package(s): 2 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
What this run could not see
Coarse fallback — 175 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 52eaf5a20e0882d4a1c5390f74b012b52d07347b && git checkout 52eaf5a20e0882d4a1c5390f74b012b52d07347b
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 0819cab13c33b6b996c0a5c410052d9524fcf1f7 cf23885ef91081bbd511897baf7b74c561cec8b6 && git checkout -B drift-repro 0819cab13c33b6b996c0a5c410052d9524fcf1f7 && git merge --no-ff cf23885ef91081bbd511897baf7b74c561cec8b6
node scripts/docs-audit/affected-docs.mjs --json 0819cab13c33b6b996c0a5c410052d9524fcf1f7
|
|
repo:objectstack#3 · os-support-ai · session_01WGufziwMkZG34d69p8BHb4 Contract-review-claim: session_01WGufziwMkZG34d69p8BHb4 · head cf23885 · 2026-11-24T07:10Z |
|
repo:objectstack#3 · os-support-ai · session_01WGufziwMkZG34d69p8BHb4 席位核对 — ACCEPT · repo:objectstack#3 · head cf23885 · 2026-11-24T07:11ZL1: ACCEPT Checklist
FindingsMust-fix: none. Should-fix: none.
Landing notesThe area lands once this ACCEPT and a PASS contract-review record on this head are both in place. |
|
repo:objectstack#3 · os-support-ai · session_01WGufziwMkZG34d69p8BHb4 Contract reviewServed-tier: Inputs read: card #36838 with its three comments (triage 7121121205, claim 7123044139, dev report 7124023409), PR #36879's body, file list and net diff against ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
The two ledgers: consistent with the tree.
No must-fix, no should-fix. Nits, none of which changes correctness or the contract:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-support-ai · session_01WGufziH9MVhWYLVCiw5eXB Landing · 2026-11-24T07:15Z · ACCEPT 7124733963 (L1-b) at head cf23885
State: ready + auto-merge (area ux-D, not governed, ≤3000 lines). |
Requested by Yibo Wang · project thread
Fixes #36838
Clause-②: no
Metadata-protocol: none
repo:objectstack#3 · os-support-ai · session_01WGufziH9MVhWYLVCiw5eXB
维护者速读
What changes
One form, one vocabulary: the report form's top-level data rows now carry the titles its joined-blocks grid already uses (
report.form.tslines 93–96 on main), and two hints now say what the runtime does.Label resolution, measured. The four top-level rows declared no
label, andReportSchemagives those keys no.meta({ title }), so both readers fell through to the key:SchemaForm.tsx:1931–1934,fieldSpec.label, then the localized schematitle, thenprettify(name);packages/lint/src/i18n-walk.ts:2771,inlineText(field.label) ?? humanizeFieldPath(path).A form-row
labelis therefore the route (producer-first, noenoverlay). EachmetadataForms.report.fields.KEY.labelleaf already existed with the humanized text, so no catalog key is added, moved or removed; only itsenvalue changes.datasetlabelvalueslabelrowslabelcolumnslabelvalueshint (N2)exportOptions.fileNamePrefixhint (N3)dateRangehint (N4)runtimeFilterhint (N4)ReportExport.tsx:210–217passesprefix, then the localized reportlabelwithnameas its fallback, intobuildExportFileName(ui/packages/core/src/utils/export-filename.ts:58–77), which takes the prefix first and appends the date and time. The form's ownLabel/Namerows are the words the hint now uses (显示名称 / 名称 in zh-CN).dateRangewas already a hand-worded row (marked 36373);runtimeFilteris now marked the same way, because the platform zh-CN row is the ledger-pinned rendering of the older sentence and is left alone.node scripts/check-i18n-bundles.mjs --writechanged onlyen. ThefileNamePrefixhint is re-translated in zh-CN, ja-JP and es-ES (it is not one of the six rows 报表面板改写后的六行:ja-JP 和 es-ES 译文仍是旧的开发者含义,需要译者过一遍 #36836 carries). The locales that held the old English as a fill (ar, de, fr, ko, pt-BR, ru, zh-Hant) carry a provenance entry for the leaf, so they serve the new English until translated, which is the repository's rule for a changed source string.report-dataset-panel-echo-decisions.test.tspins theenof four leaves this PR moves (dataset,values,rowslabels and thevalueshint). Each row now holds the new English and says why: the label values are still byte-identical to their blocks twins, whose English is now the same string; thevalueshint values promise no narrower set than the new English. No verdict and no translated value changed.report-form-echo-decisions.test.tsasserted the English of the "Dataset" twin its section heading was rendered from; that assertion now points at the dataset type's own label, which reads the same three words, and the header records why the population did not move.Dataset bindingandJoined blocks, every key, type, default and Zod shape.Tests
platform-objects, spec, console readers: all green at cf23885
pnpm --filter @objectstack/platform-objects test: Test Files 125 passed (125), Tests 2126 passed (2126). The first run of the translations folder had one red,report-form-echo-decisions.test.ts"the authored vocabulary the other five rows were derived from is still there" (expected 'Data Source' to be 'Dataset'); fixed as described above.pnpm --filter @objectstack/spec exec vitest run src/ui/ src/system/ src/kernel/repeater-item-titles.test.ts scripts/schema-index.test.ts: Test Files 267 passed (267), Tests 9316 passed (9316).pnpm --filter @objectstack/spec --filter @objectstack/platform-objects run typecheck: exit 0.ui/,pnpm exec vitest runover 26 report-form reader files (everyReportDefaultInspector*,panelBusinessWording-36373,report-schema,metadata-form-i18n,SchemaForm.machineNameChip-8231,SchemaForm.deDeveloperize-8218,SchemaForm.refDatasetWidget-11601,InterfacesPillar.report*,metadataError.report*,ReportConfigPanel*,_shared.labels,export-filename, theReportExport*tests): Test Files 26 passed (26), Tests 254 passed (254).pnpm --filter @objectstack/spec check:generated: "All 14 generated artifacts are up to date".pnpm check:i18n-stale-fill: OK, no new stale fills.Derived gate families: 91 run at cf23885, 89 exit 0, 2 not measured (prerequisite, exit 3)
node scripts/pm/dispatch-gates.mjs --commandsderived 91 commands for this diff; each ran once, exit code captured before any pipe. 89 exited 0, among thempnpm check:i18n("all bundles in sync, no undeclared authoring keys"),pnpm check:i18n-stale-fill,pnpm check:test-source-alias,pnpm check:doc-authoring,pnpm check:nul-bytes, speccheck:docs/check:api-surface/check:authorable-surface, andpnpm --dir ui exec vitest run scripts/.node scripts/check-plugin-teardown-shape.mjs --self-test(positive control pinned to a commit this shallow checkout cannot reach) andpnpm check:dual-build-cjs-loads(needs a whole-workspace build). Both are CI's.node scripts/pm/dispatch-gates.mjs --ran: "91 derived famil(ies) accounted for — 91 run, 0 NOT-MEASURED" (the two above are NOT MEASURED by their own exit code).node scripts/pm/overlap-check.mjs: VERDICT clean (origin/main and open feat(spec)!: retire the boolean arm of a relationship field's inlineEdit, which read as absent once a parent field group decides the placement #36802 both merge cleanly).Acceptance notes
valueshint is one of its six rows. Its English moved again here; its zh-CN, ja-JP and es-ES values were not touched, so that card should translate against the new English. ThefileNamePrefixhint is not one of the six and is fully translated here.SchemaForm.tsx:2044–2051), as it already does for Sort Order. This follows from that rule; it was not checked in a browser.@object-ui/app-shelltype-check was not run locally (one data file, strings only); it is left to CI's Type Check UI.Verification
First read, by risk:
packages/spec/src/ui/report.form.ts(four labels, two hints);packages/platform-objects/src/apps/translations/report-dataset-panel-echo-decisions.test.ts(movedensources and their reasons);ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts(three zh-CN hints).Two-minute check: open a summary report's metadata form in Studio with the console in English. The data rows read Data Source, Metrics and Group By (Group Columns By on a matrix report), matching the joined-blocks grid, and the File Name hint under Period and export says an empty prefix names the file after the report's label.
Generated by Claude Code