Skip to content

Commit d2caaec

Browse files
feat(spec,ui): object pinOverview keeps the wide record page from pinning its overview (#38679)
<!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9NN6Y1G4JwByAn5p4uFhymm)_ Fixes #37792 Clause-②: yes (widening) Metadata-protocol: added Skills-docs: follow-up #38680 ## 维护者速读 - 桌面完整记录页上,对象现在可以声明「概览不钉在左栏」:这样的页面在任何宽度下都把概览当第一个页签并默认打开,字段按宽度排成最多三列,概览里有子表时也一样;不声明的对象完全照旧。 - 这是记录页布局开关卡的第一张,替记录详情页长正文被挤在窄栏里的场景解决(另一张是把字段分组放成页签的卡)。 - 只影响声明了这个开关的对象的桌面完整页;侧边预览和手机不受影响(已在示例应用里实拍核对);撤回就是删掉这一行声明。 - 要你做什么:无。 ## What changes - **spec** — `ObjectSchema.pinOverview: z.boolean().optional()` (ADR-0085's Note of 2026-11-27, a ruled exception). Absent or `true`: the pin stays derived; `false`: the desktop full standard record page never pins. A non-boolean value is refused at parse (`invalid_type` at `['pinOverview']`). `ObjectExtensionSchema` does not declare it and carries a `guidance` entry, so an extension that writes it is refused with a message naming `ObjectSchema.pinOverview`; it is not in `CUSTOM_ARRANGEMENT_KEYS`. The object metadata form offers it as a boolean row (the reconciliation gate requires every authorable root key to be offered or ledgered); an untouched switch writes nothing. - **ui** — `recordPagePinsDetails` takes an optional fourth argument `pinOverview` (`false` never pins). `RecordPageColumns` takes an optional `pinOverview` prop: on a full page of an object that declares `false` it never pins, the overview is the first tab and open by default, and the field area uses the width-based columns (`DetailsColumnCapContext` 3) as an overview-only page does, at any width and also when the overview holds a related table or every other tab is hidden. Without `fullPage` (drawer, pane) it is not read. `RecordDetailView` threads the served object's `pinOverview` into `RecordPageColumns` on the desktop full page only (not on a phone, which keeps its one-column field list). The `recordPageColumns.ts` header now says the layout is derived with one declared exception, citing ADR-0085. - **metadata-core** — `OBJECT_REFERENCE_POSITIONS` classifies `pinOverview` as `keep` (a boolean, no field name), so the FLS scrub covers every top-level key. - **Liveness ledger** — `packages/spec/liveness/object.json` row `pinOverview: live` with consumer evidence (`recordPagePinsDetails`, `RecordPageColumns`) and producer (`RecordDetailView`). - **Generated** — `authorable-surface/data.json`, the reference pages, `liveness/state-counts/object.md`, and the platform-objects metadata-form translation bundles (zh-CN, ja-JP and es-ES translated by hand, the locales the echo ledgers judge; the other locales carry the current source fill, refilled when the help text changed so `check:i18n-stale-fill` stays clean). - **Docs** — `content/docs/ui/pages.mdx` (how the page is laid out) and the `@object-ui/plugin-detail` README. - **Changeset** — `.changeset/37792-object-pin-overview.md`: `@objectstack/spec`, `@object-ui/plugin-detail`, `@object-ui/app-shell`, `@objectstack/platform-objects`, `@objectstack/metadata-core` minor. Existing tests changed, each forced by the new key and each with the history line the earlier bumps carry: `packages/metadata-protocol/src/protocol.meta-types-degenerate-derivation.test.ts` (the served `object` property count, 53 → 54), and in `packages/platform-objects/src/apps/translations/` `object-collapsed-sections-echo-decisions.test.ts` (open leaves 132 → 134: the row's label and help text) and `object-lifecycle-panel-echo-decisions.test.ts` (translated labels 867 → 868: the row's label). ## Tests - `packages/spec/src/data/object.test.ts` — new describe `ObjectSchema.pinOverview — the record page layout switch`: absent / `true` / `false` parse end to end (and through `create()`); `'false'`, `0`, `1`, `null`, an object are refused as `invalid_type` at `['pinOverview']`; `ObjectExtensionSchema` refuses the key with a message naming `ObjectSchema.pinOverview`. - `ui/packages/plugin-detail/src/__tests__/RecordPageColumns.test.tsx` — new top-level describe `RecordPageColumns — pinOverview, the object's layout switch` in the existing harness file: the decision function; a wide full page pins when absent or `true`; with `false` it does not pin, the tab row starts with the overview, the overview is selected, the field cap is 3; the side preview (no `fullPage`, 1600 px) draws the same shape with and without `false`; a narrow full page (600 px) and a wide full page whose overview holds a body table (1600 px) are not pinned either way and get cap 3 with `false` (cap 1 without), the table under the same cap. ## Acceptance notes - Browser verification done (dogfood-verification skill) on `examples/app-showcase` at 1440×900 (`os dev --fresh --seed-admin`, the console from `ui/` source over the dev proxy), with `pinOverview: false` added to `showcase_account` for the run only (not in this diff). Screenshots in the project's shared files, `objectstack-seat3/37792-shots/`: - `false-full-1440.png` — Stark Industries full page, `false`: not pinned, tabs `overview*` then the related tabs and `timeline`, fields in two columns by width; its overview holds two body tables (Invoices, Projects), the L2 S1 case. - `default-full-1440.png` — the same page with the key absent: not pinned (body tables), fields as the one-column field list, as before this PR. - `false-side-preview-1440.png` — the side preview (410 px) of the same record with `false`: the one-column field list, tabs `overview*`, Contacts, More. - `default-contact-full-1440.png` — a contact full page with the key absent: pinned (`details tabs`), the first related tab open, as before. - The ADR-0085 Note's `Built by` line is not in this PR (it stays off governed surfaces); the seat carries it on #38438 after merge. ## Verification Two-minute check: `pnpm --dir ui exec vitest run packages/plugin-detail/src/__tests__/RecordPageColumns.test.tsx -t pinOverview` — 5 tests pass. Read first: `ui/packages/plugin-detail/src/RecordPageColumns.tsx` (the `pinned` / `detailsFillPage` hunk), `packages/spec/src/data/object.zod.ts` (the key and the extension guidance), `packages/spec/src/data/object.metadata-form.ts` (the boolean row). <details><summary>Local runs</summary> At head `8a7c8499cc` (`origin/main` at 5ac1ee0 merged at `59e942b5d5` — one hand resolution, the zh-CN positive control of `object-lifecycle-panel-echo-decisions.test.ts`, 869 by its derivation, main's 868 line kept above ours — then the ja-JP help text's レコードページ): `bash scripts/pm/os-regen-merge.sh` steps 1–3, then the spec rebuilt, `check:generated` 14 of 14 up to date with no regen diff, i18n bundles in sync, `pnpm --filter @objectstack/platform-objects test` 130 files / 2221 tests passed, the metadata-protocol count test passed; `node scripts/pm/dispatch-gates.mjs --commands` at `8a7c8499cc`: 128 derived, 128 run, every one exit 0; `--ran`: 128 run, 0 NOT-MEASURED. At head `880f85619b` (the ja-JP / es-ES translations on top of `011164551c`): `pnpm --filter @objectstack/platform-objects test` — Test Files 130 passed, Tests 2221 passed (7 echo-ledger tests were red at `011164551c`); `node scripts/check-i18n-bundles.mjs` in sync; `check:i18n-stale-fill` clean. The derived gate list is the same 128 commands; the six it holds over changesets and i18n (`check-changeset-no-major`, `check-empty-changeset` and its self-test, `check:changeset-gate-self-tests`, `check:i18n`, `check:i18n-stale-fill`) were re-run here, exit 0; the other 122 are carried from `011164551c` (the commit touches no file they read); `--ran`: 128 run, 0 NOT-MEASURED. At head `011164551c` (the L2 S1 round on top of `482b7f3c70`), each heavy run under `scripts/pm/os-verify-lock.sh`: - `pnpm --filter @objectstack/spec exec vitest run src/data` — Test Files 194 passed, Tests 6943 passed, 1 todo. - `pnpm --dir ui exec vitest run packages/plugin-detail/` — Test Files 423 passed, 1 skipped; Tests 4007 passed, 18 skipped. - `pnpm --filter @object-ui/plugin-detail type-check`, `pnpm --filter @object-ui/app-shell type-check` — exit 0. - `pnpm --filter @objectstack/spec check:generated --fix` then without `--fix` — 14 of 14 artifacts up to date; `node scripts/check-i18n-bundles.mjs` — in sync after `--write`; `check:i18n-stale-fill` — clean. - Ablation (`scripts/ablation-replace.mjs`): `detailsFillPage` without `|| pinOverview === false` → 2 tests fail (the field cap stays 1 where `false` asks for 3); restored, blob equals HEAD. - `node scripts/pm/dispatch-gates.mjs --commands` at `011164551c`: 128 derived, 128 run, every one exit 0; `--ran`: 128 run, 0 NOT-MEASURED. At head `482b7f3c70` (round 1, after merging `origin/main` at 1fef2ed): `pnpm --filter @objectstack/spec test` — Test Files 913 passed, Tests 28904 passed, 1 todo; `pnpm --filter @objectstack/spec typecheck` — exit 0. Two derived tests went red on the new key and are fixed in this PR (forced test edits, named here): `packages/metadata-core/src/object-schema-fls-references.test.ts` (the new key classified `keep` in `OBJECT_REFERENCE_POSITIONS`, source change, test unchanged) and `packages/metadata-protocol/src/protocol.meta-types-degenerate-derivation.test.ts` (served `object` property count 53 → 54, with the history comment the earlier bumps carry). `check-plugin-teardown-shape --self-test` needs an unshallowed clone (exit 3 on a shallow one). </details> <!-- signed: repo:objectstack#3 · os-steve · session_01ADHkmS5m6C7eVVzJhUPsav --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5a77a70 commit d2caaec

