You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e0de07b
Browse filesBrowse the repository at this point in the historyBrowse files
docs(skills): teach that a save and `os validate` refuse `titleFormat`
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
-`objectstack-data` (object properties table) and `objectstack-formula` (template carriers) no longer call `titleFormat` deprecated: since #29499 the metadata save gate and `os validate` refuse an object that declares it (`title-format-retired`), and it moves to `nameField`. The formula skill drops the sentence that restated the template grammar cell beside it.
11
+
- ADR-0079 D3 gains a dated amendment note citing ruling 6574393684 and #29499; the decision is unchanged.
fix(console): an action another package places on `sys_user` at `record_header` / `record_more` draws again on the user's record page, in the drawer and on the full page (#29951)
11
+
12
+
Clause-②: no
13
+
Metadata-protocol: none
14
+
15
+
-**The header reads `placedActions: true`.**`page:header`'s `placedActions` (#30018) is now drawn by the console's header renderer (`PageHeaderActions` in `@object-ui/components`): `true` draws every action of the page's object whose `locations` include `record_header` or `record_more`, in declaration order, read from the object's metadata at render time, so an action an installed package adds to the object is drawn without editing the page. Omitted or `false`, an authored `actions` list is still the whole set (#11592). A `true` beside an authored list, which the spec refuses, draws none of the object's actions and is reported once in the console.
16
+
-**One placed-header reader.**`placedHeaderActions` (`@object-ui/types`) is the rule both headers read: the synthesized default record page's header in `RecordDetailView` and a `placedActions: true` header. The `page:header` registration publishes the `placedActions` input.
17
+
-**The platform record pages opt in.**`sys_user_detail` and `sys_organization_detail` (`@objectstack/platform-objects`) and `sys_approval_request_detail` (`@objectstack/plugin-approvals`) set `placedActions: true` in place of the id lists #27219 froze, which dropped every header action another package places on those objects. The tab strips are unchanged, and every action the lists named is placed at `record_header` / `record_more`, so each still draws.
18
+
-`@objectstack/spec`: the `placedActions` describe no longer opens with `[PLANNED — not yet rendered]`, and the `page` liveness record names the reader.
|**breadcrumb**|`never`| optional |[REMOVED]`page:header` property `breadcrumb` was removed in @objectstack/spec 17 (ADR-0087 D2) — no renderer ever drew a trail for it: objectui drew an empty slot and nothing filled it, and the navigation trail is drawn once, by the app shell's header. Delete the key, whether it was `true` or `false`; the shell's trail is unchanged. 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. |
1577
1577
|**actions**|`string[]`| optional | Action IDs the header draws, resolved against the actions declared on the page's object. An authored list is the whole set: an action that declares `record_header` (or `record_more`) in its `locations` but is not named here is not drawn, and a header with neither this key nor `placedActions: true` draws none of the object's actions. `placedActions: true` is the other way to say which actions the header draws (every one placed at `record_header` / `record_more`, read live), and the two are refused together. A named action that declares neither location renders nowhere. The host's own Edit / Share / Delete chrome is separate from this list. |
1578
-
|**placedActions**|`boolean`| optional |[PLANNED — not yet rendered]Draw every action of the page's object whose `locations` include `record_header` or `record_more`, read live from the object's metadata, in place of an authored `actions` list: an action added to the object later, by any package, is drawn without editing the page. Omit it, or set false, to keep the `actions` list as the whole set. Refused as `true` beside an authored `actions` list: keep one. |
1578
+
|**placedActions**|`boolean`| optional | Draw every action of the page's object whose `locations` include `record_header` or `record_more`, read live from the object's metadata, in place of an authored `actions` list: an action added to the object later, by any package, is drawn without editing the page. Omit it, or set false, to keep the `actions` list as the whole set. Refused as `true` beside an authored `actions` list: keep one. |
1579
1579
|**recordChrome**|`boolean`| optional (default: `true`) | Render the record chrome — the title as a record chip with its copy-id button. Set false on a non-record page (dashboard, landing) to fall back to the bare heading layout. |
1580
1580
|**showStar**|`never`| optional |[REMOVED]`page:header` property `showStar` was removed in @objectstack/spec 18 (ADR-0087 D2) — the reference console draws no star beside the record title, so the key switched nothing: the record's favorites entry is the header's ⋯ menu, and metadata does not control it. Delete the key, whether it was `true` or `false`; the ⋯ menu's favorites entry is unchanged. 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. |
1581
1581
|**showCopyId**|`boolean`| optional (default: `true`) | Show the copy-record-id button beside the record title. Part of the record chrome — no effect when `recordChrome` is false. |
Copy file name to clipboardExpand all lines: content/docs/ui/components/page.mdx
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ Namespace `page`.
52
52
|`title`|`string`\|`object`|| Supports \{field\} interpolation and inline translation maps; falls back to the record title |
53
53
|`subtitle`|`string`\|`object`|| Same interpolation as Title |
54
54
|`actions`|`array` of `string`|| Action IDS — the names of actions declared on the object's own metadata — rendered in the header before any host-injected system actions. An id whose action declares neither record_header nor record_more in its locations renders nowhere. |
55
+
|`placedActions`|`boolean`|| Set true to draw every action of the object placed at record_header or record_more, read live from the object's metadata, in place of an Actions list: an action another package adds to the object is drawn without editing the page. Refused beside an authored Actions list: keep one. |
55
56
|`recordChrome`|`boolean`|| Set false for the bare h1 header on non-record pages |
56
57
|`showCopyId`|`boolean`|| — |
57
58
|`maxVisible`|`number`|| How many header actions render as inline buttons on desktop before the rest fold into the overflow menu. A positive integer — the contract rejects 0 and fractional values. Two kinds of action are routed to the overflow menu regardless of this budget and never occupy an inline slot: an action whose locations declare record_more without record_header, and any action with component action:menu. The host's own buttons (the record page's Edit) take no slot and never fold. The first inline action, or the one declaring variant primary, is the one filled primary button; the others are outline buttons. An action declaring variant danger is never the primary: inline it is a destructive button, and in the overflow menu it is a red row below a separator. |
Copy file name to clipboardExpand all lines: content/docs/ui/pages.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -296,7 +296,7 @@ unknown or retired key (`description`, `icon`, `breadcrumb`, `showStar`) is refu
296
296
|`title`| Derived from the record on a record page | Heading; `{field}` tokens interpolate against the record, and a token that resolves to nothing renders empty. Set it on a non-record page |
297
297
|`subtitle`| — | The line under the title, interpolated the same way |
298
298
|`actions`| — | Ids of actions declared on the page's object. An authored list is the whole set: an action that declares `record_header` but is not named is not drawn, and omitting the key draws none of the object's actions. `placedActions` is the other way to say which actions |
299
-
|`placedActions`| — |`true` asks for every action of the object placed at `record_header` / `record_more`, read live, in place of an `actions` list, so an action another package adds is drawn without editing the page. Refused beside an authored `actions` list: keep one. Declared ahead of the console's header renderer, which does not draw it yet; today only the synthesized page draws every placed action|
299
+
|`placedActions`| — |`true` asks for every action of the object placed at `record_header` / `record_more`, read live, in place of an `actions` list, so an action another package adds is drawn without editing the page. Refused beside an authored `actions` list: keep one. The platform's user, organization and approval request pages set it|
300
300
|`recordChrome`|`true`| Draw the title as the record chip (object label, copy-id button, the record's picture when the object names an `imageField`); `false` keeps a bare heading |
301
301
|`showCopyId`|`true`| The copy-record-id button in the chip |
302
302
|`maxVisible` / `mobileMaxVisible`| 3 / 1 | How many actions render inline before the rest fold into the `⋯` menu |
Copy file name to clipboardExpand all lines: docs/adr/0079-record-display-name.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# ADR-0079: The record display-name contract — `nameField` is the one canonical primary-title pointer
2
2
3
-
**Status**: Accepted — implemented. **This file is a RETROACTIVE RECONSTRUCTION written 2026-08-08**, not a contemporaneous record; see [Provenance](#provenance-read-this-before-citing-this-file) before you cite it.
3
+
**Status**: Accepted — implemented. **This file is a RETROACTIVE RECONSTRUCTION written 2026-08-08**, not a contemporaneous record; see [Provenance](#provenance-read-this-before-citing-this-file) before you cite it. · **Amended** (2026-11-04, [#29506](https://github.com/objectstack-ai/objectstack/issues/29506), ruling of record [`6574393684`](https://github.com/objectstack-ai/objectstack/issues/29007#issuecomment-6574393684) on #29007, letter B) — `title-format-retired` is an error since PR #29499; see the note under D3.
4
4
-**Decided**: 2026-06-28 (the decision), reconstructed 2026-08-08 (this file)
5
5
-**Reconstructed by**: #6634
6
6
-**Implemented by**: [#2434](https://github.com/objectstack-ai/objectstack/pull/2434) (foundation — `nameField` + resolver), [#2458](https://github.com/objectstack-ai/objectstack/pull/2458) (designate-only provisioning at the registry seam), [#2463](https://github.com/objectstack-ai/objectstack/pull/2463) (the author-time gate)
@@ -126,6 +126,18 @@ output, describe marks the old key deprecated."*
126
126
127
127
### D3 — `titleFormat` is retired in favour of `nameField`
128
128
129
+
> **Amendment (2026-11-04, #29506).** The diagnostic is no longer advisory.
130
+
> Under the ruling of record on #29007 (6574393684, letter B), PR #29499
131
+
> (`3557366c02`) made `title-format-retired` an **error**: the metadata save
132
+
> gate (`422 INVALID_METADATA` on an active save, a draft promotion and a
133
+
> restore) and `os validate` / `os build` / `os lint` refuse an object that
134
+
> declares `titleFormat`, and the fix is `nameField`. The key is refused, not
135
+
> removed: the schema still parses it, so a stored object that carries it keeps
136
+
> loading and reading until its next save. The decision below stands; the
137
+
> "deprecated and lint-warned" and "advisory, not an error" sentences and their
138
+
> citation describe the code before #29499, and D8's "never errors" no longer covers this rule
0 commit comments