From 21bd1b1ec62a942333aee28dbb9e5bfa3f59d0d4 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 01:26:04 +0000 Subject: [PATCH 01/10] fix(spec): the report form's English rows read in business terms Rewords the report authoring form's English section descriptions and field hints the console report panel draws (and the hidden rows the curated controls replace) in the business vocabulary the zh-CN rows already use: data source, grouping, metric. Section labels are left as they are, since a section's translation key is slugged from its label. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB --- packages/spec/src/ui/report.form.ts | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/packages/spec/src/ui/report.form.ts b/packages/spec/src/ui/report.form.ts index d29018a2cd4..eb5ae68aa8a 100644 --- a/packages/spec/src/ui/report.form.ts +++ b/packages/spec/src/ui/report.form.ts @@ -27,7 +27,7 @@ export const reportForm = defineForm({ { field: 'name', type: 'text', colSpan: 1, required: true, helpText: 'snake_case unique identifier' }, { field: 'label', type: 'text', colSpan: 1, required: true }, { field: 'description', type: 'textarea', colSpan: 2 }, - { field: 'type', colSpan: 2, helpText: 'Report type: tabular/summary/matrix/joined' }, + { field: 'type', colSpan: 2, helpText: 'Report type: tabular, summary, matrix or joined.' }, ], }, { @@ -40,15 +40,17 @@ export const reportForm = defineForm({ { field: 'values', widget: 'string-tags', helpText: 'Measure names (from the dataset) to display' }, { field: 'rows', widget: 'string-tags', helpText: 'Dimension names (from the dataset) to group rows by' }, // CEL visibility — only Matrix reports pivot across a second dimension. - { field: 'columns', widget: 'string-tags', visibleWhen: "data.type == 'matrix'", helpText: 'Dimension names across (matrix only)' }, + { field: 'columns', widget: 'string-tags', visibleWhen: "data.type == 'matrix'", helpText: 'Groups spread across the columns (matrix reports only).' }, // #3916 — ordering is authorable here or it is not authorable at all: // `DatasetSelection.order` has always existed on the wire, but a report // author had no channel to reach it. Optional — a selected time // dimension is chronological by default without declaring anything. { field: 'order', + // #36447 — "Order" alone reads as a sales order to a business reader. + label: 'Sort order', type: 'repeater', - helpText: 'Sort keys, most significant first (a rows/columns dimension or a values measure). Time dimensions are chronological by default.', + helpText: 'What to sort by, most important first (a grouping or a metric). Time groupings sort in date order by default.', // Row-property names (#17508): every authorable row property, `label` // equal to the item schema's `.meta({ title })`, so `os i18n extract` // emits a catalog key per column and the panel keeps its schema-derived @@ -63,13 +65,13 @@ export const reportForm = defineForm({ }, { label: 'Joined blocks', - description: 'Additional dataset-bound blocks stacked into a single report (joined reports only).', + description: 'Other blocks stacked into the same report, each with its own data source (joined reports only).', visibleWhen: "data.type == 'joined'", fields: [ { field: 'blocks', type: 'repeater', - helpText: 'Dataset-bound sub-reports (joined report only)', + helpText: 'Sub-reports, each with its own data source (joined reports only).', // Row-property names (#17508): every authorable row property, `label` // equal to the item schema's `.meta({ title })`, so `os i18n extract` // emits a catalog key per column and the panel keeps its schema-derived @@ -98,14 +100,14 @@ export const reportForm = defineForm({ }, { label: 'Filter & chart', - description: 'Render-time scope filter and chart presentation.', + description: 'Filter conditions and how the chart is shown.', collapsible: true, collapsed: true, fields: [ { field: 'runtimeFilter', widget: 'json', helpText: 'Render-time scope filter, ANDed at query time' }, // #20161 — a `joined` report draws its blocks as tables and refuses a // container `chart`, so the control is offered only where it draws. - { field: 'chart', type: 'composite', visibleWhen: "data.type != 'joined'", helpText: 'Chart config (type, legend, colors)' }, + { field: 'chart', type: 'composite', visibleWhen: "data.type != 'joined'", helpText: 'Chart type and settings.' }, ], }, { @@ -119,8 +121,8 @@ export const reportForm = defineForm({ collapsed: true, visibleWhen: "data.type != 'joined'", fields: [ - { field: 'dateRange', type: 'composite', helpText: 'Default period and custom-range switch. The dimension must be a date dimension of the dataset; leave it empty when the dataset has exactly one.' }, - { field: 'exportOptions', type: 'composite', helpText: 'Download formats (csv, xlsx) and file name. Who may download is the export permission on the dataset object.' }, + { field: 'dateRange', type: 'composite', helpText: 'The default period, and whether people may choose their own range. It applies to one date grouping of the data source, which can stay empty when the data source has only one.' }, + { field: 'exportOptions', type: 'composite', helpText: 'Download formats (csv, xlsx) and file name. Who may download is set by the export permission on the data source’s object.' }, ], }, // An "Advanced" section offering `aria` + `performance` used to sit here. From 4cc96402a5cd530f0d99e396148c806662acfb0d Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 01:39:43 +0000 Subject: [PATCH 02/10] chore(i18n): regenerate the English metadata-form bundle; add the changeset Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB --- .../36447-report-form-business-wording.md | 9 +++++++++ .../en.metadata-forms.generated.ts | 20 +++++++++---------- 2 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 .changeset/36447-report-form-business-wording.md diff --git a/.changeset/36447-report-form-business-wording.md b/.changeset/36447-report-form-business-wording.md new file mode 100644 index 00000000000..47df0e30c0a --- /dev/null +++ b/.changeset/36447-report-form-business-wording.md @@ -0,0 +1,9 @@ +--- +'@objectstack/spec': patch +'@objectstack/platform-objects': patch +--- + +Clause-②: no +Metadata-protocol: none + +The report authoring form's English section descriptions and field hints now read in business terms (data source, grouping, metric) instead of the schema's own vocabulary (dataset, dimension, measure, "ANDed", "render-time"), matching what the Chinese report panel already says. The `order` row is labelled "Sort order". Only prose moved: no key, accepted value or section title changed, so no translation key moves. The platform's English metadata-form bundle is regenerated from the form. diff --git a/packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts index 50ec06b1434..a9ef848805f 100644 --- a/packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts @@ -2170,11 +2170,11 @@ export const enMetadataForms: NonNullable = { }, joined_blocks: { label: "Joined blocks", - description: "Additional dataset-bound blocks stacked into a single report (joined reports only)." + description: "Other blocks stacked into the same report, each with its own data source (joined reports only)." }, filter_and_chart: { label: "Filter & chart", - description: "Render-time scope filter and chart presentation." + description: "Filter conditions and how the chart is shown." }, period_and_export: { label: "Period & export", @@ -2194,7 +2194,7 @@ export const enMetadataForms: NonNullable = { }, type: { label: "Type", - helpText: "Report type: tabular/summary/matrix/joined" + helpText: "Report type: tabular, summary, matrix or joined." }, dataset: { label: "Dataset", @@ -2210,11 +2210,11 @@ export const enMetadataForms: NonNullable = { }, columns: { label: "Columns", - helpText: "Dimension names across (matrix only)" + helpText: "Groups spread across the columns (matrix reports only)." }, order: { - label: "Order", - helpText: "Sort keys, most significant first (a rows/columns dimension or a values measure). Time dimensions are chronological by default." + label: "Sort order", + helpText: "What to sort by, most important first (a grouping or a metric). Time groupings sort in date order by default." }, "order.by": { label: "Order By" @@ -2228,7 +2228,7 @@ export const enMetadataForms: NonNullable = { }, blocks: { label: "Blocks", - helpText: "Dataset-bound sub-reports (joined report only)" + helpText: "Sub-reports, each with its own data source (joined reports only)." }, "blocks.name": { label: "Name" @@ -2266,15 +2266,15 @@ export const enMetadataForms: NonNullable = { }, chart: { label: "Chart", - helpText: "Chart config (type, legend, colors)" + helpText: "Chart type and settings." }, dateRange: { label: "Date Range", - helpText: "Default period and custom-range switch. The dimension must be a date dimension of the dataset; leave it empty when the dataset has exactly one." + helpText: "The default period, and whether people may choose their own range. It applies to one date grouping of the data source, which can stay empty when the data source has only one." }, exportOptions: { label: "Export Options", - helpText: "Download formats (csv, xlsx) and file name. Who may download is the export permission on the dataset object." + helpText: "Download formats (csv, xlsx) and file name. Who may download is set by the export permission on the data source’s object." } } }, From 48ab16dfcc2b402b703530bebc10f57772ded94e Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 01:41:12 +0000 Subject: [PATCH 03/10] chore(changeset): name only the rows this change rewords Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB --- .changeset/36447-report-form-business-wording.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/36447-report-form-business-wording.md b/.changeset/36447-report-form-business-wording.md index 47df0e30c0a..f4580d6714a 100644 --- a/.changeset/36447-report-form-business-wording.md +++ b/.changeset/36447-report-form-business-wording.md @@ -6,4 +6,4 @@ Clause-②: no Metadata-protocol: none -The report authoring form's English section descriptions and field hints now read in business terms (data source, grouping, metric) instead of the schema's own vocabulary (dataset, dimension, measure, "ANDed", "render-time"), matching what the Chinese report panel already says. The `order` row is labelled "Sort order". Only prose moved: no key, accepted value or section title changed, so no translation key moves. The platform's English metadata-form bundle is regenerated from the form. +The report authoring form's English section descriptions and field hints now read in business terms (data source, grouping, metric) instead of the schema's own vocabulary (dataset, dimension, measure), matching what the Chinese report panel already says. The `order` row is labelled "Sort order". Only prose moved: no key, accepted value or section title changed, so no translation key moves. The platform's English metadata-form bundle is regenerated from the form. From 7aadb8b1226e60f4c389bbe432b70e984c82ccd9 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 01:52:55 +0000 Subject: [PATCH 04/10] fix(spec): the report form names its composite children and its remaining rows in business terms Declares the dateRange and exportOptions children and a Description hint as form rows with business wording, rewords the remaining ledger-pinned hints, and renames the joined-block and order row titles (Data Source, Group By, Group Columns By, Metrics, Sort Order, Sort By) in the form and the item schema titles together. Adds the zh-CN overlay rows for the new children. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB --- .../ui/report-form-composite-children.test.ts | 80 +++++++++++++++++++ packages/spec/src/ui/report.form.ts | 57 +++++++++---- packages/spec/src/ui/report.zod.ts | 12 +-- .../metadata-admin/metadata-form-zh-cn.ts | 12 ++- 4 files changed, 138 insertions(+), 23 deletions(-) create mode 100644 packages/spec/src/ui/report-form-composite-children.test.ts diff --git a/packages/spec/src/ui/report-form-composite-children.test.ts b/packages/spec/src/ui/report-form-composite-children.test.ts new file mode 100644 index 00000000000..137b5dc53ef --- /dev/null +++ b/packages/spec/src/ui/report-form-composite-children.test.ts @@ -0,0 +1,80 @@ +// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license. + +/** + * #36447 — the report form spells out the children of its two composites, + * `dateRange` and `exportOptions`, so each row carries its own business label + * and hint instead of the schema description the panel fell back to + * ("Dataset dimension (declared `type: 'date'`) the window applies to; …"). + * + * The shape follows the view form's (#30267, `view-form-composite-children.test.ts`) + * with one deliberate difference: there each declared hint is held EQUAL to the + * schema description; here it is not, because the point of these rows is that + * the panel's words differ from the author documentation the describes are. + * + * What declaring children costs, pinned here: + * + * - **Completeness.** Once a composite declares children the panel renders + * exactly those, so a key added to the schema block later would silently + * drop out of the panel. Each declared list is held EQUAL to the schema's + * keys. + * - **Every row is named.** Each child declares its own `label` and + * `helpText`, so no row of either composite falls back to schema text. + */ + +import { describe, it, expect } from 'vitest'; +import { z } from 'zod'; + +import { reportForm } from './report.form'; +import { ReportSchema } from './report.zod'; + +type Node = Record; +type FormField = { field?: string; type?: string; label?: string; helpText?: string; fields?: FormField[] }; + +/** The report JSON Schema, derived the way Studio's report inspector derives it. */ +const REPORT: Node = z.toJSONSchema(ReportSchema, { io: 'input', unrepresentable: 'any' }) as Node; + +function formField(name: string): FormField { + for (const section of (reportForm.sections ?? []) as Array<{ fields?: FormField[] }>) { + for (const f of section.fields ?? []) if (f?.field === name) return f; + } + throw new Error(`reportForm declares no top-level field \`${name}\``); +} + +/** A composite's own object schema; `.optional()` may wrap it in a union. */ +function objectProps(name: string): Record { + const node = REPORT.properties?.[name] as Node | undefined; + const branch = node?.properties ? node : (node?.anyOf ?? node?.oneOf ?? []).find((b: Node) => b?.properties); + return (branch?.properties ?? {}) as Record; +} + +const COMPOSITES = ['dateRange', 'exportOptions'] as const; + +describe('#36447 — report form composites declare their children', () => { + it('reads a real schema (control: the derivation is not empty)', () => { + expect(Object.keys(objectProps('dateRange'))).toContain('defaultRange'); + expect(Object.keys(objectProps('exportOptions'))).toContain('formats'); + }); + + for (const name of COMPOSITES) { + it(`${name}: declares exactly the schema's keys, in a composite`, () => { + const f = formField(name); + expect(f.type).toBe('composite'); + const declared = (f.fields ?? []).map((c) => c.field); + expect(declared.length, `${name} declares no children`).toBeGreaterThan(0); + expect([...declared].sort()).toEqual(Object.keys(objectProps(name)).sort()); + }); + + it(`${name}: every child names itself — a label and a hint of its own`, () => { + for (const child of formField(name).fields ?? []) { + expect(child.label, `${name}.${child.field} label`).toMatch(/\S/); + expect(child.helpText, `${name}.${child.field} helpText`).toMatch(/\S/); + } + }); + } + + it('the Description row has its own hint, not the shared I18nLabel description', () => { + const hint = formField('description').helpText; + expect(hint).toMatch(/\S/); + expect(hint).not.toBe(REPORT.properties?.description?.description); + }); +}); diff --git a/packages/spec/src/ui/report.form.ts b/packages/spec/src/ui/report.form.ts index eb5ae68aa8a..c9b1a99a6c1 100644 --- a/packages/spec/src/ui/report.form.ts +++ b/packages/spec/src/ui/report.form.ts @@ -26,19 +26,21 @@ export const reportForm = defineForm({ fields: [ { field: 'name', type: 'text', colSpan: 1, required: true, helpText: 'snake_case unique identifier' }, { field: 'label', type: 'text', colSpan: 1, required: true }, - { field: 'description', type: 'textarea', colSpan: 2 }, + // #36447 — without its own hint this row read the shared `I18nLabel` + // description ("Display label — … inline locale map …"). + { field: 'description', type: 'textarea', colSpan: 2, helpText: 'One sentence on what this report shows, displayed under its name.' }, { field: 'type', colSpan: 2, helpText: 'Report type: tabular, summary, matrix or joined.' }, ], }, { label: 'Dataset binding', - description: 'The semantic-layer dataset this report renders. Values are the dataset’s measures; rows are its dimensions.', + description: 'Where the report’s numbers come from, how they are grouped and sorted, and which records open when you click a row.', // A `joined` report carries its data on `blocks` instead. visibleWhen: "data.type != 'joined'", fields: [ - { field: 'dataset', widget: 'ref:dataset', helpText: 'Dataset to bind (measures/dimensions come from its semantic layer)' }, - { field: 'values', widget: 'string-tags', helpText: 'Measure names (from the dataset) to display' }, - { field: 'rows', widget: 'string-tags', helpText: 'Dimension names (from the dataset) to group rows by' }, + { field: 'dataset', widget: 'ref:dataset', helpText: 'The report reads its numbers from here; everyone sees only the records they have access to.' }, + { field: 'values', widget: 'string-tags', helpText: 'The metrics to total or count (from the data source).' }, + { field: 'rows', widget: 'string-tags', helpText: 'The fields to group by (from the data source).' }, // CEL visibility — only Matrix reports pivot across a second dimension. { field: 'columns', widget: 'string-tags', visibleWhen: "data.type == 'matrix'", helpText: 'Groups spread across the columns (matrix reports only).' }, // #3916 — ordering is authorable here or it is not authorable at all: @@ -48,7 +50,7 @@ export const reportForm = defineForm({ { field: 'order', // #36447 — "Order" alone reads as a sales order to a business reader. - label: 'Sort order', + label: 'Sort Order', type: 'repeater', helpText: 'What to sort by, most important first (a grouping or a metric). Time groupings sort in date order by default.', // Row-property names (#17508): every authorable row property, `label` @@ -56,11 +58,11 @@ export const reportForm = defineForm({ // emits a catalog key per column and the panel keeps its schema-derived // widgets (no `type` here). fields: [ - { field: 'by', label: 'Order By' }, + { field: 'by', label: 'Sort By' }, { field: 'direction', label: 'Direction' }, ], }, - { field: 'drilldown', helpText: 'Click an aggregated row/cell to open the underlying records' }, + { field: 'drilldown', helpText: 'Click a summarized row or cell to open the records behind it.' }, ], }, { @@ -88,12 +90,12 @@ export const reportForm = defineForm({ // (#21702), so this column declares the `ref:dataset` picker the // top-level binding declares, marked required: a block is bound // in the form before save. - { field: 'dataset', label: 'Dataset', widget: 'ref:dataset', required: true }, - { field: 'rows', label: 'Rows' }, - { field: 'columns', label: 'Columns' }, - { field: 'values', label: 'Values' }, + { field: 'dataset', label: 'Data Source', widget: 'ref:dataset', required: true }, + { field: 'rows', label: 'Group By' }, + { field: 'columns', label: 'Group Columns By' }, + { field: 'values', label: 'Metrics' }, { field: 'runtimeFilter', label: 'Runtime Filter' }, - { field: 'order', label: 'Order' }, + { field: 'order', label: 'Sort Order' }, ], }, ], @@ -104,7 +106,7 @@ export const reportForm = defineForm({ collapsible: true, collapsed: true, fields: [ - { field: 'runtimeFilter', widget: 'json', helpText: 'Render-time scope filter, ANDed at query time' }, + { field: 'runtimeFilter', widget: 'json', helpText: 'A filter applied whenever the report is shown, on top of the data source’s own conditions.' }, // #20161 — a `joined` report draws its blocks as tables and refuses a // container `chart`, so the control is offered only where it draws. { field: 'chart', type: 'composite', visibleWhen: "data.type != 'joined'", helpText: 'Chart type and settings.' }, @@ -121,8 +123,31 @@ export const reportForm = defineForm({ collapsed: true, visibleWhen: "data.type != 'joined'", fields: [ - { field: 'dateRange', type: 'composite', helpText: 'The default period, and whether people may choose their own range. It applies to one date grouping of the data source, which can stay empty when the data source has only one.' }, - { field: 'exportOptions', type: 'composite', helpText: 'Download formats (csv, xlsx) and file name. Who may download is set by the export permission on the data source’s object.' }, + // #36447 — both composites declare their children, so each row carries + // its own business wording instead of the schema description, and + // `os i18n extract` emits a catalog key per child. + // `report-form-composite-children.test.ts` holds each list equal to the + // schema's live keys: a key added to the schema later must be added here. + { + field: 'dateRange', + type: 'composite', + helpText: 'The period the report opens with, and whether people may choose their own range.', + fields: [ + { field: 'dimension', label: 'Date Field', helpText: 'The date grouping of the data source the period applies to. Leave it empty when the data source has only one.' }, + { field: 'defaultRange', label: 'Default Period', helpText: 'The period the report opens with.' }, + { field: 'allowCustomRange', label: 'Allow Custom Range', helpText: 'Let people pick their own start and end dates.' }, + ], + }, + { + field: 'exportOptions', + type: 'composite', + helpText: 'Download formats (csv, xlsx) and file name. Who may download is set by the export permission on the data source’s object.', + fields: [ + { field: 'formats', label: 'Formats', helpText: 'The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off.' }, + { field: 'includeHeaders', label: 'Include Headers', helpText: 'Put the column names in the first row of the downloaded file.' }, + { field: 'fileNamePrefix', label: 'File Name', helpText: 'The start of the downloaded file’s name, used instead of the report name.' }, + ], + }, ], }, // An "Advanced" section offering `aria` + `performance` used to sit here. diff --git a/packages/spec/src/ui/report.zod.ts b/packages/spec/src/ui/report.zod.ts index fa90ea35a7d..907535ac7b8 100644 --- a/packages/spec/src/ui/report.zod.ts +++ b/packages/spec/src/ui/report.zod.ts @@ -104,7 +104,7 @@ export const ReportSortSchema = lazySchema(() => strictObject({ }, }, { /** A dimension (`rows`/`columns`) or measure (`values`) name this report selects. */ - by: z.string().describe('Dimension or measure name to order by (must be selected by this report)').meta({ title: 'Order By' }), + by: z.string().describe('Dimension or measure name to order by (must be selected by this report)').meta({ title: 'Sort By' }), /** Sort direction. Null/empty cells sort LAST in both directions. */ direction: z.enum(['asc', 'desc']).default('asc').describe('Sort direction (default ascending)').meta({ title: 'Direction' }), })); @@ -437,13 +437,13 @@ export const JoinedReportBlockSchema = lazySchema(() => strictObject({ * else would feed the block's query. It stays optional on this shape only * because `blocks` is read on a `joined` report alone. */ - dataset: SnakeCaseIdentifierSchema.optional().describe('Dataset name to bind (ADR-0021); a joined report refuses a block without one').meta({ title: 'Dataset' }), + dataset: SnakeCaseIdentifierSchema.optional().describe('Dataset name to bind (ADR-0021); a joined report refuses a block without one').meta({ title: 'Data Source' }), /** Dimension names (from the dataset) to group rows by. Dataset-bound only. */ - rows: z.array(z.string()).optional().describe('Dimension names down (dataset-bound)').meta({ title: 'Rows' }), + rows: z.array(z.string()).optional().describe('Dimension names down (dataset-bound)').meta({ title: 'Group By' }), /** Dimension names across — matrix blocks pivot rows × columns (ADR-0021 D2). */ - columns: z.array(z.string()).optional().describe('Dimension names across (matrix, dataset-bound)').meta({ title: 'Columns' }), + columns: z.array(z.string()).optional().describe('Dimension names across (matrix, dataset-bound)').meta({ title: 'Group Columns By' }), /** Measure names (from the dataset) to display. Dataset-bound only. */ - values: z.array(z.string()).optional().describe('Measure names to show (dataset-bound)').meta({ title: 'Values' }), + values: z.array(z.string()).optional().describe('Measure names to show (dataset-bound)').meta({ title: 'Metrics' }), /** * Render-time scope filter, ANDed at query time. Dataset-bound only. * [#20116] Charted through the analytics `where` door, so it is an analytics @@ -453,7 +453,7 @@ export const JoinedReportBlockSchema = lazySchema(() => strictObject({ */ runtimeFilter: analyticsCarrierFilter().describe('Render-time scope filter (dataset-bound)').meta({ title: 'Runtime Filter' }), /** Result ordering for this block, most significant key first (framework#3916). */ - order: z.array(ReportSortSchema).optional().describe('Result ordering, most significant key first').meta({ title: 'Order' }), + order: z.array(ReportSortSchema).optional().describe('Result ordering, most significant key first').meta({ title: 'Sort Order' }), }).superRefine(checkReportOrder)); /** diff --git a/ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts b/ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts index f18ea3bc7d8..6cf8708d7c4 100644 --- a/ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts +++ b/ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts @@ -19,7 +19,9 @@ * for; it is hand-worded here and marked so at its row. The second is the * `report` form's wording leaves (objectstack#36373, marked ⟨36373⟩): the * report panel speaks business wording — 数据来源 / 分组 / 指标 — and this - * overlay is the only source of its residual rows' words. + * overlay is the only source of its residual rows' words. The `dateRange` and + * `exportOptions` children (objectstack#36447, marked ⟨36447⟩) are the first + * kind: shown by the report panel, not yet translated by the platform. * * ## Two depths, by who renders the form * @@ -348,6 +350,14 @@ export const ZH_CN_SPEC_FORMS: NonNullable = { // ⟨36373⟩ dateRange · exportOptions dateRange: { label: '日期范围', helpText: '默认时间段与自定义范围开关。按数据来源里的一个日期分组筛选;只有一个日期分组时可留空' }, exportOptions: { label: '导出选项', helpText: '下载格式(csv、xlsx)与文件名。谁可以下载由数据来源对象上的导出权限决定' }, + // ⟨36447⟩ the children `report.form.ts` declares for both composites. The + // platform bundle has no zh for them yet, and the report panel shows them. + 'dateRange.dimension': { label: '日期字段', helpText: '时间段按数据来源里的哪个日期分组筛选;只有一个日期分组时可留空' }, + 'dateRange.defaultRange': { label: '默认时间段', helpText: '打开报表时显示的时间段' }, + 'dateRange.allowCustomRange': { label: '允许自定义范围', helpText: '允许使用者自己选择开始和结束日期' }, + 'exportOptions.formats': { label: '格式', helpText: '可下载的格式。不设置时提供 csv 与 xlsx;空列表则关闭下载' }, + 'exportOptions.includeHeaders': { label: '包含表头', helpText: '在下载文件的第一行写入列名' }, + 'exportOptions.fileNamePrefix': { label: '文件名', helpText: '下载文件名的开头,用来代替报表名称' }, }, }, From 0e9f0710466f1285d313179022c2694af4029181 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 02:02:35 +0000 Subject: [PATCH 05/10] chore(i18n): regenerate the platform metadata-form bundles for the reworded report form Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB --- .../ar.metadata-forms.generated.ts | 27 ++++++++- .../ar.source-hashes.generated.ts | 13 +++++ .../de.metadata-forms.generated.ts | 27 ++++++++- .../de.source-hashes.generated.ts | 13 +++++ .../en.metadata-forms.generated.ts | 55 ++++++++++++++----- .../es-ES.metadata-forms.generated.ts | 27 ++++++++- .../es-ES.source-hashes.generated.ts | 13 +++++ .../fr.metadata-forms.generated.ts | 27 ++++++++- .../fr.source-hashes.generated.ts | 13 +++++ .../ja-JP.metadata-forms.generated.ts | 27 ++++++++- .../ja-JP.source-hashes.generated.ts | 13 +++++ .../ko.metadata-forms.generated.ts | 27 ++++++++- .../ko.source-hashes.generated.ts | 13 +++++ .../pt-BR.metadata-forms.generated.ts | 27 ++++++++- .../pt-BR.source-hashes.generated.ts | 13 +++++ .../ru.metadata-forms.generated.ts | 27 ++++++++- .../ru.source-hashes.generated.ts | 13 +++++ .../zh-CN.metadata-forms.generated.ts | 27 ++++++++- .../zh-CN.source-hashes.generated.ts | 13 +++++ .../zh-Hant.metadata-forms.generated.ts | 27 ++++++++- .../zh-Hant.source-hashes.generated.ts | 13 +++++ 21 files changed, 430 insertions(+), 25 deletions(-) diff --git a/packages/platform-objects/src/apps/translations/ar.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/ar.metadata-forms.generated.ts index 5fba731bf7a..5d860109f89 100644 --- a/packages/platform-objects/src/apps/translations/ar.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/ar.metadata-forms.generated.ts @@ -2190,7 +2190,8 @@ export const arMetadataForms: NonNullable = { label: "التسمية" }, description: { - label: "الوصف" + label: "الوصف", + helpText: "One sentence on what this report shows, displayed under its name." }, type: { label: "النوع", @@ -2272,9 +2273,33 @@ export const arMetadataForms: NonNullable = { label: "النطاق الزمني", helpText: "الفترة الافتراضية ومفتاح النطاق المخصّص. يجب أن يكون البُعد بُعدًا تاريخيًا من مجموعة البيانات؛ اتركه فارغًا حين لا تحتوي مجموعة البيانات إلا على بُعد واحد منه." }, + "dateRange.dimension": { + label: "Date Field", + helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + }, + "dateRange.defaultRange": { + label: "Default Period", + helpText: "The period the report opens with." + }, + "dateRange.allowCustomRange": { + label: "Allow Custom Range", + helpText: "Let people pick their own start and end dates." + }, exportOptions: { label: "خيارات التصدير", helpText: "صيغ التنزيل (csv، xlsx) واسم الملف. من يحق له التنزيل يحدده إذن التصدير على كائن مجموعة البيانات." + }, + "exportOptions.formats": { + label: "Formats", + helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + }, + "exportOptions.includeHeaders": { + label: "Include Headers", + helpText: "Put the column names in the first row of the downloaded file." + }, + "exportOptions.fileNamePrefix": { + label: "File Name", + helpText: "The start of the downloaded file’s name, used instead of the report name." } } }, diff --git a/packages/platform-objects/src/apps/translations/ar.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/ar.source-hashes.generated.ts index d479df87bc1..d31caaf0db5 100644 --- a/packages/platform-objects/src/apps/translations/ar.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/ar.source-hashes.generated.ts @@ -24,6 +24,19 @@ export const arGeneratedSourceHashes: Readonly> = { "metadataForms.permission.fields.objects.helpText": "e2512cfb3b501aae", "metadataForms.permission.fields.tabPermissions.helpText": "8942e2aebe59897c", "metadataForms.position.fields.name.helpText": "3594bba7cc2a3c8a", + "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", + "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", + "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", + "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", + "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", + "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", + "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", + "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", + "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", + "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", + "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", + "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", + "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "objects.sys_email.fields.message_id.label": "14cd089a4062f4b1", "objects.sys_email_template.fields.package_id.help": "e1f8cc4d0105cedc", "objects.sys_email_template.fields.package_id.label": "aacf5e74a8641b2b", diff --git a/packages/platform-objects/src/apps/translations/de.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/de.metadata-forms.generated.ts index ce8731878ed..dbb762702d3 100644 --- a/packages/platform-objects/src/apps/translations/de.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/de.metadata-forms.generated.ts @@ -2190,7 +2190,8 @@ export const deMetadataForms: NonNullable = { label: "Bezeichnung" }, description: { - label: "Beschreibung" + label: "Beschreibung", + helpText: "One sentence on what this report shows, displayed under its name." }, type: { label: "Typ", @@ -2272,9 +2273,33 @@ export const deMetadataForms: NonNullable = { label: "Datumsbereich", helpText: "Standardzeitraum und Umschalter für einen benutzerdefinierten Bereich. Die Dimension muss eine Datumsdimension des Datasets sein; leer lassen, wenn das Dataset genau eine hat." }, + "dateRange.dimension": { + label: "Date Field", + helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + }, + "dateRange.defaultRange": { + label: "Default Period", + helpText: "The period the report opens with." + }, + "dateRange.allowCustomRange": { + label: "Allow Custom Range", + helpText: "Let people pick their own start and end dates." + }, exportOptions: { label: "Exportoptionen", helpText: "Download-Formate (csv, xlsx) und Dateiname. Wer herunterladen darf, regelt die Exportberechtigung für das Dataset-Objekt." + }, + "exportOptions.formats": { + label: "Formats", + helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + }, + "exportOptions.includeHeaders": { + label: "Include Headers", + helpText: "Put the column names in the first row of the downloaded file." + }, + "exportOptions.fileNamePrefix": { + label: "File Name", + helpText: "The start of the downloaded file’s name, used instead of the report name." } } }, diff --git a/packages/platform-objects/src/apps/translations/de.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/de.source-hashes.generated.ts index 5b0371a36b6..71b47238cd1 100644 --- a/packages/platform-objects/src/apps/translations/de.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/de.source-hashes.generated.ts @@ -65,7 +65,20 @@ export const deGeneratedSourceHashes: Readonly> = { "metadataForms.position.label": "9a24c02e441eb0b4", "metadataForms.position.sections.position.label": "9a24c02e441eb0b4", "metadataForms.report.fields.dataset.label": "19647dcb84ce82d3", + "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", + "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", + "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", + "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", + "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", + "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", + "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", "metadataForms.report.fields.drilldown.label": "25ae77d240ced5f5", + "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", + "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", + "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", + "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", + "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", + "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "metadataForms.report.fields.name.label": "5274417ff1ccaf01", "metadataForms.skill.fields.name.label": "5274417ff1ccaf01", "metadataForms.tool.fields.name.label": "5274417ff1ccaf01", diff --git a/packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts index a9ef848805f..d6066134c8d 100644 --- a/packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts @@ -2166,7 +2166,7 @@ export const enMetadataForms: NonNullable = { }, dataset_binding: { label: "Dataset binding", - description: "The semantic-layer dataset this report renders. Values are the dataset’s measures; rows are its dimensions." + description: "Where the report’s numbers come from, how they are grouped and sorted, and which records open when you click a row." }, joined_blocks: { label: "Joined blocks", @@ -2190,7 +2190,8 @@ export const enMetadataForms: NonNullable = { label: "Label" }, description: { - label: "Description" + label: "Description", + helpText: "One sentence on what this report shows, displayed under its name." }, type: { label: "Type", @@ -2198,33 +2199,33 @@ export const enMetadataForms: NonNullable = { }, dataset: { label: "Dataset", - helpText: "Dataset to bind (measures/dimensions come from its semantic layer)" + helpText: "The report reads its numbers from here; everyone sees only the records they have access to." }, values: { label: "Values", - helpText: "Measure names (from the dataset) to display" + helpText: "The metrics to total or count (from the data source)." }, rows: { label: "Rows", - helpText: "Dimension names (from the dataset) to group rows by" + helpText: "The fields to group by (from the data source)." }, columns: { label: "Columns", helpText: "Groups spread across the columns (matrix reports only)." }, order: { - label: "Sort order", + label: "Sort Order", helpText: "What to sort by, most important first (a grouping or a metric). Time groupings sort in date order by default." }, "order.by": { - label: "Order By" + label: "Sort By" }, "order.direction": { label: "Direction" }, drilldown: { label: "Drilldown", - helpText: "Click an aggregated row/cell to open the underlying records" + helpText: "Click a summarized row or cell to open the records behind it." }, blocks: { label: "Blocks", @@ -2243,26 +2244,26 @@ export const enMetadataForms: NonNullable = { label: "Block Type" }, "blocks.dataset": { - label: "Dataset" + label: "Data Source" }, "blocks.rows": { - label: "Rows" + label: "Group By" }, "blocks.columns": { - label: "Columns" + label: "Group Columns By" }, "blocks.values": { - label: "Values" + label: "Metrics" }, "blocks.runtimeFilter": { label: "Runtime Filter" }, "blocks.order": { - label: "Order" + label: "Sort Order" }, runtimeFilter: { label: "Runtime Filter", - helpText: "Render-time scope filter, ANDed at query time" + helpText: "A filter applied whenever the report is shown, on top of the data source’s own conditions." }, chart: { label: "Chart", @@ -2270,11 +2271,35 @@ export const enMetadataForms: NonNullable = { }, dateRange: { label: "Date Range", - helpText: "The default period, and whether people may choose their own range. It applies to one date grouping of the data source, which can stay empty when the data source has only one." + helpText: "The period the report opens with, and whether people may choose their own range." + }, + "dateRange.dimension": { + label: "Date Field", + helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + }, + "dateRange.defaultRange": { + label: "Default Period", + helpText: "The period the report opens with." + }, + "dateRange.allowCustomRange": { + label: "Allow Custom Range", + helpText: "Let people pick their own start and end dates." }, exportOptions: { label: "Export Options", helpText: "Download formats (csv, xlsx) and file name. Who may download is set by the export permission on the data source’s object." + }, + "exportOptions.formats": { + label: "Formats", + helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + }, + "exportOptions.includeHeaders": { + label: "Include Headers", + helpText: "Put the column names in the first row of the downloaded file." + }, + "exportOptions.fileNamePrefix": { + label: "File Name", + helpText: "The start of the downloaded file’s name, used instead of the report name." } } }, diff --git a/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts index bea8879d92b..11349c15b31 100644 --- a/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts @@ -2190,7 +2190,8 @@ export const esESMetadataForms: NonNullable = label: "Etiqueta" }, description: { - label: "Descripción" + label: "Descripción", + helpText: "One sentence on what this report shows, displayed under its name." }, type: { label: "Tipo", @@ -2272,9 +2273,33 @@ export const esESMetadataForms: NonNullable = label: "Rango de fechas", helpText: "Periodo predeterminado e interruptor de rango personalizado. La dimensión debe ser una dimensión de fecha del conjunto de datos; déjela vacía cuando el conjunto de datos tenga exactamente una." }, + "dateRange.dimension": { + label: "Date Field", + helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + }, + "dateRange.defaultRange": { + label: "Default Period", + helpText: "The period the report opens with." + }, + "dateRange.allowCustomRange": { + label: "Allow Custom Range", + helpText: "Let people pick their own start and end dates." + }, exportOptions: { label: "Opciones de exportación", helpText: "Formatos de descarga (csv, xlsx) y nombre de archivo. Quién puede descargar lo determina el permiso de exportación del objeto del conjunto de datos." + }, + "exportOptions.formats": { + label: "Formats", + helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + }, + "exportOptions.includeHeaders": { + label: "Include Headers", + helpText: "Put the column names in the first row of the downloaded file." + }, + "exportOptions.fileNamePrefix": { + label: "File Name", + helpText: "The start of the downloaded file’s name, used instead of the report name." } } }, diff --git a/packages/platform-objects/src/apps/translations/es-ES.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/es-ES.source-hashes.generated.ts index 16a789fc601..92bd1876b2f 100644 --- a/packages/platform-objects/src/apps/translations/es-ES.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/es-ES.source-hashes.generated.ts @@ -18,6 +18,19 @@ */ export const esESGeneratedSourceHashes: Readonly> = { + "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", + "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", + "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", + "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", + "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", + "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", + "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", + "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", + "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", + "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", + "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", + "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", + "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "objects.sys_email.fields.cc_addresses.label": "02946d952cf15623", "objects.sys_email.fields.error.label": "786fed84bd8d5a32", "objects.sys_email.fields.message_id.label": "14cd089a4062f4b1", diff --git a/packages/platform-objects/src/apps/translations/fr.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/fr.metadata-forms.generated.ts index 934f99206cf..7afa7661cae 100644 --- a/packages/platform-objects/src/apps/translations/fr.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/fr.metadata-forms.generated.ts @@ -2190,7 +2190,8 @@ export const frMetadataForms: NonNullable = { label: "Libellé" }, description: { - label: "Description" + label: "Description", + helpText: "One sentence on what this report shows, displayed under its name." }, type: { label: "Type", @@ -2272,9 +2273,33 @@ export const frMetadataForms: NonNullable = { label: "Plage de dates", helpText: "Période par défaut et sélecteur de plage personnalisée. La dimension doit être une dimension de date du jeu de données ; laissez vide lorsque le jeu de données en a exactement une." }, + "dateRange.dimension": { + label: "Date Field", + helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + }, + "dateRange.defaultRange": { + label: "Default Period", + helpText: "The period the report opens with." + }, + "dateRange.allowCustomRange": { + label: "Allow Custom Range", + helpText: "Let people pick their own start and end dates." + }, exportOptions: { label: "Options d’export", helpText: "Formats de téléchargement (csv, xlsx) et nom de fichier. Qui peut télécharger dépend de l’autorisation d’export sur l’objet du jeu de données." + }, + "exportOptions.formats": { + label: "Formats", + helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + }, + "exportOptions.includeHeaders": { + label: "Include Headers", + helpText: "Put the column names in the first row of the downloaded file." + }, + "exportOptions.fileNamePrefix": { + label: "File Name", + helpText: "The start of the downloaded file’s name, used instead of the report name." } } }, diff --git a/packages/platform-objects/src/apps/translations/fr.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/fr.source-hashes.generated.ts index 0ce08db8d83..9c91ffbb3e9 100644 --- a/packages/platform-objects/src/apps/translations/fr.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/fr.source-hashes.generated.ts @@ -97,7 +97,20 @@ export const frGeneratedSourceHashes: Readonly> = { "metadataForms.permission.fields.tabPermissions.helpText": "8942e2aebe59897c", "metadataForms.position.fields.description.label": "779a4342c8eb6707", "metadataForms.position.fields.name.helpText": "3594bba7cc2a3c8a", + "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", + "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", + "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", + "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", + "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", + "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", + "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", "metadataForms.report.fields.description.label": "779a4342c8eb6707", + "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", + "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", + "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", + "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", + "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", + "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "metadataForms.report.fields.type.label": "901bb552898b2cab", "metadataForms.skill.fields.active.label": "eee107cf4e466779", "metadataForms.skill.fields.description.label": "779a4342c8eb6707", diff --git a/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts index a0730cc8b03..fed6486dcee 100644 --- a/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts @@ -2190,7 +2190,8 @@ export const jaJPMetadataForms: NonNullable = label: "表示名" }, description: { - label: "説明" + label: "説明", + helpText: "One sentence on what this report shows, displayed under its name." }, type: { label: "型", @@ -2272,9 +2273,33 @@ export const jaJPMetadataForms: NonNullable = label: "日付範囲", helpText: "既定の期間とカスタム範囲の切り替え。ディメンションはデータセットの日付ディメンションである必要があります。データセットに日付ディメンションが 1 つだけの場合は空欄のままにします。" }, + "dateRange.dimension": { + label: "Date Field", + helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + }, + "dateRange.defaultRange": { + label: "Default Period", + helpText: "The period the report opens with." + }, + "dateRange.allowCustomRange": { + label: "Allow Custom Range", + helpText: "Let people pick their own start and end dates." + }, exportOptions: { label: "エクスポートオプション", helpText: "ダウンロード形式(csv, xlsx)とファイル名。ダウンロードできるユーザーは、データセットのオブジェクトのエクスポート権限で決まります。" + }, + "exportOptions.formats": { + label: "Formats", + helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + }, + "exportOptions.includeHeaders": { + label: "Include Headers", + helpText: "Put the column names in the first row of the downloaded file." + }, + "exportOptions.fileNamePrefix": { + label: "File Name", + helpText: "The start of the downloaded file’s name, used instead of the report name." } } }, diff --git a/packages/platform-objects/src/apps/translations/ja-JP.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/ja-JP.source-hashes.generated.ts index 45d2394e914..b89262b2fe8 100644 --- a/packages/platform-objects/src/apps/translations/ja-JP.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/ja-JP.source-hashes.generated.ts @@ -18,6 +18,19 @@ */ export const jaJPGeneratedSourceHashes: Readonly> = { + "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", + "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", + "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", + "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", + "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", + "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", + "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", + "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", + "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", + "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", + "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", + "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", + "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "objects.sys_email.fields.bcc_addresses.label": "8674899b7b6d5126", "objects.sys_email.fields.cc_addresses.label": "02946d952cf15623", "objects.sys_email.fields.message_id.label": "14cd089a4062f4b1", diff --git a/packages/platform-objects/src/apps/translations/ko.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/ko.metadata-forms.generated.ts index 2ab94a14e85..f540bcdd8f7 100644 --- a/packages/platform-objects/src/apps/translations/ko.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/ko.metadata-forms.generated.ts @@ -2190,7 +2190,8 @@ export const koMetadataForms: NonNullable = { label: "레이블" }, description: { - label: "설명" + label: "설명", + helpText: "One sentence on what this report shows, displayed under its name." }, type: { label: "유형", @@ -2272,9 +2273,33 @@ export const koMetadataForms: NonNullable = { label: "날짜 범위", helpText: "기본 기간과 사용자 지정 범위 전환입니다. 차원은 데이터 세트의 날짜 차원이어야 하며, 데이터 세트에 날짜 차원이 정확히 하나이면 비워 두세요." }, + "dateRange.dimension": { + label: "Date Field", + helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + }, + "dateRange.defaultRange": { + label: "Default Period", + helpText: "The period the report opens with." + }, + "dateRange.allowCustomRange": { + label: "Allow Custom Range", + helpText: "Let people pick their own start and end dates." + }, exportOptions: { label: "내보내기 옵션", helpText: "다운로드 형식(csv, xlsx)과 파일 이름입니다. 다운로드할 수 있는 사람은 데이터 세트 객체의 내보내기 권한이 결정합니다." + }, + "exportOptions.formats": { + label: "Formats", + helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + }, + "exportOptions.includeHeaders": { + label: "Include Headers", + helpText: "Put the column names in the first row of the downloaded file." + }, + "exportOptions.fileNamePrefix": { + label: "File Name", + helpText: "The start of the downloaded file’s name, used instead of the report name." } } }, diff --git a/packages/platform-objects/src/apps/translations/ko.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/ko.source-hashes.generated.ts index fa0559d9bbc..03d1abada79 100644 --- a/packages/platform-objects/src/apps/translations/ko.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/ko.source-hashes.generated.ts @@ -24,6 +24,19 @@ export const koGeneratedSourceHashes: Readonly> = { "metadataForms.permission.fields.objects.helpText": "e2512cfb3b501aae", "metadataForms.permission.fields.tabPermissions.helpText": "8942e2aebe59897c", "metadataForms.position.fields.name.helpText": "3594bba7cc2a3c8a", + "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", + "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", + "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", + "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", + "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", + "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", + "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", + "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", + "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", + "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", + "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", + "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", + "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "objects.sys_email.fields.message_id.label": "14cd089a4062f4b1", "objects.sys_email_template.fields.id.label": "00b0385c9c152888", "objects.sys_email_template.fields.package_id.help": "e1f8cc4d0105cedc", diff --git a/packages/platform-objects/src/apps/translations/pt-BR.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/pt-BR.metadata-forms.generated.ts index 2c8338af6d4..cc0e7d8eb7a 100644 --- a/packages/platform-objects/src/apps/translations/pt-BR.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/pt-BR.metadata-forms.generated.ts @@ -2190,7 +2190,8 @@ export const ptBRMetadataForms: NonNullable = label: "Rótulo" }, description: { - label: "Descrição" + label: "Descrição", + helpText: "One sentence on what this report shows, displayed under its name." }, type: { label: "Tipo", @@ -2272,9 +2273,33 @@ export const ptBRMetadataForms: NonNullable = label: "Intervalo de datas", helpText: "Período padrão e opção de intervalo personalizado. A dimensão deve ser uma dimensão de data do conjunto de dados; deixe-a em branco quando o conjunto de dados tiver exatamente uma." }, + "dateRange.dimension": { + label: "Date Field", + helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + }, + "dateRange.defaultRange": { + label: "Default Period", + helpText: "The period the report opens with." + }, + "dateRange.allowCustomRange": { + label: "Allow Custom Range", + helpText: "Let people pick their own start and end dates." + }, exportOptions: { label: "Opções de exportação", helpText: "Formatos de download (csv, xlsx) e nome do arquivo. Quem pode baixar é definido pela permissão de exportação no objeto do conjunto de dados." + }, + "exportOptions.formats": { + label: "Formats", + helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + }, + "exportOptions.includeHeaders": { + label: "Include Headers", + helpText: "Put the column names in the first row of the downloaded file." + }, + "exportOptions.fileNamePrefix": { + label: "File Name", + helpText: "The start of the downloaded file’s name, used instead of the report name." } } }, diff --git a/packages/platform-objects/src/apps/translations/pt-BR.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/pt-BR.source-hashes.generated.ts index 7b83f1bca2c..40a48a7aab0 100644 --- a/packages/platform-objects/src/apps/translations/pt-BR.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/pt-BR.source-hashes.generated.ts @@ -39,6 +39,19 @@ export const ptBRGeneratedSourceHashes: Readonly> = { "metadataForms.permission.fields.objects.helpText": "e2512cfb3b501aae", "metadataForms.permission.fields.tabPermissions.helpText": "8942e2aebe59897c", "metadataForms.position.fields.name.helpText": "3594bba7cc2a3c8a", + "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", + "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", + "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", + "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", + "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", + "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", + "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", + "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", + "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", + "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", + "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", + "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", + "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "metadataForms.view.fields.gantt.label": "57ffc6ef520edfc5", "metadataForms.view.fields.kanban.label": "dd95c452aa71459e", "metadataForms.view.sections.gantt.label": "57ffc6ef520edfc5", diff --git a/packages/platform-objects/src/apps/translations/ru.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/ru.metadata-forms.generated.ts index 8bcf4a45f16..f94fe00a45c 100644 --- a/packages/platform-objects/src/apps/translations/ru.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/ru.metadata-forms.generated.ts @@ -2190,7 +2190,8 @@ export const ruMetadataForms: NonNullable = { label: "Метка" }, description: { - label: "Описание" + label: "Описание", + helpText: "One sentence on what this report shows, displayed under its name." }, type: { label: "Тип", @@ -2272,9 +2273,33 @@ export const ruMetadataForms: NonNullable = { label: "Диапазон дат", helpText: "Период по умолчанию и переключатель произвольного диапазона. Измерение должно быть измерением даты набора данных; оставьте пустым, если такое измерение в наборе ровно одно." }, + "dateRange.dimension": { + label: "Date Field", + helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + }, + "dateRange.defaultRange": { + label: "Default Period", + helpText: "The period the report opens with." + }, + "dateRange.allowCustomRange": { + label: "Allow Custom Range", + helpText: "Let people pick their own start and end dates." + }, exportOptions: { label: "Параметры экспорта", helpText: "Форматы скачивания (csv, xlsx) и имя файла. Кто может скачивать, определяет разрешение на экспорт объекта набора данных." + }, + "exportOptions.formats": { + label: "Formats", + helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + }, + "exportOptions.includeHeaders": { + label: "Include Headers", + helpText: "Put the column names in the first row of the downloaded file." + }, + "exportOptions.fileNamePrefix": { + label: "File Name", + helpText: "The start of the downloaded file’s name, used instead of the report name." } } }, diff --git a/packages/platform-objects/src/apps/translations/ru.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/ru.source-hashes.generated.ts index 448291c5695..3114aed1a0f 100644 --- a/packages/platform-objects/src/apps/translations/ru.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/ru.source-hashes.generated.ts @@ -24,6 +24,19 @@ export const ruGeneratedSourceHashes: Readonly> = { "metadataForms.permission.fields.objects.helpText": "e2512cfb3b501aae", "metadataForms.permission.fields.tabPermissions.helpText": "8942e2aebe59897c", "metadataForms.position.fields.name.helpText": "3594bba7cc2a3c8a", + "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", + "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", + "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", + "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", + "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", + "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", + "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", + "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", + "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", + "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", + "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", + "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", + "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "objects.sys_email.fields.message_id.label": "14cd089a4062f4b1", "objects.sys_email_template.fields.id.label": "00b0385c9c152888", "objects.sys_email_template.fields.package_id.help": "e1f8cc4d0105cedc", diff --git a/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts index c0ed050c981..f85929ece91 100644 --- a/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts @@ -2190,7 +2190,8 @@ export const zhCNMetadataForms: NonNullable = label: "显示名称" }, description: { - label: "描述" + label: "描述", + helpText: "One sentence on what this report shows, displayed under its name." }, type: { label: "类型", @@ -2272,9 +2273,33 @@ export const zhCNMetadataForms: NonNullable = label: "日期范围", helpText: "默认时间段与自定义范围开关。维度必须是数据集的日期维度;数据集只有一个日期维度时可留空" }, + "dateRange.dimension": { + label: "Date Field", + helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + }, + "dateRange.defaultRange": { + label: "Default Period", + helpText: "The period the report opens with." + }, + "dateRange.allowCustomRange": { + label: "Allow Custom Range", + helpText: "Let people pick their own start and end dates." + }, exportOptions: { label: "导出选项", helpText: "下载格式(csv、xlsx)与文件名。谁可以下载由数据集对象上的导出权限决定" + }, + "exportOptions.formats": { + label: "Formats", + helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + }, + "exportOptions.includeHeaders": { + label: "Include Headers", + helpText: "Put the column names in the first row of the downloaded file." + }, + "exportOptions.fileNamePrefix": { + label: "File Name", + helpText: "The start of the downloaded file’s name, used instead of the report name." } } }, diff --git a/packages/platform-objects/src/apps/translations/zh-CN.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/zh-CN.source-hashes.generated.ts index eee746ae3fc..0e2c79e84ad 100644 --- a/packages/platform-objects/src/apps/translations/zh-CN.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/zh-CN.source-hashes.generated.ts @@ -18,6 +18,19 @@ */ export const zhCNGeneratedSourceHashes: Readonly> = { + "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", + "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", + "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", + "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", + "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", + "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", + "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", + "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", + "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", + "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", + "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", + "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", + "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "objects.sys_email.fields.message_id.label": "14cd089a4062f4b1", "objects.sys_email_template.fields.id.label": "00b0385c9c152888", "objects.sys_exchange_rate.fields.id.label": "00b0385c9c152888", diff --git a/packages/platform-objects/src/apps/translations/zh-Hant.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/zh-Hant.metadata-forms.generated.ts index e18c228ea33..a4686eaa134 100644 --- a/packages/platform-objects/src/apps/translations/zh-Hant.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/zh-Hant.metadata-forms.generated.ts @@ -2190,7 +2190,8 @@ export const zhHantMetadataForms: NonNullable label: "顯示名稱" }, description: { - label: "描述" + label: "描述", + helpText: "One sentence on what this report shows, displayed under its name." }, type: { label: "類型", @@ -2272,9 +2273,33 @@ export const zhHantMetadataForms: NonNullable label: "日期範圍", helpText: "預設時間段與自訂範圍開關。維度必須是資料集的日期維度;資料集只有一個日期維度時可留空" }, + "dateRange.dimension": { + label: "Date Field", + helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + }, + "dateRange.defaultRange": { + label: "Default Period", + helpText: "The period the report opens with." + }, + "dateRange.allowCustomRange": { + label: "Allow Custom Range", + helpText: "Let people pick their own start and end dates." + }, exportOptions: { label: "匯出選項", helpText: "下載格式(csv、xlsx)與檔案名稱。誰可以下載由資料集物件上的匯出權限決定" + }, + "exportOptions.formats": { + label: "Formats", + helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + }, + "exportOptions.includeHeaders": { + label: "Include Headers", + helpText: "Put the column names in the first row of the downloaded file." + }, + "exportOptions.fileNamePrefix": { + label: "File Name", + helpText: "The start of the downloaded file’s name, used instead of the report name." } } }, diff --git a/packages/platform-objects/src/apps/translations/zh-Hant.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/zh-Hant.source-hashes.generated.ts index ddfb741fe91..de37c405dba 100644 --- a/packages/platform-objects/src/apps/translations/zh-Hant.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/zh-Hant.source-hashes.generated.ts @@ -18,6 +18,19 @@ */ export const zhHantGeneratedSourceHashes: Readonly> = { + "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", + "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", + "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", + "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", + "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", + "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", + "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", + "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", + "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", + "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", + "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", + "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", + "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "objects.sys_email.fields.message_id.label": "14cd089a4062f4b1", "objects.sys_email_template.fields.id.label": "00b0385c9c152888", "objects.sys_exchange_rate.fields.id.label": "00b0385c9c152888", From 7fa262e1f7dee8330352cac7c91d83bb14caa5cf Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 02:06:23 +0000 Subject: [PATCH 06/10] fix(i18n): translate the new report form rows; move the report ledgers to the reworded English Authors the 13 new report form leaves in zh-CN, ja-JP and es-ES, updates the two report echo-decision ledgers' en sources (each row records that its verdicts were taken against the old English) and moves the population counts with their reason. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB --- .../es-ES.metadata-forms.generated.ts | 26 ++++++++-------- .../es-ES.source-hashes.generated.ts | 13 -------- .../ja-JP.metadata-forms.generated.ts | 26 ++++++++-------- .../ja-JP.source-hashes.generated.ts | 13 -------- ...eport-dataset-panel-echo-decisions.test.ts | 12 +++---- .../report-form-echo-decisions.test.ts | 31 ++++++++++++------- .../zh-CN.metadata-forms.generated.ts | 26 ++++++++-------- .../zh-CN.source-hashes.generated.ts | 13 -------- .../metadata-admin/metadata-form-zh-cn.ts | 8 ++--- 9 files changed, 68 insertions(+), 100 deletions(-) diff --git a/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts index 11349c15b31..27116465a99 100644 --- a/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts @@ -2191,7 +2191,7 @@ export const esESMetadataForms: NonNullable = }, description: { label: "Descripción", - helpText: "One sentence on what this report shows, displayed under its name." + helpText: "Una frase sobre lo que muestra este informe; aparece bajo su nombre." }, type: { label: "Tipo", @@ -2274,32 +2274,32 @@ export const esESMetadataForms: NonNullable = helpText: "Periodo predeterminado e interruptor de rango personalizado. La dimensión debe ser una dimensión de fecha del conjunto de datos; déjela vacía cuando el conjunto de datos tenga exactamente una." }, "dateRange.dimension": { - label: "Date Field", - helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + label: "Campo de fecha", + helpText: "La agrupación de fecha de la fuente de datos a la que se aplica el período. Déjelo vacío si la fuente de datos solo tiene una." }, "dateRange.defaultRange": { - label: "Default Period", - helpText: "The period the report opens with." + label: "Período predeterminado", + helpText: "El período con el que se abre el informe." }, "dateRange.allowCustomRange": { - label: "Allow Custom Range", - helpText: "Let people pick their own start and end dates." + label: "Permitir rango personalizado", + helpText: "Permite que cada persona elija sus propias fechas de inicio y fin." }, exportOptions: { label: "Opciones de exportación", helpText: "Formatos de descarga (csv, xlsx) y nombre de archivo. Quién puede descargar lo determina el permiso de exportación del objeto del conjunto de datos." }, "exportOptions.formats": { - label: "Formats", - helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + label: "Formatos", + helpText: "Los formatos de descarga ofrecidos. Sin definir, se ofrecen csv y xlsx; una lista vacía desactiva las descargas." }, "exportOptions.includeHeaders": { - label: "Include Headers", - helpText: "Put the column names in the first row of the downloaded file." + label: "Incluir encabezados", + helpText: "Pone los nombres de columna en la primera fila del archivo descargado." }, "exportOptions.fileNamePrefix": { - label: "File Name", - helpText: "The start of the downloaded file’s name, used instead of the report name." + label: "Nombre de archivo", + helpText: "El inicio del nombre del archivo descargado, en lugar del nombre del informe." } } }, diff --git a/packages/platform-objects/src/apps/translations/es-ES.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/es-ES.source-hashes.generated.ts index 92bd1876b2f..16a789fc601 100644 --- a/packages/platform-objects/src/apps/translations/es-ES.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/es-ES.source-hashes.generated.ts @@ -18,19 +18,6 @@ */ export const esESGeneratedSourceHashes: Readonly> = { - "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", - "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", - "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", - "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", - "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", - "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", - "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", - "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", - "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", - "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", - "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", - "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", - "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "objects.sys_email.fields.cc_addresses.label": "02946d952cf15623", "objects.sys_email.fields.error.label": "786fed84bd8d5a32", "objects.sys_email.fields.message_id.label": "14cd089a4062f4b1", diff --git a/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts index fed6486dcee..8388e2459c3 100644 --- a/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts @@ -2191,7 +2191,7 @@ export const jaJPMetadataForms: NonNullable = }, description: { label: "説明", - helpText: "One sentence on what this report shows, displayed under its name." + helpText: "このレポートで何がわかるかを一文で。名前の下に表示されます。" }, type: { label: "型", @@ -2274,32 +2274,32 @@ export const jaJPMetadataForms: NonNullable = helpText: "既定の期間とカスタム範囲の切り替え。ディメンションはデータセットの日付ディメンションである必要があります。データセットに日付ディメンションが 1 つだけの場合は空欄のままにします。" }, "dateRange.dimension": { - label: "Date Field", - helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + label: "日付フィールド", + helpText: "期間を適用する、データソースの日付グループ。データソースに日付グループが 1 つしかない場合は空のままにします。" }, "dateRange.defaultRange": { - label: "Default Period", - helpText: "The period the report opens with." + label: "既定の期間", + helpText: "レポートを開いたときに表示される期間。" }, "dateRange.allowCustomRange": { - label: "Allow Custom Range", - helpText: "Let people pick their own start and end dates." + label: "カスタム範囲を許可", + helpText: "開始日と終了日を利用者が自分で選べるようにします。" }, exportOptions: { label: "エクスポートオプション", helpText: "ダウンロード形式(csv, xlsx)とファイル名。ダウンロードできるユーザーは、データセットのオブジェクトのエクスポート権限で決まります。" }, "exportOptions.formats": { - label: "Formats", - helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + label: "形式", + helpText: "ダウンロードできる形式。未設定なら csv と xlsx の両方、空のリストならダウンロードはオフになります。" }, "exportOptions.includeHeaders": { - label: "Include Headers", - helpText: "Put the column names in the first row of the downloaded file." + label: "見出しを含める", + helpText: "ダウンロードしたファイルの 1 行目に列名を入れます。" }, "exportOptions.fileNamePrefix": { - label: "File Name", - helpText: "The start of the downloaded file’s name, used instead of the report name." + label: "ファイル名", + helpText: "ダウンロードするファイル名の先頭部分。レポート名の代わりに使われます。" } } }, diff --git a/packages/platform-objects/src/apps/translations/ja-JP.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/ja-JP.source-hashes.generated.ts index b89262b2fe8..45d2394e914 100644 --- a/packages/platform-objects/src/apps/translations/ja-JP.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/ja-JP.source-hashes.generated.ts @@ -18,19 +18,6 @@ */ export const jaJPGeneratedSourceHashes: Readonly> = { - "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", - "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", - "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", - "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", - "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", - "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", - "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", - "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", - "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", - "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", - "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", - "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", - "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "objects.sys_email.fields.bcc_addresses.label": "8674899b7b6d5126", "objects.sys_email.fields.cc_addresses.label": "02946d952cf15623", "objects.sys_email.fields.message_id.label": "14cd089a4062f4b1", diff --git a/packages/platform-objects/src/apps/translations/report-dataset-panel-echo-decisions.test.ts b/packages/platform-objects/src/apps/translations/report-dataset-panel-echo-decisions.test.ts index a826b345d22..b0ee04d35d4 100644 --- a/packages/platform-objects/src/apps/translations/report-dataset-panel-echo-decisions.test.ts +++ b/packages/platform-objects/src/apps/translations/report-dataset-panel-echo-decisions.test.ts @@ -91,10 +91,10 @@ const DECISIONS: readonly Decision[] = [ type: 'report', key: 'dataset', prop: 'helpText', - en: 'Dataset to bind (measures/dimensions come from its semantic layer)', + en: 'The report reads its numbers from here; everyone sees only the records they have access to.', verdict: ALL_TRANSLATE, reason: - 'Prose, not a term of art, and it was a byte copy in all three locales while the sibling helpTexts on the same panel (type, columns, order, chart) were authored. A fill.', + 'Prose, not a term of art, and it was a byte copy in all three locales while the sibling helpTexts on the same panel (type, columns, order, chart) were authored. A fill. ⚠️ #36447 reworded this `en` source into business terms (from "Dataset to bind (measures/dimensions come from its semantic layer)"); the zh-CN / ja-JP / es-ES verdicts and values above were taken against the OLD English and were not re-judged.', }, { type: 'report', @@ -108,10 +108,10 @@ const DECISIONS: readonly Decision[] = [ type: 'report', key: 'values', prop: 'helpText', - en: 'Measure names (from the dataset) to display', + en: 'The metrics to total or count (from the data source).', verdict: ALL_TRANSLATE, reason: - 'Prose. Its own sibling order.helpText names the same two vocabularies (rows/columns dimensions, values measures) in authored text in every locale, so the vocabulary existed and this leaf simply never got it.', + 'Prose. Its own sibling order.helpText names the same two vocabularies (rows/columns dimensions, values measures) in authored text in every locale, so the vocabulary existed and this leaf simply never got it. ⚠️ #36447 reworded this `en` source into business terms (from "Measure names (from the dataset) to display"); the zh-CN / ja-JP / es-ES verdicts and values above were taken against the OLD English and were not re-judged.', }, { type: 'report', @@ -125,10 +125,10 @@ const DECISIONS: readonly Decision[] = [ type: 'report', key: 'rows', prop: 'helpText', - en: 'Dimension names (from the dataset) to group rows by', + en: 'The fields to group by (from the data source).', verdict: ALL_TRANSLATE, reason: - 'Prose, and the neighbouring columns.helpText — the same sentence for the other axis — is authored in all three locales. Nothing distinguishes the two but one having been reached.', + 'Prose, and the neighbouring columns.helpText — the same sentence for the other axis — is authored in all three locales. Nothing distinguishes the two but one having been reached. ⚠️ #36447 reworded this `en` source into business terms (from "Dimension names (from the dataset) to group rows by"); the zh-CN / ja-JP / es-ES verdicts and values above were taken against the OLD English and were not re-judged.', }, { type: 'dataset', diff --git a/packages/platform-objects/src/apps/translations/report-form-echo-decisions.test.ts b/packages/platform-objects/src/apps/translations/report-form-echo-decisions.test.ts index a862d8abb9f..86b39d0a7f8 100644 --- a/packages/platform-objects/src/apps/translations/report-form-echo-decisions.test.ts +++ b/packages/platform-objects/src/apps/translations/report-form-echo-decisions.test.ts @@ -87,6 +87,15 @@ // counts in the prose above are this round's base, and none of the six decided // rows moved.) // +// (#36447 declared the `dateRange` and `exportOptions` children and a +// `description` hint as form rows, so the panel reads business wording instead +// of schema descriptions: 13 new field leaves (6 labels + 7 hints), authored in +// all three locales when they landed. The population went 50 → 63, the field +// leaves 40 → 53, the section leaves stayed 10 and the inward negatives went +// 44 → 57. The same card reworded the `en` source of three decided rows — the +// `dataset_binding` description, the `drilldown` hint and the `runtimeFilter` +// hint — and each row says its verdicts were taken against the old English.) +// // ## ⚠️⚠️ The phantom-translation trap — and why this family is the SHARP case // // `reportForm` declares NO label on `drilldown` and NO label on `runtimeFilter` @@ -239,10 +248,10 @@ const DECISIONS: readonly Decision[] = [ section: 'dataset_binding', path: 'dataset_binding', prop: 'description', - en: 'The semantic-layer dataset this report renders. Values are the dataset’s measures; rows are its dimensions.', + en: 'Where the report’s numbers come from, how they are grouped and sorted, and which records open when you click a row.', verdict: ALL_TRANSLATE, reason: - '⭐ THE SCHEMA WAS READ BEFORE A WORD WAS RENDERED and every claim is asserted below: the semantic layer really does declare `dimensions` (groupable axes) and `measures` (aggregatable values) and refuses `values`/`rows`; the report really does spell the same two concepts `values` and `rows` and refuses `measures`/`dimensions`; and the MAPPING this sentence states is the schema\'s own — the joined-block alias table answers `measures` → `values` and `dimensions` → `rows` in its rejection message, and the order refinement names both halves in one live sentence. ⭐ EVERY WORD IS COPIED, NOT COMPOSED: "semantic layer" from dataset.description (分析语义层 / 分析セマンティックレイヤー / Capa semántica de analítica) and from report.fields.dataset.helpText on this same panel; "measures" and "dimensions" from dataset.sections.measures.label and dataset.sections.dimensions.label (度量 · 维度 / メジャー · ディメンション / Medidas · Dimensiones); the VERB from report.fields.dataset.helpText — 来自 / から取得 / provienen de. ⚠️⚠️ THE ONE DELIBERATE DEPARTURE, and it is forced by an earlier decision of this card: #19355 rendered this panel\'s `values` box with the DATASET\'s word in all three locales (度量 / メジャー / Medidas literally mean "measures"), so a literal "Values are the dataset\'s measures" reads as an identity — 度量就是度量 — and carries information only in English. The clause is rendered as the attribution it actually makes: the two boxes COME FROM this dataset\'s measures and dimensions. ⛔ What was refused: re-wording report.fields.values.label to restore the English contrast. That is a landed decision of this card and reversing it to make one tooltip read better would take a rendering three other leaves already depend on. ⚠️ Punctuation copied from this panel\'s own three sibling descriptions rather than chosen: zh carries no trailing full stop, ja and es do.', + '⭐ THE SCHEMA WAS READ BEFORE A WORD WAS RENDERED and every claim is asserted below: the semantic layer really does declare `dimensions` (groupable axes) and `measures` (aggregatable values) and refuses `values`/`rows`; the report really does spell the same two concepts `values` and `rows` and refuses `measures`/`dimensions`; and the MAPPING this sentence states is the schema\'s own — the joined-block alias table answers `measures` → `values` and `dimensions` → `rows` in its rejection message, and the order refinement names both halves in one live sentence. ⭐ EVERY WORD IS COPIED, NOT COMPOSED: "semantic layer" from dataset.description (分析语义层 / 分析セマンティックレイヤー / Capa semántica de analítica) and from report.fields.dataset.helpText on this same panel; "measures" and "dimensions" from dataset.sections.measures.label and dataset.sections.dimensions.label (度量 · 维度 / メジャー · ディメンション / Medidas · Dimensiones); the VERB from report.fields.dataset.helpText — 来自 / から取得 / provienen de. ⚠️⚠️ THE ONE DELIBERATE DEPARTURE, and it is forced by an earlier decision of this card: #19355 rendered this panel\'s `values` box with the DATASET\'s word in all three locales (度量 / メジャー / Medidas literally mean "measures"), so a literal "Values are the dataset\'s measures" reads as an identity — 度量就是度量 — and carries information only in English. The clause is rendered as the attribution it actually makes: the two boxes COME FROM this dataset\'s measures and dimensions. ⛔ What was refused: re-wording report.fields.values.label to restore the English contrast. That is a landed decision of this card and reversing it to make one tooltip read better would take a rendering three other leaves already depend on. ⚠️ Punctuation copied from this panel\'s own three sibling descriptions rather than chosen: zh carries no trailing full stop, ja and es do. ⚠️ #36447 reworded this `en` source into business terms (from "The semantic-layer dataset this report renders. Values are the dataset’s measures; rows are its dimensions."); the zh-CN / ja-JP / es-ES verdicts and values above were taken against the OLD English and were not re-judged.', }, { kind: 'field', @@ -259,10 +268,10 @@ const DECISIONS: readonly Decision[] = [ section: 'dataset_binding', path: 'drilldown', prop: 'helpText', - en: 'Click an aggregated row/cell to open the underlying records', + en: 'Click a summarized row or cell to open the records behind it.', verdict: ALL_TRANSLATE, reason: - 'PROSE, AND EVERY TERM IN IT HAS AN AUTHORED TWIN EXCEPT ONE, WHICH IS NAMED. "aggregated" from dataset.sections.measures.description (可聚合值 / 集計可能な値 / Valores agregables); "row" from report.fields.rows.label on this same panel (行 / 行 / Filas); "records" from dataset.fields.filter.helpText (排除软删除记录 / 論理削除済みレコードを除外 / excluir registros eliminados de forma lógica). ⛔ "cell" has NO authored twin in either catalog — stated, not borrowed — and takes each locale\'s standard grid term: 单元格 / セル / celda. ⚠️ The ja term is also this file\'s worked example of why a substring guard lies: キャンセル contains セル, which is asserted below. ⇒ 点击聚合后的行/单元格,打开其底层记录 / 集計された行/セルをクリックして、元になったレコードを開きます / Haz clic en una fila/celda agregada para abrir los registros subyacentes. ⚠️ es takes the tú imperative its siblings take (Usa un campo del objeto base, elige nombres de relación, Activa/desactiva este agente), ja the 〜します form its sibling helpTexts take, zh no trailing full stop.', + 'PROSE, AND EVERY TERM IN IT HAS AN AUTHORED TWIN EXCEPT ONE, WHICH IS NAMED. "aggregated" from dataset.sections.measures.description (可聚合值 / 集計可能な値 / Valores agregables); "row" from report.fields.rows.label on this same panel (行 / 行 / Filas); "records" from dataset.fields.filter.helpText (排除软删除记录 / 論理削除済みレコードを除外 / excluir registros eliminados de forma lógica). ⛔ "cell" has NO authored twin in either catalog — stated, not borrowed — and takes each locale\'s standard grid term: 单元格 / セル / celda. ⚠️ The ja term is also this file\'s worked example of why a substring guard lies: キャンセル contains セル, which is asserted below. ⇒ 点击聚合后的行/单元格,打开其底层记录 / 集計された行/セルをクリックして、元になったレコードを開きます / Haz clic en una fila/celda agregada para abrir los registros subyacentes. ⚠️ es takes the tú imperative its siblings take (Usa un campo del objeto base, elige nombres de relación, Activa/desactiva este agente), ja the 〜します form its sibling helpTexts take, zh no trailing full stop. ⚠️ #36447 reworded this `en` source into business terms (from "Click an aggregated row/cell to open the underlying records"); the zh-CN / ja-JP / es-ES verdicts and values above were taken against the OLD English and were not re-judged.', }, { kind: 'field', @@ -279,10 +288,10 @@ const DECISIONS: readonly Decision[] = [ section: 'filter_and_chart', path: 'runtimeFilter', prop: 'helpText', - en: 'Render-time scope filter, ANDed at query time', + en: 'A filter applied whenever the report is shown, on top of the data source’s own conditions.', verdict: ALL_TRANSLATE, reason: - '⭐ A NEAR-EXACT TWIN EXISTS AND CARRIES THE WHOLE SENTENCE PATTERN: dataset.fields.filter.helpText is "Intrinsic scope filter (e.g. exclude soft-deleted records), ANDed into every query" — the same " scope filter, ANDed " shape, already authored as 固有范围筛选(…),以 AND 方式并入每个查询 / 固有スコープのフィルター(…)。すべてのクエリに AND で結合されます / Filtro de ámbito intrínseco (…), combinado con AND en cada consulta. "scope filter" (范围筛选 / スコープのフィルター / Filtro de ámbito), the ANDing clause and its grammar are all taken from it. ⭐ `AND` IS KEPT VERBATIM in all three, the machine-token treatment this catalog already applies at that twin and at object.fields["fields.relatedListFilter"].helpText, and asserted by the token guard below. ⚠️ THE SOURCE\'S OWN TWO-TIME DISTINCTION IS PRESERVED rather than flattened: the label names the key (runtime ⇒ 运行时 / 実行時 / tiempo de ejecución, copied from the twin above) while this sentence contrasts RENDER time with QUERY time, so it takes 渲染 / レンダリング / renderizado — all three already authored in this catalog (page.fields.appearance.helpText, action.fields.display.helpText, sys_report.fields.format.help). ⇒ 渲染时的范围筛选,在查询时以 AND 方式并入 / レンダリング時のスコープフィルター。クエリ時に AND で結合されます / Filtro de ámbito en tiempo de renderizado, combinado con AND en el momento de la consulta.', + '⭐ A NEAR-EXACT TWIN EXISTS AND CARRIES THE WHOLE SENTENCE PATTERN: dataset.fields.filter.helpText is "Intrinsic scope filter (e.g. exclude soft-deleted records), ANDed into every query" — the same " scope filter, ANDed " shape, already authored as 固有范围筛选(…),以 AND 方式并入每个查询 / 固有スコープのフィルター(…)。すべてのクエリに AND で結合されます / Filtro de ámbito intrínseco (…), combinado con AND en cada consulta. "scope filter" (范围筛选 / スコープのフィルター / Filtro de ámbito), the ANDing clause and its grammar are all taken from it. ⭐ `AND` IS KEPT VERBATIM in all three, the machine-token treatment this catalog already applies at that twin and at object.fields["fields.relatedListFilter"].helpText, and asserted by the token guard below. ⚠️ THE SOURCE\'S OWN TWO-TIME DISTINCTION IS PRESERVED rather than flattened: the label names the key (runtime ⇒ 运行时 / 実行時 / tiempo de ejecución, copied from the twin above) while this sentence contrasts RENDER time with QUERY time, so it takes 渲染 / レンダリング / renderizado — all three already authored in this catalog (page.fields.appearance.helpText, action.fields.display.helpText, sys_report.fields.format.help). ⇒ 渲染时的范围筛选,在查询时以 AND 方式并入 / レンダリング時のスコープフィルター。クエリ時に AND で結合されます / Filtro de ámbito en tiempo de renderizado, combinado con AND en el momento de la consulta. ⚠️ #36447 reworded this `en` source into business terms (from "Render-time scope filter, ANDed at query time"); the zh-CN / ja-JP / es-ES verdicts and values above were taken against the OLD English and were not re-judged.', }, ]; @@ -848,9 +857,9 @@ describe('#19403 round 9 — the population, DERIVED from `reportForm`', () => { // `report.sections.*` is written into #19403's body as a population NOTHING // covers — 「承接者:无」. This walk covers it, and the count is asserted so // a walk that quietly stopped at `fields` would go red. - expect(PANEL_LEAVES.length).toBe(50); + expect(PANEL_LEAVES.length).toBe(63); expect(PANEL_LEAVES.filter((l) => l.kind === 'section').length).toBe(10); - expect(PANEL_LEAVES.filter((l) => l.kind === 'field').length).toBe(40); + expect(PANEL_LEAVES.filter((l) => l.kind === 'field').length).toBe(53); expect( PANEL_LEAVES.some((l) => l.kind === 'section' && l.path === 'dataset_binding' && l.prop === 'description'), 'the section description this round decides is not in the population', @@ -912,13 +921,13 @@ describe('#19403 round 9 — the population, DERIVED from `reportForm`', () => { ); }); - it('⭐ DARK, INWARD — 44 of this population\'s own 50 leaves come back NON-ECHOING', () => { + it('⭐ DARK, INWARD — 57 of this population\'s own 63 leaves come back NON-ECHOING', () => { // A hand-list of six echoes can only ever produce positives. This derivation - // produces 44 negatives from the same predicate in the same run, including + // produces 57 negatives from the same predicate in the same run, including // the twin `blocks.runtimeFilter` the runtimeFilter row is copied from. const decided = new Set(DECISIONS.map(idOf)); const negatives = PANEL_LEAVES.filter((l) => !decided.has(idOf(l))); - expect(negatives.length).toBe(44); + expect(negatives.length).toBe(57); for (const leaf of negatives) { for (const [locale, forms] of TRANSLATED_LOCALES) { expect(catalogLeaf(forms, leaf), `${locale} ${idOf(leaf)} is an echo, not a control`).not.toBe(leaf.en); diff --git a/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts index f85929ece91..65d45d7e647 100644 --- a/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts @@ -2191,7 +2191,7 @@ export const zhCNMetadataForms: NonNullable = }, description: { label: "描述", - helpText: "One sentence on what this report shows, displayed under its name." + helpText: "一句话说明这张报表看什么,显示在名称下方" }, type: { label: "类型", @@ -2274,32 +2274,32 @@ export const zhCNMetadataForms: NonNullable = helpText: "默认时间段与自定义范围开关。维度必须是数据集的日期维度;数据集只有一个日期维度时可留空" }, "dateRange.dimension": { - label: "Date Field", - helpText: "The date grouping of the data source the period applies to. Leave it empty when the data source has only one." + label: "日期字段", + helpText: "时间段按数据来源里的哪个日期分组筛选;只有一个日期分组时可留空" }, "dateRange.defaultRange": { - label: "Default Period", - helpText: "The period the report opens with." + label: "默认时间段", + helpText: "打开报表时显示的时间段" }, "dateRange.allowCustomRange": { - label: "Allow Custom Range", - helpText: "Let people pick their own start and end dates." + label: "允许自定义范围", + helpText: "允许使用者自己选择开始和结束日期" }, exportOptions: { label: "导出选项", helpText: "下载格式(csv、xlsx)与文件名。谁可以下载由数据集对象上的导出权限决定" }, "exportOptions.formats": { - label: "Formats", - helpText: "The download formats offered. Left unset, both csv and xlsx are offered; an empty list turns downloads off." + label: "格式", + helpText: "可下载的格式。不设置时提供 csv 与 xlsx;空列表则关闭下载" }, "exportOptions.includeHeaders": { - label: "Include Headers", - helpText: "Put the column names in the first row of the downloaded file." + label: "包含表头", + helpText: "在下载文件的第一行写入列名" }, "exportOptions.fileNamePrefix": { - label: "File Name", - helpText: "The start of the downloaded file’s name, used instead of the report name." + label: "文件名", + helpText: "下载文件名的开头,用来代替报表名称" } } }, diff --git a/packages/platform-objects/src/apps/translations/zh-CN.source-hashes.generated.ts b/packages/platform-objects/src/apps/translations/zh-CN.source-hashes.generated.ts index 0e2c79e84ad..eee746ae3fc 100644 --- a/packages/platform-objects/src/apps/translations/zh-CN.source-hashes.generated.ts +++ b/packages/platform-objects/src/apps/translations/zh-CN.source-hashes.generated.ts @@ -18,19 +18,6 @@ */ export const zhCNGeneratedSourceHashes: Readonly> = { - "metadataForms.report.fields.dateRange.allowCustomRange.helpText": "eb95a6b1536e22fd", - "metadataForms.report.fields.dateRange.allowCustomRange.label": "a1fb0e1cf5fe5d8e", - "metadataForms.report.fields.dateRange.defaultRange.helpText": "03ccdb24491c9b5f", - "metadataForms.report.fields.dateRange.defaultRange.label": "c1f190468a0e2b35", - "metadataForms.report.fields.dateRange.dimension.helpText": "7f5dabb1a400cafb", - "metadataForms.report.fields.dateRange.dimension.label": "7cd8aace5973d40c", - "metadataForms.report.fields.description.helpText": "d5c5a151cf9ee5a3", - "metadataForms.report.fields.exportOptions.fileNamePrefix.helpText": "af18eb69f2b52809", - "metadataForms.report.fields.exportOptions.fileNamePrefix.label": "850d403550ac0496", - "metadataForms.report.fields.exportOptions.formats.helpText": "4f9fc2fe325dd041", - "metadataForms.report.fields.exportOptions.formats.label": "193cd91818d64ef7", - "metadataForms.report.fields.exportOptions.includeHeaders.helpText": "44cbc80015ff051d", - "metadataForms.report.fields.exportOptions.includeHeaders.label": "f114a4778c9727ae", "objects.sys_email.fields.message_id.label": "14cd089a4062f4b1", "objects.sys_email_template.fields.id.label": "00b0385c9c152888", "objects.sys_exchange_rate.fields.id.label": "00b0385c9c152888", diff --git a/ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts b/ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts index 6cf8708d7c4..16fced4d737 100644 --- a/ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts +++ b/ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts @@ -19,9 +19,7 @@ * for; it is hand-worded here and marked so at its row. The second is the * `report` form's wording leaves (objectstack#36373, marked ⟨36373⟩): the * report panel speaks business wording — 数据来源 / 分组 / 指标 — and this - * overlay is the only source of its residual rows' words. The `dateRange` and - * `exportOptions` children (objectstack#36447, marked ⟨36447⟩) are the first - * kind: shown by the report panel, not yet translated by the platform. + * overlay is the only source of its residual rows' words. * * ## Two depths, by who renders the form * @@ -350,8 +348,8 @@ export const ZH_CN_SPEC_FORMS: NonNullable = { // ⟨36373⟩ dateRange · exportOptions dateRange: { label: '日期范围', helpText: '默认时间段与自定义范围开关。按数据来源里的一个日期分组筛选;只有一个日期分组时可留空' }, exportOptions: { label: '导出选项', helpText: '下载格式(csv、xlsx)与文件名。谁可以下载由数据来源对象上的导出权限决定' }, - // ⟨36447⟩ the children `report.form.ts` declares for both composites. The - // platform bundle has no zh for them yet, and the report panel shows them. + // The children `report.form.ts` declares for both composites (objectstack#36447), + // copied from the platform zh-CN bundle like every unmarked row here. 'dateRange.dimension': { label: '日期字段', helpText: '时间段按数据来源里的哪个日期分组筛选;只有一个日期分组时可留空' }, 'dateRange.defaultRange': { label: '默认时间段', helpText: '打开报表时显示的时间段' }, 'dateRange.allowCustomRange': { label: '允许自定义范围', helpText: '允许使用者自己选择开始和结束日期' }, From 3739b8c1f09327162ea4e294f97996e5790259f2 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 02:12:07 +0000 Subject: [PATCH 07/10] test(i18n): move the positive-control count and hold the token predicate on its decided sentence Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB --- .../object-lifecycle-panel-echo-decisions.test.ts | 5 ++++- .../apps/translations/report-form-echo-decisions.test.ts | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/platform-objects/src/apps/translations/object-lifecycle-panel-echo-decisions.test.ts b/packages/platform-objects/src/apps/translations/object-lifecycle-panel-echo-decisions.test.ts index 2c60296e973..cbfbab4fffe 100644 --- a/packages/platform-objects/src/apps/translations/object-lifecycle-panel-echo-decisions.test.ts +++ b/packages/platform-objects/src/apps/translations/object-lifecycle-panel-echo-decisions.test.ts @@ -1313,7 +1313,10 @@ describe('#19403 round 10 — the verdicts, on the live bundles', () => { // 763 since #36366: `advanced` offers the `actionLayout` composite and // its `list` / `record` rows — three row labels, authored in all three // locales. - expect(translated.length, `${locale} positive control`).toBe(763); + // 769 since #36447: the report form declares the `dateRange` and + // `exportOptions` children — six row labels, authored in all three + // locales. + expect(translated.length, `${locale} positive control`).toBe(769); } // ⭐ DARK — the blindness, executable. On a synthetic two-locale catalog the // all-three predicate returns 0 while the per-locale one returns 1, so the diff --git a/packages/platform-objects/src/apps/translations/report-form-echo-decisions.test.ts b/packages/platform-objects/src/apps/translations/report-form-echo-decisions.test.ts index 86b39d0a7f8..73959fc2718 100644 --- a/packages/platform-objects/src/apps/translations/report-form-echo-decisions.test.ts +++ b/packages/platform-objects/src/apps/translations/report-form-echo-decisions.test.ts @@ -717,9 +717,12 @@ describe('#19403 round 9 — machine tokens, and a guard that can say NO', () => }); it('⭐ the token predicate can say NO — and a bare `includes` could not', () => { - // The English source spells it `ANDed`, so the bare token is NOT in it — a + // The English source spelled it `ANDed`, so the bare token is NOT in it — a // substring guard would report the source as carrying the token it does not. - const en = DECISIONS.find((d) => d.path === 'runtimeFilter' && d.prop === 'helpText')!.en; + // #36447 reworded that source into business terms (it no longer carries + // `AND` at all), so the predicate is held on the sentence it was decided + // against, kept here as a literal. + const en = 'Render-time scope filter, ANDed at query time'; expect(en.includes('AND')).toBe(true); expect(carriesToken(en, 'AND')).toBe(false); expect(carriesToken('以 AND 方式并入', 'AND')).toBe(true); From 55fd241386369af714291b56b18dd73db92e1f09 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 02:16:28 +0000 Subject: [PATCH 08/10] test(ui): the report held-edit and block-picker pins read the reworded row labels Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB --- ...nspector.blockDatasetPicker-11601.test.tsx | 4 ++-- ...InterfacesPillar.reportHeld-27785.test.tsx | 22 +++++++++---------- ...terfacesPillar.reportJoined-29022.test.tsx | 8 +++---- .../metadataError.reportHeld-27785.test.ts | 10 ++++----- .../metadataError.reportHeld-29022.test.ts | 2 +- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/ui/packages/app-shell/src/views/metadata-admin/inspectors/ReportDefaultInspector.blockDatasetPicker-11601.test.tsx b/ui/packages/app-shell/src/views/metadata-admin/inspectors/ReportDefaultInspector.blockDatasetPicker-11601.test.tsx index 2bfdb4594d6..f3610d6e080 100644 --- a/ui/packages/app-shell/src/views/metadata-admin/inspectors/ReportDefaultInspector.blockDatasetPicker-11601.test.tsx +++ b/ui/packages/app-shell/src/views/metadata-admin/inspectors/ReportDefaultInspector.blockDatasetPicker-11601.test.tsx @@ -113,7 +113,7 @@ function renderJoined() { describe('ReportDefaultInspector — a declared `ref:dataset` block row is the dataset picker (objectui#11601)', () => { it('offers the inspector catalog in the block row, as the author text', async () => { renderJoined(); - await userEvent.click(screen.getByRole('combobox', { name: 'Dataset' })); + await userEvent.click(screen.getByRole('combobox', { name: 'Data Source' })); const options = (await screen.findAllByRole('option')).map((o) => o.textContent); expect(options).toEqual([ 'Sales metrics (sales_metrics) — Won and open deals by stage', @@ -123,7 +123,7 @@ describe('ReportDefaultInspector — a declared `ref:dataset` block row is the d it('picking a dataset binds THAT block to the dataset name, and nothing else moves', async () => { const onPatch = renderJoined(); - await userEvent.click(screen.getByRole('combobox', { name: 'Dataset' })); + await userEvent.click(screen.getByRole('combobox', { name: 'Data Source' })); await userEvent.click(await screen.findByRole('option', { name: 'Support load (support_load)' })); expect(onPatch).toHaveBeenCalledTimes(1); expect(onPatch.mock.calls[0][0]).toStrictEqual({ diff --git a/ui/packages/app-shell/src/views/studio-design/InterfacesPillar.reportHeld-27785.test.tsx b/ui/packages/app-shell/src/views/studio-design/InterfacesPillar.reportHeld-27785.test.tsx index 04ad2e432fa..023fd211e05 100644 --- a/ui/packages/app-shell/src/views/studio-design/InterfacesPillar.reportHeld-27785.test.tsx +++ b/ui/packages/app-shell/src/views/studio-design/InterfacesPillar.reportHeld-27785.test.tsx @@ -166,15 +166,15 @@ async function pick(inspector: HTMLElement, label: string, option: string | RegE fireEvent.click(screen.getByRole('option', { name: option })); } -const orderClause = tFormat('engine.studio.held.listItemNeedsInput', 'en', { input: 'Order By', n: 1, list: 'Order' }); +const orderClause = tFormat('engine.studio.held.listItemNeedsInput', 'en', { input: 'Sort By', n: 1, list: 'Sort Order' }); const heldLine = (clause: string) => tFormat('engine.studio.held.line', 'en', { clause }); describe('an item just added to a report list property is held until it is filled in (objectstack#27785)', () => { it('Order → Add item, then a Label edit: nothing is sent, no red strip, the line names the Order By', async () => { const report = vi.fn(); mountPillar(report); - const inspector = await ready('Order'); - fireEvent.click(within(listRow(inspector, 'Order')).getByRole('button', { name: L('engine.form.addItem') })); + const inspector = await ready('Sort Order'); + fireEvent.click(within(listRow(inspector, 'Sort Order')).getByRole('button', { name: L('engine.form.addItem') })); editLabel(inspector, 'Sales v2'); await outlastDebounce(); @@ -187,8 +187,8 @@ describe('an item just added to a report list property is held until it is fille it('"Show me" focuses the list in the report properties', async () => { mountPillar(); - const inspector = await ready('Order'); - const row = listRow(inspector, 'Order'); + const inspector = await ready('Sort Order'); + const row = listRow(inspector, 'Sort Order'); fireEvent.click(within(row).getByRole('button', { name: L('engine.form.addItem') })); const show = await within(await screen.findByTestId('studio-held')).findByRole('button', { name: L('engine.studio.refusal.show'), @@ -201,14 +201,14 @@ describe('an item just added to a report list property is held until it is fille it('filling the Order By in sends one save carrying the item and the Label edit kept meanwhile', async () => { const report = vi.fn(); mountPillar(report); - const inspector = await ready('Order'); - const row = listRow(inspector, 'Order'); + const inspector = await ready('Sort Order'); + const row = listRow(inspector, 'Sort Order'); fireEvent.click(within(row).getByRole('button', { name: L('engine.form.addItem') })); editLabel(inspector, 'Sales v2'); await outlastDebounce(); expect(reportSaves()).toEqual([]); - const by = within(row).getByLabelText('Order By'); + const by = within(row).getByLabelText('Sort By'); fireEvent.change(by, { target: { value: 'stage' } }); fireEvent.blur(by); await waitFor(() => expect(reportSaves()).toHaveLength(1), { timeout: 4000 }); @@ -241,7 +241,7 @@ describe('an item just added to a report list property is held until it is fille // CONTROL: an edit to a report with nothing unfinished saves at once. it('a Label edit alone saves at once, with no line', async () => { mountPillar(); - const inspector = await ready('Order'); + const inspector = await ready('Sort Order'); editLabel(inspector, 'Sales v2'); await waitFor(() => expect(reportSaves()).toHaveLength(1), { timeout: 4000 }); expect(reportSaves()[0].label).toBe('Sales v2'); @@ -256,7 +256,7 @@ describe('a chart type picked before its axes is held until both axes are picked it('nothing is sent while an axis is unset; the line names it, and "Show me" focuses its picker', async () => { const report = vi.fn(); mountPillar(report); - const inspector = await ready('Order'); + const inspector = await ready('Sort Order'); await pick(inspector, L('engine.inspector.report.chartType'), L('engine.inspector.widget.type.bar')); await outlastDebounce(); @@ -281,7 +281,7 @@ describe('a chart type picked before its axes is held until both axes are picked it('both axes picked: one save carrying the whole chart, and the line clears', async () => { const report = vi.fn(); mountPillar(report); - const inspector = await ready('Order'); + const inspector = await ready('Sort Order'); await pick(inspector, L('engine.inspector.report.chartType'), L('engine.inspector.widget.type.bar')); await pick(inspector, x, 'Stage'); await pick(inspector, y, /^Revenue/); diff --git a/ui/packages/app-shell/src/views/studio-design/InterfacesPillar.reportJoined-29022.test.tsx b/ui/packages/app-shell/src/views/studio-design/InterfacesPillar.reportJoined-29022.test.tsx index f91d1934ce7..e31383fe13f 100644 --- a/ui/packages/app-shell/src/views/studio-design/InterfacesPillar.reportJoined-29022.test.tsx +++ b/ui/packages/app-shell/src/views/studio-design/InterfacesPillar.reportJoined-29022.test.tsx @@ -160,7 +160,7 @@ describe('a report switched to Joined is held until its first block is added (ob it('Report type = Joined, then a Label edit: nothing is sent, no red strip, the line names Blocks', async () => { const report = vi.fn(); mountPillar(report); - const inspector = await ready('Order'); + const inspector = await ready('Sort Order'); await pick(inspector, L('engine.inspector.report.type'), L('engine.inspector.report.type.joined')); editLabel(inspector, 'Sales v2'); await outlastDebounce(); @@ -174,7 +174,7 @@ describe('a report switched to Joined is held until its first block is added (ob it('"Show me" focuses the Blocks list in the report properties', async () => { mountPillar(); - const inspector = await ready('Order'); + const inspector = await ready('Sort Order'); await pick(inspector, L('engine.inspector.report.type'), L('engine.inspector.report.type.joined')); await within(inspector).findByText('Blocks', { selector: 'label' }); const row = listRow(inspector, 'Blocks'); @@ -189,7 +189,7 @@ describe('a report switched to Joined is held until its first block is added (ob it('Blocks → Add item hands the hold to the new block, still unsent', async () => { const report = vi.fn(); mountPillar(report); - const inspector = await ready('Order'); + const inspector = await ready('Sort Order'); await pick(inspector, L('engine.inspector.report.type'), L('engine.inspector.report.type.joined')); await within(inspector).findByText('Blocks', { selector: 'label' }); fireEvent.click(within(listRow(inspector, 'Blocks')).getByRole('button', { name: L('engine.form.addItem') })); @@ -205,7 +205,7 @@ describe('a report switched to Joined is held until its first block is added (ob // CONTROL: a type switch the door accepts saves at once. it('Report type = Tabular saves at once, with no line', async () => { mountPillar(); - const inspector = await ready('Order'); + const inspector = await ready('Sort Order'); await pick(inspector, L('engine.inspector.report.type'), L('engine.inspector.report.type.tabular')); await waitFor(() => expect(reportSaves()).toHaveLength(1), { timeout: 4000 }); expect(reportSaves()[0].type).toBe('tabular'); diff --git a/ui/packages/app-shell/src/views/studio-design/metadataError.reportHeld-27785.test.ts b/ui/packages/app-shell/src/views/studio-design/metadataError.reportHeld-27785.test.ts index 3794945c1d9..e738f7264a4 100644 --- a/ui/packages/app-shell/src/views/studio-design/metadataError.reportHeld-27785.test.ts +++ b/ui/packages/app-shell/src/views/studio-design/metadataError.reportHeld-27785.test.ts @@ -57,16 +57,16 @@ describe('the Interfaces pillar holds a report list item the spec refuses only f const body = summary({ order: [blank(...ORDER_INPUTS)] }); expect(reportRefusals(body)).toEqual(['order.0.by']); expect(reportHeldEdit(body, 'en')).toEqual({ - clause: listClause('Order By', 1, 'Order'), + clause: listClause('Sort By', 1, 'Sort Order'), target: null, - input: 'Order', + input: 'Sort Order', }); }); it('the stored `{}` the card saw is held the same way', () => { const body = summary({ order: [{ by: 'stage' }, {}] }); expect(reportRefusals(body)).toEqual(['order.1.by']); - expect(reportHeldEdit(body, 'en')?.clause).toBe(listClause('Order By', 2, 'Order')); + expect(reportHeldEdit(body, 'en')?.clause).toBe(listClause('Sort By', 2, 'Sort Order')); }); it('joined Blocks → Add item: held for the first input it needs, then for its Dataset once named', () => { @@ -79,7 +79,7 @@ describe('the Interfaces pillar holds a report list item the spec refuses only f }); const named = joined({ blocks: [{ ...blank(...BLOCK_INPUTS), name: 'won' }] }); expect(reportRefusals(named)).toEqual(['blocks.0.dataset']); - expect(reportHeldEdit(named, 'en')?.clause).toBe(listClause('Dataset', 1, 'Blocks')); + expect(reportHeldEdit(named, 'en')?.clause).toBe(listClause('Data Source', 1, 'Blocks')); }); // CONTROL: the hold is never stricter than the contract. @@ -152,7 +152,7 @@ describe('the Interfaces pillar holds a report chart the spec refuses only for u it('an unfinished list item is named before the chart', () => { const body = summary({ order: [{}], chart: { type: 'bar' } }); - expect(reportHeldEdit(body, 'en')?.clause).toBe(listClause('Order By', 1, 'Order')); + expect(reportHeldEdit(body, 'en')?.clause).toBe(listClause('Sort By', 1, 'Sort Order')); }); it('a report with no chart, or one the spec accepts, holds nothing', () => { diff --git a/ui/packages/app-shell/src/views/studio-design/metadataError.reportHeld-29022.test.ts b/ui/packages/app-shell/src/views/studio-design/metadataError.reportHeld-29022.test.ts index b803816225b..a82a34b113d 100644 --- a/ui/packages/app-shell/src/views/studio-design/metadataError.reportHeld-29022.test.ts +++ b/ui/packages/app-shell/src/views/studio-design/metadataError.reportHeld-29022.test.ts @@ -83,7 +83,7 @@ describe('a report switched to Joined before its first block is held (objectstac const body = { ...SWITCHED, blocks: [{ name: 'won' }] }; expect(reportRefusals(body)).toEqual(['blocks.0.dataset']); expect(reportHeldEdit(body, 'en')?.clause).toBe( - tFormat('engine.studio.held.listItemNeedsInput', 'en', { input: 'Dataset', n: 1, list: 'Blocks' }), + tFormat('engine.studio.held.listItemNeedsInput', 'en', { input: 'Data Source', n: 1, list: 'Blocks' }), ); }); From 4bbe1d079dd2df26c6e65b638f2e37aeb799ed4d Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 02:17:37 +0000 Subject: [PATCH 09/10] chore(changeset): cover the round-two rows and the console overlay Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB --- .changeset/36447-report-form-business-wording.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.changeset/36447-report-form-business-wording.md b/.changeset/36447-report-form-business-wording.md index f4580d6714a..0c89843094f 100644 --- a/.changeset/36447-report-form-business-wording.md +++ b/.changeset/36447-report-form-business-wording.md @@ -1,9 +1,12 @@ --- '@objectstack/spec': patch '@objectstack/platform-objects': patch +'@object-ui/app-shell': patch --- Clause-②: no Metadata-protocol: none -The report authoring form's English section descriptions and field hints now read in business terms (data source, grouping, metric) instead of the schema's own vocabulary (dataset, dimension, measure), matching what the Chinese report panel already says. The `order` row is labelled "Sort order". Only prose moved: no key, accepted value or section title changed, so no translation key moves. The platform's English metadata-form bundle is regenerated from the form. +The report authoring form now reads in business terms: data source, grouping, metric. It no longer uses the schema's own vocabulary (dataset, dimension, measure, "render-time", "ANDed"), and its English matches what the Chinese report panel says. Every section description and field hint the report panel draws was reworded. The `dateRange` and `exportOptions` composites now declare their children as form rows (Date Field, Default Period, Allow Custom Range; Formats, Include Headers, File Name), each with its own hint, so the panel no longer shows the schema descriptions for them. The Description row gained its own hint. The joined-block and sort row titles now read Data Source, Group By, Group Columns By, Metrics, Sort Order and Sort By, in the form and in the item schema `title` together. + +Only prose and form layout moved. No key, accepted value or section title changed, and nothing an author can write or validate is different. The platform metadata-form bundles are regenerated, with zh-CN, ja-JP and es-ES translations for the 13 new rows, and the console's zh-CN overlay carries the new rows too. From f2cbae0a02519de290478e4f85c8ed3c24156f7a Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 02:37:17 +0000 Subject: [PATCH 10/10] test(ui): pay the lint and formula first load at collection in two edited report pins check-test-source-alias judges every test file a change edits: the block-picker and joined-report pins reach the console's dynamic @objectstack/lint (and, for the inspector, @objectstack/formula) imports inside a case's clock. A module-top side-effect import moves that first load to collection. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB --- .../ReportDefaultInspector.blockDatasetPicker-11601.test.tsx | 5 +++++ .../InterfacesPillar.reportJoined-29022.test.tsx | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ui/packages/app-shell/src/views/metadata-admin/inspectors/ReportDefaultInspector.blockDatasetPicker-11601.test.tsx b/ui/packages/app-shell/src/views/metadata-admin/inspectors/ReportDefaultInspector.blockDatasetPicker-11601.test.tsx index f3610d6e080..d5a8de24eff 100644 --- a/ui/packages/app-shell/src/views/metadata-admin/inspectors/ReportDefaultInspector.blockDatasetPicker-11601.test.tsx +++ b/ui/packages/app-shell/src/views/metadata-admin/inspectors/ReportDefaultInspector.blockDatasetPicker-11601.test.tsx @@ -28,6 +28,11 @@ import { render, screen, cleanup, fireEvent } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { ReportDefaultInspector } from './ReportDefaultInspector'; import type { DatasetCatalogEntry } from '../previews/useDatasetCatalog'; +// The inspector reaches the console's dynamic `@objectstack/lint` and +// `@objectstack/formula` imports; their first load is paid here, at collection, +// never inside a case's clock (`check:test-source-alias`). +import '@objectstack/lint'; +import '@objectstack/formula'; type FormNode = { field?: unknown; fields?: unknown[] }; type FormShape = { sections?: Array<{ fields?: unknown[] }> }; diff --git a/ui/packages/app-shell/src/views/studio-design/InterfacesPillar.reportJoined-29022.test.tsx b/ui/packages/app-shell/src/views/studio-design/InterfacesPillar.reportJoined-29022.test.tsx index e31383fe13f..3f1c1a79edc 100644 --- a/ui/packages/app-shell/src/views/studio-design/InterfacesPillar.reportJoined-29022.test.tsx +++ b/ui/packages/app-shell/src/views/studio-design/InterfacesPillar.reportJoined-29022.test.tsx @@ -92,6 +92,10 @@ import { registerMetadataPreview } from '../metadata-admin/preview-registry'; import { registerMetadataDefaultInspector } from '../metadata-admin/default-inspector-registry'; import { ReportDefaultInspector } from '../metadata-admin/inspectors/ReportDefaultInspector'; import { t, tFormat } from '../metadata-admin/i18n'; +// The pillar reaches the console's dynamic `@objectstack/lint` imports; their +// first load is paid here, at collection, never inside a case's clock +// (`check:test-source-alias`). +import '@objectstack/lint'; // A stub canvas: the leaf needs a registered preview to be draft-editable, // and the canvas's own drawing is not what this file pins.