39 files changed

Lines changed: 364 additions & 13 deletions
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
'@objectstack/spec': minor
3+
'@object-ui/plugin-detail': minor
4+
'@object-ui/app-shell': minor
5+
'@objectstack/platform-objects': minor
6+
'@objectstack/metadata-core': minor
7+
---
8+
9+
feat: an object can keep its record page from pinning the overview, with `pinOverview: false`
10+
11+
Clause-②: yes (widening) — `ObjectSchema` gains the optional boolean `pinOverview`; `RecordPageColumns` gains the optional `pinOverview` prop, and `recordPagePinsDetails` an optional fourth argument of the same name
12+
Metadata-protocol: added
13+
14+
On a wide desktop full record page the overview (the record's own fields) is pinned to a left column beside the other tabs. An object can now turn that off with `pinOverview: false`: the page keeps the overview as its first tab, open by default, and lays its fields out by width in up to three columns, as a page whose overview is its only tab does, at any width and also when the overview holds a related table. Leaving the key out, or writing `true`, keeps the page exactly as before. Only the desktop full standard record page reads it: the side preview and a phone never pin, so they look the same either way, and print pages and authored `kind: 'full' | 'html' | 'react'` pages do not read it. An object extension cannot write it (refused with a message naming `ObjectSchema.pinOverview`), and a non-boolean value is refused at parse. The object metadata form offers it as a switch; an untouched switch writes nothing.
15+
16+
Nothing to migrate.

‎content/docs/references/data/object.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ const result = ApiMethod.parse(data);
178178
| **imageField** | `string` | optional | The record's picture: names the field the record page header (record chrome) draws beside the title — one object-level declaration every record detail page reads, not a per-page header prop. Must name a field of this object whose type is `image` or `avatar`; any other name is refused. A record whose field is empty shows no picture (no initials or placeholder). |
179179
| **highlightFields** | `string[]` | optional | [ADR-0085] Ordered most-important fields; first entry wins where only one fits. Drives default list and related-list columns, cards, hover cards, previews and the record picker; the default record page draws no strip from it. Renamed from compactLayout. |
180180
| **relatedLists** | `(string \| { list: string; label?: string; columns?: string[] })[]` | optional | The record page's tabs beside the overview, in order. Absent: every related list shows (owned master_detail children, then lookup children), then attachments, approvals and the activity stream, as before. Declared: only the lists named here show, in this order; leaving one out hides its tab. A child list another package brings is not hidden by it: that package places the list with its object extension's place entry (an `{ list, after \| before }` entry), and an unplaced one shows at the end of the tabs, before approvals and the activity stream; this object may also name it, which a build accepts only when that package is in the stack, and then its own position wins. Each entry is a child object name (e.g. "task"), object.field when that child has more than one relationship to this object (e.g. "event.related_to"), or a built-in tab: "sys_attachment" (attachments, still only when enable.files is on; not shown when unlisted), "sys_approval_request" (approvals, still only when the record has requests; when unlisted it follows the listed tabs), "sys_activity" (the activity stream of activities, discussion and changes; when unlisted it comes last). An entry may instead be `{ list, label?, columns? }` to give that list its own title and child-field columns (wins over the child FK's relatedListTitle / relatedListColumns, used wherever the list is drawn); a built-in tab is written only as its bare name. relatedList: false on the FK still hides a list; body tables placed by fieldGroups are not hidden by this list. A name whose child is in the stack but has no inbound lookup / master_detail field to this object is refused everywhere; one whose child exists nowhere is refused by os validate / os build (which leave a sys_ / cloud_ / ai_ name to the runtime) and by a metadata write that names no package; a write into a package stores it and the record page places nothing for it. A columns name that resolves to no field of the child (a dotted name is walked through the child's relationships, as relatedListColumns is) is refused. |
181+
| **pinOverview** | `boolean` | optional | Whether the desktop full standard record page pins the overview (the record's own fields) to a left column beside its other tabs. Absent or true: derived as before (a full page wide enough for both columns, with another tab and no related table among the fields, pins). false: the desktop full page never pins, at any width; the overview is its first tab, open by default, and its fields lay out by width in up to three columns, also when the overview holds a related table. Read by the desktop full standard record page alone: the side preview and a phone draw the same either way, and print pages and authored kind: full \| html \| react pages do not read it. Not accepted on an object extension. |
181182
| **stageField** | `string \| false` | optional | [ADR-0085] Lifecycle stage field (linear/ordered), or false to declare the status field non-linear and suppress stage heuristics. Absent = heuristic detection allowed. When the named field carries options, it must be a single-value `select` / `radio` with inline `options`, each declaring its `kind` ('open' / 'won' / 'lost'); a picklist-backed or multi-value stage field is refused. A name that resolves to no declared field, or a field with no options, is not judged at parse. |
182183
| **editMode** | `Enum<'modal' \| 'page'>` | optional | Edit-interaction intent for records of this object: 'modal' opens the edit form as a dialog over the current view; 'page' navigates to a dedicated full-page edit route. Absent = the renderer picks its own default (objectui defaults to modal). Cross-renderer intent, not pixel styling (family). |
183184
| **listViews** | `Record<string, { name?: string; label?: string \| Record<string, string>; type?: Enum<'grid' \| 'kanban' \| 'gallery' \| 'calendar' \| 'timeline' \| 'gantt' \| 'map' \| …>; data?: object \| object \| object; … }>` | optional | Built-in named list views (segmented tabs) shipped with the object schema — "views" mode, dropdown userFilters allowed, no page-only tabs (ADR-0047) |

‎content/docs/ui/pages.mdx‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,27 @@ whose details hold a related table, draws the details across the page. Narrower
297297
the drawer and a phone draw one column: the tab row, **Details** first, and the open tab
298298
under it.
299299

300+
An object that declares `pinOverview: false` keeps its desktop full page from pinning at any
301+
width: the page draws the tab row with **Details** first and open by default, and lays the
302+
fields out by the page's width in up to three columns, as a page whose details are its only tab
303+
does, also when the details hold a related table. Leaving the key out, or writing `true`, keeps
304+
the layout above. The drawer and a phone draw the same either way, and an object extension
305+
cannot write the key.
306+
307+
```ts
308+
import { ObjectSchema, Field } from '@objectstack/spec/data';
309+
310+
export const Policy = ObjectSchema.create({
311+
name: 'policy',
312+
label: 'Policy',
313+
pinOverview: false,
314+
fields: {
315+
title: Field.text({ label: 'Title' }),
316+
body: Field.markdown({ label: 'Body' }),
317+
},
318+
});
319+
```
320+
300321
The related lists load in steps, and the details never wait for them. The page asks every
301322
list's count in one request set, sent beside the record read, and draws each list's tab
302323
before those counts land; a list counted at 0 reads no rows, and its tab is muted, with no

‎packages/metadata-core/src/object-schema-fls-references.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,8 @@ export const OBJECT_REFERENCE_POSITIONS: Readonly<Record<string, Scrub>> = {
822822
name: keep, label: keep, pluralLabel: keep, description: keep, icon: keep, color: keep, actionLayout: keep, isSystem: keep,
823823
managedBy: keep, ownership: keep, systemFields: keep, datasource: keep, access: keep,
824824
requiredPermissions: keep, fileAccessDelegate: keep, schemaReadDelegate: keep, editMode: keep, enable: keep,
825+
// The record page layout switch (ADR-0085's Note of 2026-11-27): a boolean, no field name.
826+
pinOverview: keep,
825827
sharingModel: keep, externalSharingModel: keep, protection: keep,
826828
// [#25760] The per-object sharing opt-ins (`sharing.controlledByParent.ownerMayEdit`,
827829
// ADR-0055 §3 amendment): a block of booleans that names no field.

‎packages/metadata-protocol/src/protocol.meta-types-degenerate-derivation.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,11 @@ describe('#17501 — /meta/types serves a real schema for `action`, and moves no
416416
// from (ADR-0160 D8), which gives its MCP prompt a record argument.
417417
// [#37402] `object` 52 → 53: `uiReadonlyWhen`, the whole-record hand lock
418418
// (no person edits a field of the record at the console; writes keep it).
419+
// [#37792] `object` 53 → 54: `pinOverview`, the record page layout switch
420+
// (ADR-0085's Note of 2026-11-27).
419421
const CARD_PROPERTY_COUNTS: Record<string, number> = {
420422
agent: 24, app: 24, dashboard: 21, dataset: 17, field: 89, flow: 24,
421-
hook: 24, object: 53, page: 28, position: 14, report: 24, skill: 18, tool: 14,
423+
hook: 24, object: 54, page: 28, position: 14, report: 24, skill: 18, tool: 14,
422424
};
423425

424426
it.each(Object.entries(CARD_PROPERTY_COUNTS))(

‎packages/platform-objects/src/apps/translations/ar.metadata-forms.generated.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ export const arMetadataForms: NonNullable<TranslationData['metadataForms']> = {
8080
label: "علامات تبويب صفحة السجل",
8181
helpText: "علامات تبويب صفحة السجل بعد النظرة العامة، بالترتيب. كل إدخال اسم كائن فرعي (مثل task)، أو object.field عندما تكون لذلك الكائن الفرعي أكثر من علاقة بهذا الكائن، أو علامة تبويب مدمجة (sys_attachment وsys_approval_request وsys_activity)، أو إدخال بعنوانه وأعمدته الخاصة يُضبط في إعدادات الكائن في Studio. بمجرد إدراج أي شيء، لا تظهر علامة تبويب لقائمة مرتبطة لا يسمّيها أي إدخال، بما في ذلك قائمة تضيفها حزمة أخرى، إلى أن يسمّيها هذا الكائن؛ ولا تظهر المرفقات إلا عند إدراجها. فارغ: تظهر كل القوائم بالترتيب الافتراضي. يُرفض عند حفظ الكائن أي اسم لا يطابق علاقة تشير إلى هذا الكائن."
8282
},
83+
pinOverview: {
84+
label: "Pin Overview",
85+
helpText: "Whether the wide desktop record page pins the overview (the record's own fields) to a left column beside the other tabs. Unset: it pins as before wherever the page is wide enough and has other tabs; an untouched switch writes nothing, so it reads off while the page still pins. Off once set: the desktop full page never pins, at any width, and the overview is its first tab, open by default, its fields laid out by width in up to three columns, also when the overview holds a related table. The side preview and a phone draw the same either way."
86+
},
8387
searchableFields: {
8488
label: "الحقول القابلة للبحث",
8589
helpText: "أسماء الحقول التي يطابقها استعلام $search ‏(ADR-0061): القيمة الافتراضية لمنتقي السجلات والبحث السريع في القوائم والبحث العام؛ ويمكن لطريقة العرض تضييقها. عند عدم تعيينها، يستخدم البحث حقل الاسم/العنوان إضافة إلى الحقول النصية القصيرة. يجب أن يسمّي كل إدخال حقلًا مخزَّنًا من هذا الكائن — ويُرفض عند النشر الاسم المجهول أو حقل الصيغة الافتراضي."

‎packages/platform-objects/src/apps/translations/ar.source-hashes.generated.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ export const arGeneratedSourceHashes: Readonly<Record<string, string>> = {
9494
"metadataForms.knowledge_source.sections.records.label": "9e5814dbd123f1c1",
9595
"metadataForms.knowledge_source.sections.refresh.description": "79311cb3f9e55b89",
9696
"metadataForms.knowledge_source.sections.refresh.label": "1b63ae2e002930a6",
97+
"metadataForms.object.fields.pinOverview.helpText": "768f0157c04d4ee2",
98+
"metadataForms.object.fields.pinOverview.label": "901b14e51cd49243",
9799
"metadataForms.permission.fields.fields.helpText": "887a0bae04a950e2",
98100
"metadataForms.permission.fields.objects.helpText": "e2512cfb3b501aae",
99101
"metadataForms.permission.fields.tabPermissions.helpText": "8942e2aebe59897c",

‎packages/platform-objects/src/apps/translations/de.metadata-forms.generated.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ export const deMetadataForms: NonNullable<TranslationData['metadataForms']> = {
8080
label: "Tabs der Datensatzseite",
8181
helpText: "Die Tabs der Datensatzseite nach der Übersicht, in Reihenfolge. Jeder Eintrag ist der Name eines untergeordneten Objekts (z. B. task), object.field, wenn dieses Objekt mehr als eine Beziehung zu diesem Objekt hat, ein integrierter Tab (sys_attachment, sys_approval_request, sys_activity) oder ein Eintrag mit eigenem Titel und eigenen Spalten, festgelegt in den Objekteinstellungen von Studio. Sobald etwas aufgeführt ist, zeigt eine verknüpfte Liste, die kein Eintrag nennt, keinen Tab, auch eine Liste, die ein anderes Paket hinzufügt, bis dieses Objekt sie nennt; Anhänge erscheinen nur, wenn sie aufgeführt sind. Leer: Alle Listen erscheinen in der Standardreihenfolge. Ein Name, der keiner auf dieses Objekt zeigenden Beziehung entspricht, wird beim Speichern des Objekts abgelehnt."
8282
},
83+
pinOverview: {
84+
label: "Pin Overview",
85+
helpText: "Whether the wide desktop record page pins the overview (the record's own fields) to a left column beside the other tabs. Unset: it pins as before wherever the page is wide enough and has other tabs; an untouched switch writes nothing, so it reads off while the page still pins. Off once set: the desktop full page never pins, at any width, and the overview is its first tab, open by default, its fields laid out by width in up to three columns, also when the overview holds a related table. The side preview and a phone draw the same either way."
86+
},
8387
searchableFields: {
8488
label: "Durchsuchbare Felder",
8589
helpText: "Feldnamen, auf die die Abfrage $search passt (ADR-0061): der Standard für die Datensatzauswahl, die Schnellsuche der Liste und die globale Suche; eine Ansicht kann ihn einschränken. Nicht gesetzt, sucht die Suche im Namens-/Titelfeld und in kurzen Textfeldern. Jeder Eintrag muss ein gespeichertes Feld dieses Objekts benennen – ein unbekannter Name oder ein virtuelles Formelfeld wird bei der Veröffentlichung abgelehnt."

‎packages/platform-objects/src/apps/translations/de.source-hashes.generated.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ export const deGeneratedSourceHashes: Readonly<Record<string, string>> = {
133133
"metadataForms.object.fields.enable.feeds.label": "669c64671f632139",
134134
"metadataForms.object.fields.lifecycle.storage.shards.label": "739988affb36b2e0",
135135
"metadataForms.object.fields.name.label": "5274417ff1ccaf01",
136+
"metadataForms.object.fields.pinOverview.helpText": "768f0157c04d4ee2",
137+
"metadataForms.object.fields.pinOverview.label": "901b14e51cd49243",
136138
"metadataForms.object.fields.userActions.import.label": "05c80d3a61ec3290",
137139
"metadataForms.page.fields.name.label": "5274417ff1ccaf01",
138140
"metadataForms.page.sections.layout.label": "7f508ea1bb2c3a6b",

‎packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ export const enMetadataForms: NonNullable<TranslationData['metadataForms']> = {
8080
label: "Related Lists",
8181
helpText: "The record page tabs after the overview, in order. Each entry is a child object name (e.g. task), object.field when that child has more than one relationship to this object, a built-in tab (sys_attachment, sys_approval_request, sys_activity), or an entry with its own title and columns, set in App Studio's object settings. Once anything is listed, a related list no entry names shows no tab, a list another package adds included, until this object names it; attachments show only when listed. Empty: every list shows in the default order. A name that matches no relationship pointing at this object is refused when the object is saved."
8282
},
83+
pinOverview: {
84+
label: "Pin Overview",
85+
helpText: "Whether the wide desktop record page pins the overview (the record's own fields) to a left column beside the other tabs. Unset: it pins as before wherever the page is wide enough and has other tabs; an untouched switch writes nothing, so it reads off while the page still pins. Off once set: the desktop full page never pins, at any width, and the overview is its first tab, open by default, its fields laid out by width in up to three columns, also when the overview holds a related table. The side preview and a phone draw the same either way."
86+
},
8387
searchableFields: {
8488
label: "Searchable Fields",
8589
helpText: "Field names the $search query matches (ADR-0061): the default for the record picker, list quick-search and global search; a view may narrow it. Unset, search uses the name/title field plus short-text fields. Each entry must name a stored field of this object — an unknown name or a virtual formula field is refused at publish."

0 commit comments

Comments
 (0)