From bc41a77bc10780d418c1d4f8649c47bdf465c411 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 26 Nov 2026 10:52:59 +0000 Subject: [PATCH 1/2] fix(i18n): the compact toolbar hint says the same thing in every language The ten translated compactToolbar hints and the console zh-CN overlay now carry the whole reworded English hint. The hint and the describe name the popover "Display", the word the toolbar shows. The types jsdoc and the plugin-list README no longer put Refresh in the Display panel, and the view liveness note points at the current toolbarFlags lines. Co-authored-by: Claude Claude-Session: https://claude.ai/code/session_01Utp6CaA9KCLA988RAhFACC --- ...36874-compact-toolbar-hint-translations.md | 20 +++++++++++++++++++ content/docs/references/api/protocol.mdx | 4 ++-- content/docs/references/data/object.mdx | 2 +- content/docs/references/ui/view.mdx | 12 +++++------ .../ar.metadata-forms.generated.ts | 2 +- .../de.metadata-forms.generated.ts | 2 +- .../en.metadata-forms.generated.ts | 2 +- .../es-ES.metadata-forms.generated.ts | 2 +- .../fr.metadata-forms.generated.ts | 2 +- .../ja-JP.metadata-forms.generated.ts | 2 +- .../ko.metadata-forms.generated.ts | 2 +- .../pt-BR.metadata-forms.generated.ts | 2 +- .../ru.metadata-forms.generated.ts | 2 +- .../zh-CN.metadata-forms.generated.ts | 2 +- .../zh-Hant.metadata-forms.generated.ts | 2 +- packages/spec/liveness/view.json | 2 +- packages/spec/src/ui/view.form.ts | 2 +- packages/spec/src/ui/view.zod.ts | 2 +- .../metadata-admin/metadata-form-zh-cn.ts | 2 +- ui/packages/plugin-list/README.md | 3 ++- ui/packages/types/src/objectql.ts | 6 ++++-- 21 files changed, 50 insertions(+), 27 deletions(-) create mode 100644 .changeset/36874-compact-toolbar-hint-translations.md diff --git a/.changeset/36874-compact-toolbar-hint-translations.md b/.changeset/36874-compact-toolbar-hint-translations.md new file mode 100644 index 00000000000..38c514e2e64 --- /dev/null +++ b/.changeset/36874-compact-toolbar-hint-translations.md @@ -0,0 +1,20 @@ +--- +'@objectstack/spec': patch +'@objectstack/platform-objects': patch +'@object-ui/types': patch +'@object-ui/plugin-list': patch +'@object-ui/app-shell': patch +--- + +fix(i18n): the compact toolbar hint says the same thing in every language, and calls the popover "Display" + +Clause-②: no +Metadata-protocol: none + +The `compactToolbar` hint in Studio was reworded in English to say that the compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar. The ten translated hints (ar, de, es-ES, fr, ja-JP, ko, pt-BR, ru, zh-CN, zh-Hant) and the console's zh-CN overlay still carried only the old first sentence. They now carry the whole hint. + +The hint and the `compactToolbar` describe now name the popover by the word the list toolbar shows, "Display", not "View settings"; each translation uses its own locale's label for that button. + +The `compactToolbar` jsdoc in `@object-ui/types` and the `@object-ui/plugin-list` README no longer list Refresh in the Display panel: its footer holds Reset to view default and Export, and Refresh is a wide-toolbar button only. The view liveness ledger's `userActions` note points at the current `toolbarFlags` lines. + +Text only: no schema, key or behaviour change. diff --git a/content/docs/references/api/protocol.mdx b/content/docs/references/api/protocol.mdx index 3d206b515bc..10273e7f427 100644 --- a/content/docs/references/api/protocol.mdx +++ b/content/docs/references/api/protocol.mdx @@ -2004,7 +2004,7 @@ The published metadata item body, opaque by ruling (1C). Shape is the item's own | **searchableFields** | `string[]` | optional | Fields enabled for search | | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | @@ -2084,7 +2084,7 @@ The published metadata item body, opaque by ruling (1C). Shape is the item's own | **searchableFields** | `string[]` | optional | Fields enabled for search | | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | diff --git a/content/docs/references/data/object.mdx b/content/docs/references/data/object.mdx index 5d8afba9f90..a7caf445dd5 100644 --- a/content/docs/references/data/object.mdx +++ b/content/docs/references/data/object.mdx @@ -416,7 +416,7 @@ const result = ApiMethod.parse(data); | **searchableFields** | `string[]` | optional | Fields enabled for search | | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | diff --git a/content/docs/references/ui/view.mdx b/content/docs/references/ui/view.mdx index b93db063716..9a16e6bc97d 100644 --- a/content/docs/references/ui/view.mdx +++ b/content/docs/references/ui/view.mdx @@ -906,7 +906,7 @@ Map view configuration | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **userFilters** | `{ element?: Enum<'dropdown' \| 'tabs' \| 'toggle'>; fields?: object[]; tabs?: object[]; showAllRecords?: boolean; … }` | optional | End-user quick-filter bar: dropdown/toggle fields or tab presets. Omit to let the renderer derive filters from select/boolean fields | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | @@ -1383,7 +1383,7 @@ One column of a metadata type list | **searchableFields** | `string[]` | optional | Fields enabled for search | | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | @@ -1990,7 +1990,7 @@ Tab configuration for multi-tab view interface | **searchableFields** | `string[]` | optional | Fields enabled for search | | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | @@ -2070,7 +2070,7 @@ Tab configuration for multi-tab view interface | **searchableFields** | `string[]` | optional | Fields enabled for search | | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | @@ -2368,7 +2368,7 @@ This schema accepts one of the following structures: | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **userFilters** | `{ element?: Enum<'dropdown' \| 'tabs' \| 'toggle'>; fields?: object[]; tabs?: object[]; showAllRecords?: boolean; … }` | optional | End-user quick-filter bar: dropdown/toggle fields or tab presets. Omit to let the renderer derive filters from select/boolean fields | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | @@ -2557,7 +2557,7 @@ This schema accepts one of the following structures: | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **userFilters** | `{ element?: Enum<'dropdown' \| 'tabs' \| 'toggle'>; fields?: object[]; tabs?: object[]; showAllRecords?: boolean; … }` | optional | End-user quick-filter bar: dropdown/toggle fields or tab presets. Omit to let the renderer derive filters from select/boolean fields | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | 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 43316d31730..0fbad35e05e 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 @@ -1282,7 +1282,7 @@ export const arMetadataForms: NonNullable = { }, compactToolbar: { label: "شريط أدوات مضغوط", - helpText: "طيّ التجميع/اللون/الكثافة/إخفاء الحقول في نافذة منبثقة واحدة لإعدادات طريقة العرض" + helpText: "طيّ التجميع/اللون/الكثافة/إخفاء الحقول في نافذة «العرض» المنبثقة الواحدة. مفعّل افتراضيًا: عند الإغفال أو `true` يرسم العارض شريط الأدوات المضغوط هذا؛ و`false` يرسم شريط الأدوات العريض، بزر واحد لكل عنصر تحكم. لا يرسم شريط الأدوات المضغوط زر التحديث، لذا يتحكم `userActions.refresh` في شريط الأدوات العريض فقط؛ ولا يتأثر السحب للتحديث بأيٍّ من المفتاحين." }, rowHeight: { label: "ارتفاع الصف", 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 2418140afd6..f0cb7371b79 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 @@ -1282,7 +1282,7 @@ export const deMetadataForms: NonNullable = { }, compactToolbar: { label: "Kompakte Symbolleiste", - helpText: "Gruppierung/Farbe/Dichte/Felder ausblenden in einem einzigen Popover für Ansichtseinstellungen zusammenfassen" + helpText: "Gruppierung/Farbe/Dichte/Felder ausblenden in einem einzigen „Anzeige“-Popover zusammenfassen. Standardmäßig aktiv: Fehlt der Schlüssel oder ist er `true`, zeichnet der Renderer diese kompakte Symbolleiste; `false` zeichnet die breite Symbolleiste mit je einer Schaltfläche pro Steuerelement. Die kompakte Symbolleiste hat keine Schaltfläche „Aktualisieren“, daher steuert `userActions.refresh` nur die breite Symbolleiste; Ziehen zum Aktualisieren ist von keinem der beiden Schlüssel betroffen." }, rowHeight: { label: "Zeilenhöhe", 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 44c4749a0ef..799eabbe8a1 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 @@ -1282,7 +1282,7 @@ export const enMetadataForms: NonNullable = { }, compactToolbar: { label: "Compact Toolbar", - helpText: "Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key." + helpText: "Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key." }, rowHeight: { label: "Row Height", 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 489774cf924..a96e9dfdc7f 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 @@ -1282,7 +1282,7 @@ export const esESMetadataForms: NonNullable = }, compactToolbar: { label: "Barra compacta", - helpText: "Agrupa Grupo / Color / Densidad / Ocultar campos en un único menú emergente de «Configuración de la vista»" + helpText: "Agrupa Grupo / Color / Densidad / Ocultar campos en un único menú emergente de «Visualización». Activado por defecto: si se omite o es `true`, el renderizador dibuja esta barra compacta; `false` dibuja la barra ancha, con un botón por control. La barra compacta no dibuja el botón Actualizar, así que `userActions.refresh` solo afecta a la barra ancha; deslizar para actualizar no depende de ninguna de las dos claves." }, rowHeight: { label: "Altura de fila", 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 06130d95ac2..cd0517347b3 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 @@ -1282,7 +1282,7 @@ export const frMetadataForms: NonNullable = { }, compactToolbar: { label: "Barre d’outils compacte", - helpText: "Regrouper Groupe/Couleur/Densité/Masquer les champs dans une seule fenêtre de paramètres de la vue" + helpText: "Regrouper Groupe/Couleur/Densité/Masquer les champs dans une seule fenêtre « Affichage ». Activé par défaut : absent ou `true`, le moteur de rendu dessine cette barre d’outils compacte ; `false` dessine la barre d’outils large, avec un bouton par contrôle. La barre compacte ne dessine pas de bouton Actualiser, donc `userActions.refresh` ne régit que la barre large ; le tirer pour actualiser n’est affecté par aucune des deux clés." }, rowHeight: { label: "Hauteur de ligne", 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 ebb1443b29e..6dac4e84a25 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 @@ -1282,7 +1282,7 @@ export const jaJPMetadataForms: NonNullable = }, compactToolbar: { label: "コンパクトツールバー", - helpText: "グループ / 色 / 密度 / フィールド非表示を 1 つの「ビュー設定」ポップオーバーにまとめます" + helpText: "グループ / 色 / 密度 / フィールド非表示を 1 つの「表示」ポップオーバーにまとめます。既定でオン:省略または `true` のとき、レンダラーはこのコンパクトツールバーを描画し、`false` のときはコントロールごとにボタンが並ぶ幅広ツールバーを描画します。コンパクトツールバーには更新ボタンがないため、`userActions.refresh` が効くのは幅広ツールバーだけです。プルして更新はどちらのキーにも影響されません。" }, rowHeight: { label: "行の高さ", 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 700890fea29..e10fabb4751 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 @@ -1282,7 +1282,7 @@ export const koMetadataForms: NonNullable = { }, compactToolbar: { label: "간소한 도구 모음", - helpText: "그룹/색상/밀도/필드 숨기기를 하나의 뷰 설정 팝오버로 접기" + helpText: "그룹/색상/밀도/필드 숨기기를 하나의 '표시' 팝오버로 접기. 기본값은 켜짐: 생략하거나 `true`이면 렌더러가 이 간소한 도구 모음을 그리고, `false`이면 컨트롤마다 버튼이 하나씩 있는 넓은 도구 모음을 그립니다. 간소한 도구 모음에는 새로 고침 버튼이 없으므로 `userActions.refresh`는 넓은 도구 모음에만 적용됩니다. 당겨서 새로 고침은 두 키 모두의 영향을 받지 않습니다." }, rowHeight: { label: "행 높이", 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 473a97654d0..4e17e077a87 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 @@ -1282,7 +1282,7 @@ export const ptBRMetadataForms: NonNullable = }, compactToolbar: { label: "Barra de ferramentas compacta", - helpText: "Reunir Agrupar/Cor/Densidade/Ocultar campos em um único popover de configurações da visualização" + helpText: "Reunir Agrupar/Cor/Densidade/Ocultar campos em um único popover “Exibição”. Ativado por padrão: omitido ou `true`, o renderizador desenha esta barra de ferramentas compacta; `false` desenha a barra de ferramentas larga, com um botão por controle. A barra compacta não desenha o botão Atualizar, portanto `userActions.refresh` rege apenas a barra larga; puxar para atualizar não é afetado por nenhuma das duas chaves." }, rowHeight: { label: "Altura da linha", 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 62e6b87e23e..9aacf810e9d 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 @@ -1282,7 +1282,7 @@ export const ruMetadataForms: NonNullable = { }, compactToolbar: { label: "Компактная панель инструментов", - helpText: "Свернуть «Группировка/Цвет/Плотность/Скрыть поля» в одно всплывающее окно настроек представления" + helpText: "Свернуть «Группировка/Цвет/Плотность/Скрыть поля» в одно всплывающее окно «Отображение». Включено по умолчанию: если ключ опущен или равен `true`, отрисовщик рисует эту компактную панель инструментов; `false` рисует широкую панель, по одной кнопке на каждый элемент управления. В компактной панели нет кнопки «Обновить», поэтому `userActions.refresh` управляет только широкой панелью; обновление потягиванием не зависит ни от одного из ключей." }, rowHeight: { label: "Высота строки", 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 a560d1b6281..a48c0187036 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 @@ -1282,7 +1282,7 @@ export const zhCNMetadataForms: NonNullable = }, compactToolbar: { label: "紧凑工具栏", - helpText: "将分组 / 颜色 / 密度 / 隐藏字段收进同一个“视图设置”弹出框" + helpText: "将分组 / 颜色 / 密度 / 隐藏字段收进同一个“显示”弹出框。默认开启:省略或为 `true` 时,渲染器绘制这个紧凑工具栏;为 `false` 时绘制宽工具栏,每个控件一个按钮。紧凑工具栏不绘制刷新按钮,因此 `userActions.refresh` 只作用于宽工具栏;下拉刷新不受这两个键影响。" }, rowHeight: { label: "行高", 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 b1851fb0e28..9775dae3d8c 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 @@ -1282,7 +1282,7 @@ export const zhHantMetadataForms: NonNullable }, compactToolbar: { label: "緊湊工具列", - helpText: "將分組 / 顏色 / 密度 / 隱藏欄位收進同一個「檢視設定」彈出框" + helpText: "將分組 / 顏色 / 密度 / 隱藏欄位收進同一個「顯示」彈出框。預設開啟:省略或為 `true` 時,轉譯器繪製這個緊湊工具列;為 `false` 時繪製寬工具列,每個控制項一個按鈕。緊湊工具列不繪製重新整理按鈕,因此 `userActions.refresh` 只作用於寬工具列;下拉重新整理不受這兩個鍵影響。" }, rowHeight: { label: "列高", diff --git a/packages/spec/liveness/view.json b/packages/spec/liveness/view.json index 30464a0e1ef..c6ab9045e6c 100644 --- a/packages/spec/liveness/view.json +++ b/packages/spec/liveness/view.json @@ -237,7 +237,7 @@ }, "userActions": { "status": "live", - "note": "objectui: ListView.tsx:374 toolbarFlags (search/sort/filters/refresh/density/hide-fields/group/color + addRecordForm). Sub-key userActions.refresh drives only the wide toolbar's Refresh button (compactToolbar: false; objectui#2634): read as showRefresh at ui/packages/plugin-list/src/ListView.tsx:2710 and drawn at :8125 behind !compactToolbar, measured at 5c2e34cdb; the default (compact) toolbar draws no Refresh, and pull-to-refresh never reads the key (#36353). Sub-key userActions.buttons has NO reader (audit L20, re-verified objectui@fb35e48) — dead sub-surface, enforce-or-remove worklist." + "note": "objectui: ListView.tsx:2682-2736 toolbarFlags (search/sort/filters/refresh/density/hide-fields/group/color + addRecordForm), re-read 2026-11-26. Sub-key userActions.refresh drives only the wide toolbar's Refresh button (compactToolbar: false; objectui#2634): read as showRefresh at ui/packages/plugin-list/src/ListView.tsx:2717 and drawn at :8171 behind !compactToolbar, measured at 54ea3c8c3; the default (compact) toolbar draws no Refresh, and pull-to-refresh never reads the key (#36353). Sub-key userActions.buttons has NO reader (audit L20, re-verified objectui@fb35e48) — dead sub-surface, enforce-or-remove worklist." }, "appearance": { "status": "live", diff --git a/packages/spec/src/ui/view.form.ts b/packages/spec/src/ui/view.form.ts index c5b13daf733..f32dfa032e2 100644 --- a/packages/spec/src/ui/view.form.ts +++ b/packages/spec/src/ui/view.form.ts @@ -106,7 +106,7 @@ export const viewForm = defineForm({ fields: [ { field: 'resizable', colSpan: 1, helpText: 'Enable column resizing' }, // `striped` / `bordered` inputs removed with the keys (#7176 — pass-through-only, retired). - { field: 'compactToolbar', colSpan: 1, helpText: 'Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key.' }, + { field: 'compactToolbar', colSpan: 1, helpText: 'Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key.' }, { field: 'rowHeight', colSpan: 1, helpText: 'Row height / density setting' }, { field: 'selection', diff --git a/packages/spec/src/ui/view.zod.ts b/packages/spec/src/ui/view.zod.ts index 088ddb94688..70a1b1c83eb 100644 --- a/packages/spec/src/ui/view.zod.ts +++ b/packages/spec/src/ui/view.zod.ts @@ -3696,7 +3696,7 @@ const ListViewShapeSchema = lazySchema(() => strictObject({ /** Grid Features */ resizable: z.boolean().optional().describe('Enable column resizing'), - compactToolbar: z.boolean().optional().describe('Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key.'), + compactToolbar: z.boolean().optional().describe('Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key.'), /** Selection */ selection: SelectionConfigSchema.optional().describe('Row selection configuration'), 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 10a5127ab05..cab42522d46 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 @@ -440,7 +440,7 @@ export const ZH_CN_SPEC_FORMS: NonNullable = { 'sort.order': { label: '排序方向' }, searchableFields: { label: '可搜索字段', helpText: '可用于快速搜索的字段名' }, resizable: { label: '可调整大小', helpText: '允许调整列宽' }, - compactToolbar: { label: '紧凑工具栏', helpText: '将分组 / 颜色 / 密度 / 隐藏字段收进同一个“视图设置”弹出框' }, + compactToolbar: { label: '紧凑工具栏', helpText: '将分组 / 颜色 / 密度 / 隐藏字段收进同一个“显示”弹出框。默认开启:省略或为 `true` 时,渲染器绘制这个紧凑工具栏;为 `false` 时绘制宽工具栏,每个控件一个按钮。紧凑工具栏不绘制刷新按钮,因此 `userActions.refresh` 只作用于宽工具栏;下拉刷新不受这两个键影响。' }, rowHeight: { label: '行高', helpText: '行高 / 密度设置' }, selection: { label: '选择', helpText: '行选择配置' }, 'selection.type': { label: '类型', helpText: '选择模式' }, diff --git a/ui/packages/plugin-list/README.md b/ui/packages/plugin-list/README.md index e9e106ebd19..66064da13f4 100644 --- a/ui/packages/plugin-list/README.md +++ b/ui/packages/plugin-list/README.md @@ -24,7 +24,8 @@ The toolbar and cell renderers are tuned for low visual noise on dense tables: Display and Search. **Display** holds the rest — a Layout row (the visualization switcher, when the list offers more than one), Group, Row color, Hide fields, Density, a session-only Row numbers switch and an Edit - inline switch, with Reset to view default, Refresh and Export in its footer. + inline switch, with Reset to view default and Export in its footer. The + compact toolbar draws no Refresh button; Refresh is a wide-toolbar button. Its trigger counts the settings that differ from the view's own. Each control saves what its own toolbar button saves; the panel stores nothing of its own. A view that sets `compactToolbar: false` gets one toolbar diff --git a/ui/packages/types/src/objectql.ts b/ui/packages/types/src/objectql.ts index 2d0e14d04f9..e2676246312 100644 --- a/ui/packages/types/src/objectql.ts +++ b/ui/packages/types/src/objectql.ts @@ -2947,8 +2947,10 @@ export interface NamedListView { * Collapse the toolbar's settings into the single "Display" popover: the * bar keeps Filter, Sort, Display and Search, and Display carries the * layout switcher, Group, Color, Hide fields, Density, Row numbers, Edit - * inline, Refresh and Export. On unless a view writes `false`, which keeps - * one toolbar button per control (objectui#12423). + * inline, Reset to view default and Export. The compact toolbar draws no + * Refresh button anywhere: Refresh is a wide-toolbar button only, so + * `userActions.refresh` changes nothing here. On unless a view writes + * `false`, which keeps one toolbar button per control (objectui#12423). * @default true */ compactToolbar?: boolean; From f4ae8eda41b79f88ecb986bde4d175386ffcf29c Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 26 Nov 2026 11:39:24 +0000 Subject: [PATCH 2/2] fix(i18n): name the popover "View settings", as the toolbar does The popover's button reads list.viewSettings ("View settings"); nothing reads list.display. The describe and the form helpText keep "View settings", and each translation uses its locale's list.viewSettings label. The types jsdoc and the plugin-list README describe the panel as it is: name, columns, Layout, Group, Row height and Row color, with Save, Restore defaults and Export in the footer. ko and es use the UI's own words for refresh and pull to refresh. Co-authored-by: Claude Claude-Session: https://claude.ai/code/session_01Utp6CaA9KCLA988RAhFACC --- .../36874-compact-toolbar-hint-translations.md | 6 +++--- content/docs/references/api/protocol.mdx | 4 ++-- content/docs/references/data/object.mdx | 2 +- content/docs/references/ui/view.mdx | 12 ++++++------ .../apps/translations/ar.metadata-forms.generated.ts | 2 +- .../apps/translations/de.metadata-forms.generated.ts | 2 +- .../apps/translations/en.metadata-forms.generated.ts | 2 +- .../translations/es-ES.metadata-forms.generated.ts | 2 +- .../apps/translations/fr.metadata-forms.generated.ts | 2 +- .../translations/ja-JP.metadata-forms.generated.ts | 2 +- .../apps/translations/ko.metadata-forms.generated.ts | 2 +- .../translations/pt-BR.metadata-forms.generated.ts | 2 +- .../apps/translations/ru.metadata-forms.generated.ts | 2 +- .../translations/zh-CN.metadata-forms.generated.ts | 2 +- .../translations/zh-Hant.metadata-forms.generated.ts | 2 +- packages/spec/src/ui/view.form.ts | 2 +- packages/spec/src/ui/view.zod.ts | 2 +- .../src/views/metadata-admin/metadata-form-zh-cn.ts | 2 +- ui/packages/plugin-list/README.md | 12 ++++++------ ui/packages/types/src/objectql.ts | 10 +++++----- 20 files changed, 37 insertions(+), 37 deletions(-) diff --git a/.changeset/36874-compact-toolbar-hint-translations.md b/.changeset/36874-compact-toolbar-hint-translations.md index 38c514e2e64..a8cb0a289e3 100644 --- a/.changeset/36874-compact-toolbar-hint-translations.md +++ b/.changeset/36874-compact-toolbar-hint-translations.md @@ -6,15 +6,15 @@ '@object-ui/app-shell': patch --- -fix(i18n): the compact toolbar hint says the same thing in every language, and calls the popover "Display" +fix(i18n): the compact toolbar hint says the same thing in every language Clause-②: no Metadata-protocol: none The `compactToolbar` hint in Studio was reworded in English to say that the compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar. The ten translated hints (ar, de, es-ES, fr, ja-JP, ko, pt-BR, ru, zh-CN, zh-Hant) and the console's zh-CN overlay still carried only the old first sentence. They now carry the whole hint. -The hint and the `compactToolbar` describe now name the popover by the word the list toolbar shows, "Display", not "View settings"; each translation uses its own locale's label for that button. +Each translation names the popover by its own locale's label for the "View settings" button (`list.viewSettings`). -The `compactToolbar` jsdoc in `@object-ui/types` and the `@object-ui/plugin-list` README no longer list Refresh in the Display panel: its footer holds Reset to view default and Export, and Refresh is a wide-toolbar button only. The view liveness ledger's `userActions` note points at the current `toolbarFlags` lines. +The `compactToolbar` jsdoc in `@object-ui/types` and the `@object-ui/plugin-list` README describe the View settings popover as it is: the view's name, its columns, and Layout, Group, Row height and Row color where offered, with Save, Restore defaults and Export in its footer. Neither lists Refresh there any more: Refresh is a wide-toolbar button only. The view liveness ledger's `userActions` note points at the current `toolbarFlags` lines. Text only: no schema, key or behaviour change. diff --git a/content/docs/references/api/protocol.mdx b/content/docs/references/api/protocol.mdx index 10273e7f427..3d206b515bc 100644 --- a/content/docs/references/api/protocol.mdx +++ b/content/docs/references/api/protocol.mdx @@ -2004,7 +2004,7 @@ The published metadata item body, opaque by ruling (1C). Shape is the item's own | **searchableFields** | `string[]` | optional | Fields enabled for search | | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | @@ -2084,7 +2084,7 @@ The published metadata item body, opaque by ruling (1C). Shape is the item's own | **searchableFields** | `string[]` | optional | Fields enabled for search | | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | diff --git a/content/docs/references/data/object.mdx b/content/docs/references/data/object.mdx index a7caf445dd5..5d8afba9f90 100644 --- a/content/docs/references/data/object.mdx +++ b/content/docs/references/data/object.mdx @@ -416,7 +416,7 @@ const result = ApiMethod.parse(data); | **searchableFields** | `string[]` | optional | Fields enabled for search | | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | diff --git a/content/docs/references/ui/view.mdx b/content/docs/references/ui/view.mdx index 9a16e6bc97d..b93db063716 100644 --- a/content/docs/references/ui/view.mdx +++ b/content/docs/references/ui/view.mdx @@ -906,7 +906,7 @@ Map view configuration | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **userFilters** | `{ element?: Enum<'dropdown' \| 'tabs' \| 'toggle'>; fields?: object[]; tabs?: object[]; showAllRecords?: boolean; … }` | optional | End-user quick-filter bar: dropdown/toggle fields or tab presets. Omit to let the renderer derive filters from select/boolean fields | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | @@ -1383,7 +1383,7 @@ One column of a metadata type list | **searchableFields** | `string[]` | optional | Fields enabled for search | | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | @@ -1990,7 +1990,7 @@ Tab configuration for multi-tab view interface | **searchableFields** | `string[]` | optional | Fields enabled for search | | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | @@ -2070,7 +2070,7 @@ Tab configuration for multi-tab view interface | **searchableFields** | `string[]` | optional | Fields enabled for search | | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | @@ -2368,7 +2368,7 @@ This schema accepts one of the following structures: | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **userFilters** | `{ element?: Enum<'dropdown' \| 'tabs' \| 'toggle'>; fields?: object[]; tabs?: object[]; showAllRecords?: boolean; … }` | optional | End-user quick-filter bar: dropdown/toggle fields or tab presets. Omit to let the renderer derive filters from select/boolean fields | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | @@ -2557,7 +2557,7 @@ This schema accepts one of the following structures: | **filterableFields** | `never` | optional | [REMOVED] `view.list.filterableFields` was removed in @objectstack/spec 18 (ADR-0049 enforce-or-remove) — the key was declared as a shorthand for `userFilters.fields` (the quick-filter bar), but the one renderer that read it used it as a whitelist of the fields the Filter panel offers instead, so one key carried two meanings and drew no quick filter. Delete the key; no per-view Filter-panel whitelist replaces it. For a curated end-user filter bar, declare `userFilters: { element: 'dropdown', fields: [{ field: '' }] }`. The Filter panel offers every field the user may read: field read security decides, and a field the object definition marks `hidden: true` is not offered. Run `os migrate meta --from 17` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. | | **userFilters** | `{ element?: Enum<'dropdown' \| 'tabs' \| 'toggle'>; fields?: object[]; tabs?: object[]; showAllRecords?: boolean; … }` | optional | End-user quick-filter bar: dropdown/toggle fields or tab presets. Omit to let the renderer derive filters from select/boolean fields | | **resizable** | `boolean` | optional | Enable column resizing | -| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | +| **compactToolbar** | `boolean` | optional | Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key. | | **selection** | `{ type?: Enum<'none' \| 'single' \| 'multiple'> }` | optional | Row selection configuration | | **navigation** | `{ mode?: Enum<'drawer' \| 'page' \| 'new_window' \| 'none'>; preventNavigation?: boolean; openNewTab?: boolean; size?: Enum<'auto' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'>; … }` | optional | Configuration for item click navigation: the drawer size, and `preventNavigation` for a list whose rows open nothing (`mode` is deprecated — the record name opens the page, the hover icon the side panel) | | **pagination** | `{ pageSize?: integer; pageSizeOptions?: integer[] }` | optional | Pagination configuration | 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 0fbad35e05e..02e0fda1765 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 @@ -1282,7 +1282,7 @@ export const arMetadataForms: NonNullable = { }, compactToolbar: { label: "شريط أدوات مضغوط", - helpText: "طيّ التجميع/اللون/الكثافة/إخفاء الحقول في نافذة «العرض» المنبثقة الواحدة. مفعّل افتراضيًا: عند الإغفال أو `true` يرسم العارض شريط الأدوات المضغوط هذا؛ و`false` يرسم شريط الأدوات العريض، بزر واحد لكل عنصر تحكم. لا يرسم شريط الأدوات المضغوط زر التحديث، لذا يتحكم `userActions.refresh` في شريط الأدوات العريض فقط؛ ولا يتأثر السحب للتحديث بأيٍّ من المفتاحين." + helpText: "طيّ التجميع/اللون/الكثافة/إخفاء الحقول في نافذة «إعدادات العرض» المنبثقة الواحدة. مفعّل افتراضيًا: عند الإغفال أو `true` يرسم العارض شريط الأدوات المضغوط هذا؛ و`false` يرسم شريط الأدوات العريض، بزر واحد لكل عنصر تحكم. لا يرسم شريط الأدوات المضغوط زر التحديث، لذا يتحكم `userActions.refresh` في شريط الأدوات العريض فقط؛ ولا يتأثر السحب للتحديث بأيٍّ من المفتاحين." }, rowHeight: { label: "ارتفاع الصف", 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 f0cb7371b79..0b1ec7d8760 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 @@ -1282,7 +1282,7 @@ export const deMetadataForms: NonNullable = { }, compactToolbar: { label: "Kompakte Symbolleiste", - helpText: "Gruppierung/Farbe/Dichte/Felder ausblenden in einem einzigen „Anzeige“-Popover zusammenfassen. Standardmäßig aktiv: Fehlt der Schlüssel oder ist er `true`, zeichnet der Renderer diese kompakte Symbolleiste; `false` zeichnet die breite Symbolleiste mit je einer Schaltfläche pro Steuerelement. Die kompakte Symbolleiste hat keine Schaltfläche „Aktualisieren“, daher steuert `userActions.refresh` nur die breite Symbolleiste; Ziehen zum Aktualisieren ist von keinem der beiden Schlüssel betroffen." + helpText: "Gruppierung/Farbe/Dichte/Felder ausblenden in einem einzigen „Ansichtseinstellungen“-Popover zusammenfassen. Standardmäßig aktiv: Fehlt der Schlüssel oder ist er `true`, zeichnet der Renderer diese kompakte Symbolleiste; `false` zeichnet die breite Symbolleiste mit je einer Schaltfläche pro Steuerelement. Die kompakte Symbolleiste hat keine Schaltfläche „Aktualisieren“, daher steuert `userActions.refresh` nur die breite Symbolleiste; Ziehen zum Aktualisieren ist von keinem der beiden Schlüssel betroffen." }, rowHeight: { label: "Zeilenhöhe", 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 799eabbe8a1..44c4749a0ef 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 @@ -1282,7 +1282,7 @@ export const enMetadataForms: NonNullable = { }, compactToolbar: { label: "Compact Toolbar", - helpText: "Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key." + helpText: "Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key." }, rowHeight: { label: "Row Height", 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 a96e9dfdc7f..0d9a22afde1 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 @@ -1282,7 +1282,7 @@ export const esESMetadataForms: NonNullable = }, compactToolbar: { label: "Barra compacta", - helpText: "Agrupa Grupo / Color / Densidad / Ocultar campos en un único menú emergente de «Visualización». Activado por defecto: si se omite o es `true`, el renderizador dibuja esta barra compacta; `false` dibuja la barra ancha, con un botón por control. La barra compacta no dibuja el botón Actualizar, así que `userActions.refresh` solo afecta a la barra ancha; deslizar para actualizar no depende de ninguna de las dos claves." + helpText: "Agrupa Grupo / Color / Densidad / Ocultar campos en un único menú emergente de «Ajustes de vista». Activado por defecto: si se omite o es `true`, el renderizador dibuja esta barra compacta; `false` dibuja la barra ancha, con un botón por control. La barra compacta no dibuja el botón Actualizar, así que `userActions.refresh` solo afecta a la barra ancha; «Tirar para actualizar» no depende de ninguna de las dos claves." }, rowHeight: { label: "Altura de fila", 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 cd0517347b3..a52483834b0 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 @@ -1282,7 +1282,7 @@ export const frMetadataForms: NonNullable = { }, compactToolbar: { label: "Barre d’outils compacte", - helpText: "Regrouper Groupe/Couleur/Densité/Masquer les champs dans une seule fenêtre « Affichage ». Activé par défaut : absent ou `true`, le moteur de rendu dessine cette barre d’outils compacte ; `false` dessine la barre d’outils large, avec un bouton par contrôle. La barre compacte ne dessine pas de bouton Actualiser, donc `userActions.refresh` ne régit que la barre large ; le tirer pour actualiser n’est affecté par aucune des deux clés." + helpText: "Regrouper Groupe/Couleur/Densité/Masquer les champs dans une seule fenêtre « Paramètres de la vue ». Activé par défaut : absent ou `true`, le moteur de rendu dessine cette barre d’outils compacte ; `false` dessine la barre d’outils large, avec un bouton par contrôle. La barre compacte ne dessine pas de bouton Actualiser, donc `userActions.refresh` ne régit que la barre large ; le tirer pour actualiser n’est affecté par aucune des deux clés." }, rowHeight: { label: "Hauteur de ligne", 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 6dac4e84a25..d71292e0255 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 @@ -1282,7 +1282,7 @@ export const jaJPMetadataForms: NonNullable = }, compactToolbar: { label: "コンパクトツールバー", - helpText: "グループ / 色 / 密度 / フィールド非表示を 1 つの「表示」ポップオーバーにまとめます。既定でオン:省略または `true` のとき、レンダラーはこのコンパクトツールバーを描画し、`false` のときはコントロールごとにボタンが並ぶ幅広ツールバーを描画します。コンパクトツールバーには更新ボタンがないため、`userActions.refresh` が効くのは幅広ツールバーだけです。プルして更新はどちらのキーにも影響されません。" + helpText: "グループ / 色 / 密度 / フィールド非表示を 1 つの「ビュー設定」ポップオーバーにまとめます。既定でオン:省略または `true` のとき、レンダラーはこのコンパクトツールバーを描画し、`false` のときはコントロールごとにボタンが並ぶ幅広ツールバーを描画します。コンパクトツールバーには更新ボタンがないため、`userActions.refresh` が効くのは幅広ツールバーだけです。プルして更新はどちらのキーにも影響されません。" }, rowHeight: { label: "行の高さ", 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 e10fabb4751..62e14b701f1 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 @@ -1282,7 +1282,7 @@ export const koMetadataForms: NonNullable = { }, compactToolbar: { label: "간소한 도구 모음", - helpText: "그룹/색상/밀도/필드 숨기기를 하나의 '표시' 팝오버로 접기. 기본값은 켜짐: 생략하거나 `true`이면 렌더러가 이 간소한 도구 모음을 그리고, `false`이면 컨트롤마다 버튼이 하나씩 있는 넓은 도구 모음을 그립니다. 간소한 도구 모음에는 새로 고침 버튼이 없으므로 `userActions.refresh`는 넓은 도구 모음에만 적용됩니다. 당겨서 새로 고침은 두 키 모두의 영향을 받지 않습니다." + helpText: "그룹/색상/밀도/필드 숨기기를 하나의 '보기 설정' 팝오버로 접기. 기본값은 켜짐: 생략하거나 `true`이면 렌더러가 이 간소한 도구 모음을 그리고, `false`이면 컨트롤마다 버튼이 하나씩 있는 넓은 도구 모음을 그립니다. 간소한 도구 모음에는 새로고침 버튼이 없으므로 `userActions.refresh`는 넓은 도구 모음에만 적용됩니다. 당겨서 새로고침은 두 키 모두의 영향을 받지 않습니다." }, rowHeight: { label: "행 높이", 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 4e17e077a87..d697063edf7 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 @@ -1282,7 +1282,7 @@ export const ptBRMetadataForms: NonNullable = }, compactToolbar: { label: "Barra de ferramentas compacta", - helpText: "Reunir Agrupar/Cor/Densidade/Ocultar campos em um único popover “Exibição”. Ativado por padrão: omitido ou `true`, o renderizador desenha esta barra de ferramentas compacta; `false` desenha a barra de ferramentas larga, com um botão por controle. A barra compacta não desenha o botão Atualizar, portanto `userActions.refresh` rege apenas a barra larga; puxar para atualizar não é afetado por nenhuma das duas chaves." + helpText: "Reunir Agrupar/Cor/Densidade/Ocultar campos em um único popover “Configurações da visualização”. Ativado por padrão: omitido ou `true`, o renderizador desenha esta barra de ferramentas compacta; `false` desenha a barra de ferramentas larga, com um botão por controle. A barra compacta não desenha o botão Atualizar, portanto `userActions.refresh` rege apenas a barra larga; puxar para atualizar não é afetado por nenhuma das duas chaves." }, rowHeight: { label: "Altura da linha", 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 9aacf810e9d..6ed626dfe4f 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 @@ -1282,7 +1282,7 @@ export const ruMetadataForms: NonNullable = { }, compactToolbar: { label: "Компактная панель инструментов", - helpText: "Свернуть «Группировка/Цвет/Плотность/Скрыть поля» в одно всплывающее окно «Отображение». Включено по умолчанию: если ключ опущен или равен `true`, отрисовщик рисует эту компактную панель инструментов; `false` рисует широкую панель, по одной кнопке на каждый элемент управления. В компактной панели нет кнопки «Обновить», поэтому `userActions.refresh` управляет только широкой панелью; обновление потягиванием не зависит ни от одного из ключей." + helpText: "Свернуть «Группировка/Цвет/Плотность/Скрыть поля» в одно всплывающее окно «Настройки представления». Включено по умолчанию: если ключ опущен или равен `true`, отрисовщик рисует эту компактную панель инструментов; `false` рисует широкую панель, по одной кнопке на каждый элемент управления. В компактной панели нет кнопки «Обновить», поэтому `userActions.refresh` управляет только широкой панелью; обновление потягиванием не зависит ни от одного из ключей." }, rowHeight: { label: "Высота строки", 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 a48c0187036..8543ff1ceb0 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 @@ -1282,7 +1282,7 @@ export const zhCNMetadataForms: NonNullable = }, compactToolbar: { label: "紧凑工具栏", - helpText: "将分组 / 颜色 / 密度 / 隐藏字段收进同一个“显示”弹出框。默认开启:省略或为 `true` 时,渲染器绘制这个紧凑工具栏;为 `false` 时绘制宽工具栏,每个控件一个按钮。紧凑工具栏不绘制刷新按钮,因此 `userActions.refresh` 只作用于宽工具栏;下拉刷新不受这两个键影响。" + helpText: "将分组 / 颜色 / 密度 / 隐藏字段收进同一个“视图设置”弹出框。默认开启:省略或为 `true` 时,渲染器绘制这个紧凑工具栏;为 `false` 时绘制宽工具栏,每个控件一个按钮。紧凑工具栏不绘制刷新按钮,因此 `userActions.refresh` 只作用于宽工具栏;下拉刷新不受这两个键影响。" }, rowHeight: { label: "行高", 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 9775dae3d8c..8c16e12edae 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 @@ -1282,7 +1282,7 @@ export const zhHantMetadataForms: NonNullable }, compactToolbar: { label: "緊湊工具列", - helpText: "將分組 / 顏色 / 密度 / 隱藏欄位收進同一個「顯示」彈出框。預設開啟:省略或為 `true` 時,轉譯器繪製這個緊湊工具列;為 `false` 時繪製寬工具列,每個控制項一個按鈕。緊湊工具列不繪製重新整理按鈕,因此 `userActions.refresh` 只作用於寬工具列;下拉重新整理不受這兩個鍵影響。" + helpText: "將分組 / 顏色 / 密度 / 隱藏欄位收進同一個「檢視設定」彈出框。預設開啟:省略或為 `true` 時,轉譯器繪製這個緊湊工具列;為 `false` 時繪製寬工具列,每個控制項一個按鈕。緊湊工具列不繪製重新整理按鈕,因此 `userActions.refresh` 只作用於寬工具列;下拉重新整理不受這兩個鍵影響。" }, rowHeight: { label: "列高", diff --git a/packages/spec/src/ui/view.form.ts b/packages/spec/src/ui/view.form.ts index f32dfa032e2..c5b13daf733 100644 --- a/packages/spec/src/ui/view.form.ts +++ b/packages/spec/src/ui/view.form.ts @@ -106,7 +106,7 @@ export const viewForm = defineForm({ fields: [ { field: 'resizable', colSpan: 1, helpText: 'Enable column resizing' }, // `striped` / `bordered` inputs removed with the keys (#7176 — pass-through-only, retired). - { field: 'compactToolbar', colSpan: 1, helpText: 'Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key.' }, + { field: 'compactToolbar', colSpan: 1, helpText: 'Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key.' }, { field: 'rowHeight', colSpan: 1, helpText: 'Row height / density setting' }, { field: 'selection', diff --git a/packages/spec/src/ui/view.zod.ts b/packages/spec/src/ui/view.zod.ts index 70a1b1c83eb..088ddb94688 100644 --- a/packages/spec/src/ui/view.zod.ts +++ b/packages/spec/src/ui/view.zod.ts @@ -3696,7 +3696,7 @@ const ListViewShapeSchema = lazySchema(() => strictObject({ /** Grid Features */ resizable: z.boolean().optional().describe('Enable column resizing'), - compactToolbar: z.boolean().optional().describe('Collapse Group/Color/Density/Hide-fields into a single Display popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key.'), + compactToolbar: z.boolean().optional().describe('Collapse Group/Color/Density/Hide-fields into a single View settings popover. On by default: omitted or `true`, the renderer draws this compact toolbar; `false` draws the wide toolbar, one button per control. The compact toolbar draws no Refresh button, so `userActions.refresh` governs only the wide toolbar; pull-to-refresh is unaffected by either key.'), /** Selection */ selection: SelectionConfigSchema.optional().describe('Row selection configuration'), 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 cab42522d46..8f5e47c084e 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 @@ -440,7 +440,7 @@ export const ZH_CN_SPEC_FORMS: NonNullable = { 'sort.order': { label: '排序方向' }, searchableFields: { label: '可搜索字段', helpText: '可用于快速搜索的字段名' }, resizable: { label: '可调整大小', helpText: '允许调整列宽' }, - compactToolbar: { label: '紧凑工具栏', helpText: '将分组 / 颜色 / 密度 / 隐藏字段收进同一个“显示”弹出框。默认开启:省略或为 `true` 时,渲染器绘制这个紧凑工具栏;为 `false` 时绘制宽工具栏,每个控件一个按钮。紧凑工具栏不绘制刷新按钮,因此 `userActions.refresh` 只作用于宽工具栏;下拉刷新不受这两个键影响。' }, + compactToolbar: { label: '紧凑工具栏', helpText: '将分组 / 颜色 / 密度 / 隐藏字段收进同一个“视图设置”弹出框。默认开启:省略或为 `true` 时,渲染器绘制这个紧凑工具栏;为 `false` 时绘制宽工具栏,每个控件一个按钮。紧凑工具栏不绘制刷新按钮,因此 `userActions.refresh` 只作用于宽工具栏;下拉刷新不受这两个键影响。' }, rowHeight: { label: '行高', helpText: '行高 / 密度设置' }, selection: { label: '选择', helpText: '行选择配置' }, 'selection.type': { label: '类型', helpText: '选择模式' }, diff --git a/ui/packages/plugin-list/README.md b/ui/packages/plugin-list/README.md index 66064da13f4..a9aa37b45da 100644 --- a/ui/packages/plugin-list/README.md +++ b/ui/packages/plugin-list/README.md @@ -20,12 +20,12 @@ The toolbar and cell renderers are tuned for low visual noise on dense tables: - **Unified toolbar row**: view tabs (`schema.tabs`), user filters and tool buttons share a single bordered row. The previous stacked rows (`tabs` / `description` / `toolbar`) are collapsed into one separator line. -- **Four tool buttons by default**: the right side of the row is Filter, Sort, - Display and Search. **Display** holds the rest — a Layout row (the - visualization switcher, when the list offers more than one), Group, Row - color, Hide fields, Density, a session-only Row numbers switch and an Edit - inline switch, with Reset to view default and Export in its footer. The - compact toolbar draws no Refresh button; Refresh is a wide-toolbar button. +- **One View settings popover by default**: the list's settings sit in one + **View settings** popover (objectstack#35878) — the view's name, its + columns (drag to reorder, hide, add) and, each only where the host offers + it, Layout (the visualization switcher), Group, Row height and Row color, + with Save, Restore defaults and Export in its footer. The compact toolbar + draws no Refresh button; Refresh is a wide-toolbar button. Its trigger counts the settings that differ from the view's own. Each control saves what its own toolbar button saves; the panel stores nothing of its own. A view that sets `compactToolbar: false` gets one toolbar diff --git a/ui/packages/types/src/objectql.ts b/ui/packages/types/src/objectql.ts index e2676246312..cb672485272 100644 --- a/ui/packages/types/src/objectql.ts +++ b/ui/packages/types/src/objectql.ts @@ -2944,11 +2944,11 @@ export interface NamedListView { showDensity?: never; /** - * Collapse the toolbar's settings into the single "Display" popover: the - * bar keeps Filter, Sort, Display and Search, and Display carries the - * layout switcher, Group, Color, Hide fields, Density, Row numbers, Edit - * inline, Reset to view default and Export. The compact toolbar draws no - * Refresh button anywhere: Refresh is a wide-toolbar button only, so + * Collapse the toolbar's settings into the single "View settings" popover + * (objectstack#35878): the view's name, its columns (reorder, hide, add) + * and, where the host offers them, Layout, Group, Row height and Row color, + * with Save, Restore defaults and Export in its footer. The compact + * toolbar draws no Refresh button: Refresh is a wide-toolbar button only, so * `userActions.refresh` changes nothing here. On unless a view writes * `false`, which keeps one toolbar button per control (objectui#12423). * @default true