Skip to content

Commit baa1740

Browse files
committed
docs(skills): objectstack-data teaches relatedList placement by role, not by record-page tabs
The three relatedList bullets in rules/relationships.md now follow the spec describe: 'primary' is a full-width table in the record's detail body, false is not shown on the parent record page, true or omitted is an auxiliary panel on the record page. No tab or column is named. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAkV4r9DLBV3JKUsdf5
1 parent a04e9d7 commit baa1740

2 files changed

Lines changed: 17 additions & 6 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
docs(skills): objectstack-data teaches `relatedList` placement by each value's role, not by record-page tabs or columns
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
- **Before.** `rules/relationships.md` said `relatedList: 'primary'` draws "a full-width table in the details column after the first field section (in the Details tab, no tab of its own)" and that `true` / omitted is "a side card (the shared **Related** tab)". The spec's `relatedList` describe no longer names any tab or column, so the skill taught a page layout the record page does not draw.
11+
- **Now.** The three bullets follow the spec describe: `'primary'` is part of the record's main content, a full-width table in the record's detail body (still the default for an inline-edited `master_detail` FK); `false` means the child object is not shown on the parent record page; `true` or omitted is an auxiliary panel on the record page. Layout stays ADR-0085's to define.
12+
- The file gets smaller and stays under its token ceiling; no ceiling moves, no schema, key or behaviour changes.

‎skills/objectstack-data/rules/relationships.md‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -335,12 +335,11 @@ audit_ref: { type: 'master_detail', reference: 'invoice', relatedList: false },
335335
336336
`relatedList` is tri-state — placement (ADR-0085):
337337
338-
- `'primary'` — main content: a full-width table in the details column after
339-
the first field section (in the Details tab, no tab of its own). Default for a
340-
`master_detail` FK with `inlineEdit`.
341-
- `false` — hidden from the parent's page.
342-
- `true`, or omitted (except inline-edited `master_detail`) — a side card
343-
(the shared **Related** tab).
338+
- `'primary'` — part of the record's main content: a full-width table in the
339+
record's detail body. Default for a `master_detail` FK with `inlineEdit`.
340+
- `false` — the child object is not shown on the parent record page.
341+
- `true`, or omitted (except inline-edited `master_detail`) — an auxiliary
342+
panel on the record page.
344343
- Order is the parent's: `relatedLists: ['task', 'event.related_to']` (child, or
345344
`object.field`) lists those first. A child in the stack with no inbound FK is
346345
refused everywhere; one that exists nowhere is refused by `os validate` /

0 commit comments

Comments
 (0)