Skip to content

Commit 8729f17

Browse files
committed
docs: the default record page draws no strip and no stage bar
The record-page skill, the pages guide and the object references said highlightFields draws a strip under the title and stageField a stage path on the default record page. Since #35891 the stage is the header tag's menu and highlightFields drives hover cards, the record picker and default columns. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
1 parent 6619df8 commit 8729f17

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎content/docs/data-modeling/objects.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const Account = ObjectSchema.create({
6969
| `nameField` | `string` | optional | The stored field used as the record display name, e.g. `'name'` or `'title'` (ADR-0079). The deprecated alias `displayNameField` is still accepted. |
7070
| `titleFormat` | `string` | optional | Deprecated (ADR-0079 → `nameField`). Render-only title template (e.g. `'{{record.name}} - {{record.code}}'`); an explicit `nameField` takes precedence. An object definition that declares it is refused at save and by `os validate`; a stored object that carries it still loads |
7171
| `imageField` | `string` | optional | The record's picture: names a field of this object whose type is `image` or `avatar` — any other name is refused when the object is validated or published. It is the one object-level declaration the record page header draws beside the title; a record whose field is empty shows no picture. |
72-
| `highlightFields` | `string[]` | optional | Most-important fields in priority order — default list columns, cards, previews, detail highlight strip (ADR-0085; formerly `compactLayout` — the old spelling was retired and is now rejected) |
72+
| `highlightFields` | `string[]` | optional | Most-important fields in priority order — default list columns, cards, previews (ADR-0085; formerly `compactLayout` — the old spelling was retired and is now rejected) |
7373
| `stageField` | `string \| false` | optional | Linear lifecycle field; `false` declares the status field non-linear and suppresses stage heuristics (ADR-0085) |
7474

7575
### Capabilities (`enable`)

‎content/docs/data-modeling/schema-design.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const MyObject = ObjectSchema.create({
5757
| `description` | string | Help text | `'Companies...'` |
5858
| `nameField` | string | Canonical primary title field — the stored field used as the record display name (ADR-0079); the deprecated alias `displayNameField` is still accepted | `'name'` |
5959
| `titleFormat` | string | Deprecated (ADR-0079 → `nameField`). Render-only title template (`{{record.field}}` interpolation); an explicit `nameField` now takes precedence. Refused at save and by `os validate`; a stored object that carries it still loads | `'{{record.name}} - {{record.id}}'` |
60-
| `highlightFields` | string[] | Most-important fields, in priority order (default columns, cards, previews, detail highlight strip; ADR-0085 — formerly `compactLayout`; the old spelling was retired and is now rejected) | `['name', 'status']` |
60+
| `highlightFields` | string[] | Most-important fields, in priority order (default columns, cards, previews; ADR-0085 — formerly `compactLayout`; the old spelling was retired and is now rejected) | `['name', 'status']` |
6161

6262
### Enable Features
6363

‎content/docs/ui/forms.mdx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -454,10 +454,10 @@ has been removed from `ObjectSchema`). Record-detail rendering is derived from
454454
the object's **cross-surface semantic roles** (ADR-0085):
455455

456456
- `nameField` — which field is the record's display name.
457-
- `highlightFields` — the most important fields (detail highlight strip,
458-
default list columns, cards).
459-
- `stageField` — the linear-lifecycle field behind the detail progress
460-
stepper (`false` suppresses detection).
457+
- `highlightFields` — the most important fields (hover cards, the record
458+
picker, default list columns, cards).
459+
- `stageField` — the linear-lifecycle field behind the stage tag in the
460+
record header, a menu that moves it (`false` suppresses detection).
461461
- `fieldGroups` + `Field.group` — semantic grouping, rendered identically on
462462
forms, modals, and detail pages.
463463

‎content/docs/ui/pages.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ replacement.
180180
### The synthesized default
181181

182182
A record page needs no authoring. With no page assigned, the Console synthesizes one from
183-
the object: a header, the highlights strip, the record's **details**, and a right column of
183+
the object: a header, the record's **details**, and a right column of
184184
panels: the related lists, then the attachments of an object with `enable: { files: true }`,
185185
then **Approvals** when the record has approval requests, and **动态** (Activity) last. On a
186186
narrow screen the same panels follow the details in one column, so **动态** ends the page. A
@@ -226,7 +226,7 @@ synthesizer fills in the rest. A slotted page authors `slots`, not `regions`:
226226
| `header` | The `page:header` node |
227227
| `actions` | The action bar (`record:quick_actions`) |
228228
| `alerts` | The alert banners above the body |
229-
| `highlights` | The highlights strip |
229+
| `highlights` | Empty by default; a strip or stage bar placed here draws above the tabs |
230230
| `details` | The record's details; the rest of the page stays synthesized |
231231
| `discussion` | The discussion panel |
232232

‎skills/objectstack-ui/rules/record-page.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Read in order — each step is the remedy for the one before it; author `*.page.
44

55
**1 · The object's declarations produce the page.** With no page assigned, the
66
Console synthesizes the record page from the object alone: `nameField` is the
7-
title, `highlightFields` the strip under it, `stageField` the stage path (each
7+
title, `stageField` the stage on its tag, a menu that moves it (each
88
option declares `kind: 'open' | 'won' | 'lost'`; `false` suppresses it),
99
`fieldGroups` + `Field.group` the detail sections, `relatedLists` the business
1010
order of the related lists, `editMode` (`'modal'` | `'page'`) how Edit opens.

0 commit comments

Comments
 (0)