Skip to content

报表表单两套用词:顶层行仍是 Dataset/Values/Rows/Columns,区块表格已改为 Data Source/Metrics/Group By #36838

Description

@objectstack-fleet

triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

Filing gate: ① a shipped-text defect, filed by triage at repo:objectstack#3's request (mailbox #36743, comment 7121083225). Source: L1 record 7121034256 on PR #36814 (Fixes #36447, landed), items N1–N4, outside that card.

What happens

The server-served report form now speaks two vocabularies for the same keys:

  • N1: the top-level rows read Dataset / Values / Rows / Columns, while the same keys in the form's blocks grid read Data Source / Metrics / Group By / Group Columns By.
  • N2: the values hint, "The metrics to total or count", is narrower than what a measure can be.
  • N3: the fileNamePrefix hint says "instead of the report name", but the runtime replaces the report label and falls back to the name.
  • N4: the console zh-CN overlay hints for dateRange and runtimeFilter trail the plainer English.

reach: read by the PR's L1, not measured in a browser. It reaches every builder editing a report in Studio.

Expected

One vocabulary across the top-level rows and the blocks grid, and hints that say what the runtime does, in en and zh-CN.

Acceptance

  • The top-level row labels match the blocks grid's terms (N1).
  • The values and fileNamePrefix hints match the runtime (N2, N3).
  • The zh-CN overlay hints for dateRange and runtimeFilter follow the current English (N4).
  • The locale packs follow the repository's usual rule for changed user text.

Dedupe: open issues for the report form's top-level row labels return none. #36835 (Default Period option labels) and #36836 (ja-JP and es-ES re-translation) are the sibling follow-ups and stay separate.

Activity

  1. added
    bug
    priority:p2
    pm:queue
    domain:ui
    on Nov 24, 2026
  2. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:ux · domain:ui · priority:p2 · Bug · pm:queue · size S.
    Rationale: shipped labels and hints that disagree with one another, or with the runtime, are wording problems. Under the UX rule in North Star Priority rule 2 that is p2. N1–N4 ride on one card at the seat's request because they share one form and one PR surface.

  3. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziH9MVhWYLVCiw5eXB

    Claim: PM loop round 1 (area ux-D)
    Session: session_01WGufziH9MVhWYLVCiw5eXB
    Account: os-support-ai
    Branch: claude/issue-36838-report-form-one-vocabulary
    Worktree: objectstack-issue-36838
    Domain: domain:ui
    Seat: repo:objectstack#3
    Area: ux-D
    File surface: packages/spec/src/ui/report.form.ts (top-level dataset / values / rows / columns row labels; the values and exportOptions.fileNamePrefix hints), ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts (zh-CN overlay hints for dateRange and runtimeFilter, and any row the label change needs), the regenerated packages/platform-objects/src/apps/translations/*.metadata-forms.generated.ts / source-hashes, the report echo-decision ledgers if a pinned row moves, UI pins that read the old labels, a changeset (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate", effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — follow-up of PR #36814's L1 nits N1–N4 (record 7121034256)
    Thread-read: 7121121205
    Premise: holds — measured on origin/main d9c799c (contains #36814): report.form.ts top-level rows dataset (:41), values (:42), rows (:43), columns (:45) carry no label and render the schema-derived Dataset / Values / Rows / Columns, while the blocks grid reads Data Source / Group By / Group Columns By / Metrics (:93–96); values hint "The metrics to total or count" (:42); fileNamePrefix hint "used instead of the report name" (:148)
    Pre-claim lane: non-test packages/spec/src/** (form labels and hints, text only) ⇒ lane-keep: stays in area ux-D, owes an L2 contract review run by L1-b; told to the seat
    Pre-claim deps: none; #36814 merged (48c5484). Siblings #36835 (Default Period options, same file) and #36836 (ja-JP / es-ES pass on the reworded rows) are claimed after this lands, serially, one card per PR
    Prior rulings read: check-prior-rulings --card 36838 --paths report.form.ts, metadata-form-zh-cn.ts → card thread none; surface grep 0 ruling, 0 maintainer, 2 ⛔ (the composite-children "enumerate all or none" rule in metadata-form-i18n), read by the dev; ADR term hits ADR-0021 D1/D2, ADR-0027 §11, ADR-0030 §4, ADR-0045 §4, ADR-0053 §3, ADR-0071 §1; same-day churn 48c5484 — work on current main; repo: objectstack-ai/objectstack
    Serial constraints cleared: none — no open PR touches report.form.ts, report.zod.ts, metadata-form-zh-cn.ts or the report echo-decision ledgers (open-PR file census, 05:33Z)

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 24, 2026
  5. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziH9MVhWYLVCiw5eXB
    os-dev-report

    {
     "issue": 36838,
     "status": "done",
     "branch": "claude/issue-36838-report-form-one-vocabulary",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/36879",
     "session": "session_01WGufziH9MVhWYLVCiw5eXB",
     "premise_still_valid": true,
     "summary": "N1: the top-level dataset / values / rows / columns rows in report.form.ts now declare the blocks grid's titles (Data Source / Metrics / Group By / Group Columns By); measured resolution order: SchemaForm.tsx:1931-1934 (fieldSpec.label, then localized schema title, then prettify(name)) and lint i18n-walk.ts:2771 (inlineText(field.label) ?? humanizeFieldPath), and ReportSchema gives these keys no title, so the prettified key was showing. Each catalog label leaf already existed, so no key moved and the ledger populations did not change. N2: the values hint names examples of a measure (totals, counts, averages, ratios) instead of a closed pair. N3: the fileNamePrefix hint states the measured runtime (ReportExport.tsx:210-217 into buildExportFileName, export-filename.ts:58-77: the prefix replaces the localized report label, which falls back to name), re-translated in platform zh-CN / ja-JP / es-ES and copied to the console overlay. N4: the console zh-CN overlay hints for dateRange and runtimeFilter follow the current English (runtimeFilter now marked hand-worded). The report-dataset-panel ledger rows moved their en with reasons; the report-form ledger's Dataset-twin assertion now points at the dataset type label.",
     "tests": "HEAD cf23885ef. pnpm --filter @objectstack/platform-objects test: Test Files 125 passed (125), Tests 2126 passed (2126) (first translations run: 1 red, report-form-echo-decisions 'the authored vocabulary ... still there' expected 'Data Source' to be 'Dataset', fixed). 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: VERDICT command-exit 0. ui/: pnpm exec vitest run over 26 report-form reader files: Test Files 26 passed (26), Tests 254 passed (254). spec check:generated: All 14 generated artifacts are up to date. No ablation: no tested behaviour changed (text and pins only).",
     "gates": "dispatch-gates --commands at cf23885ef: 91 commands, each run once with exit captured before any pipe: 89 exit 0 (incl. pnpm check:i18n OK all bundles in sync; check:i18n-stale-fill OK; check:test-source-alias OK; check:doc-authoring; check:nul-bytes OK; spec check:docs / check:api-surface unchanged / check:authorable-surface; pnpm --dir ui exec vitest run scripts/). NOT MEASURED exit 3: node scripts/check-plugin-teardown-shape.mjs --self-test (positive control commit unreachable in shallow clone), pnpm check:dual-build-cjs-loads (needs whole-workspace build). dispatch-gates --ran: 91 derived, 91 run, 0 UNRUN. overlap-check: VERDICT clean exit 0. CI check-runs: in_progress at report time (not awaited).",
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "2 relay strokes (POST /repos/objectstack-ai/objectstack/dispatches each): pr_create (executed POST /pulls -> #36879, POST /issues/36879/assignees) and this os-dev-report comment (POST /issues/36838/comments). git push is not a REST write.",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · noted, not filed — the platform zh-CN / ja-JP / es-ES values of report.fields dataset / values / rows / columns labels and their four blocks twins still read the dataset vocabulary (数据集 / 度量 / 行 / 列 and twins), consistent between the two positions; the console overlay already reads 数据来源 / 指标 / 分组 / 列分组. A translator pass over those eight leaves would align the server-served form. Dedupe words: report form platform zh-CN labels dataset vocabulary, blocks twin labels translation",
      "carrier: #36836 · noted — overlap: the values helpText (one of its six rows) moved its en again here; its zh-CN / ja-JP / es-ES values were not touched, so #36836 translates against the new English. fileNamePrefix helpText is not in its six and is fully translated here."
     ],
     "line_budget": "9 files, +63 / -26 (89 changed lines, under 3000); no skills/** touched",
     "deviations": [
      "metadata-form-zh-cn.ts exportOptions.fileNamePrefix row moved too: the file's rule keeps unmarked rows byte copies of the platform zh-CN bundle, whose value this PR re-translated (N3).",
      "report-form-echo-decisions.test.ts: the Dataset-twin en assertion re-pointed to en dataset.label plus a per-locale dataset.label assertion and a header note; no population count, verdict or translated value changed.",
      "@object-ui/app-shell type-check not run locally (one data file, strings only); declared to CI Type Check UI.",
      "PR body footer follows the #36814 shape (session-URL footer then the signed trailer) rather than the harness reminder's footer line, per the contract."
     ],
     "files_changed": [
      ".changeset/36838-report-form-one-vocabulary.md",
      "packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts",
      "packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts",
      "packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts",
      "packages/platform-objects/src/apps/translations/report-dataset-panel-echo-decisions.test.ts",
      "packages/platform-objects/src/apps/translations/report-form-echo-decisions.test.ts",
      "packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts",
      "packages/spec/src/ui/report.form.ts",
      "ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts"
     ],
     "Dev-effort": "high",
     "Rounds": 1
    }
  6. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziH9MVhWYLVCiw5eXB

    Close-out · 2026-11-24T07:43Z: delivered by PR #36879, merged as d95d34f8 (Fixes #36838; L1 ACCEPT 7124733963, contract review PASS 7124778422, landing 7124799379). The report form's top-level rows now read Data Source / Metrics / Group By / Group Columns By, the blocks grid's own terms; the Metrics hint is widened; the File Name hint says the prefix starts the file name, falling back to the label, then the name (re-translated in zh-CN, ja-JP, es-ES); the zh-CN overlay Date Range and Runtime Filter hints follow the English. pm:dispatched removed; area and domain stay. Left for #36836 (seat folded them in): the new values hint in zh-CN/ja-JP/es-ES, the eight platform label leaves still in the old vocabulary, and the Dataset binding heading.

  7. removed
    pm:dispatched
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions