Skip to content

Commit 7523971

Browse files
committed
docs(skills): relationships.md keeps the group-placed table's tab qualifier and says which default is highlightFields
Contract review S1 and N1 on the related-list bullets. Paid in the same file by two restatement cuts in the section's opening and closing sentences. Claude-Session: https://claude.ai/code/session_01QSeKYo86w1wqy2z2fMrryr Co-authored-by: Claude <noreply@anthropic.com>
1 parent 40f4e27 commit 7523971

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ InvoiceLine = {
340340

341341
### Detail-page related lists (the read-side mirror)
342342

343-
You usually don't declare the **related list** on the parent's record detail page: every child relationship
344-
is shown **by default** as a tab with its count, a `master_detail` child too. The
343+
On the parent's record detail page every child relationship is a **related list**,
344+
shown **by default** as a tab with its count, a `master_detail` child too. The
345345
relationship flags *refine* that:
346346

347347
```typescript
@@ -357,7 +357,7 @@ audit_ref: { type: 'master_detail', reference: 'invoice', relatedList: false },
357357
- `relatedList: false` — the child object is not shown on the parent record page.
358358
- `'primary'` — a full-width table in the record's details, with no tab. A parent field
359359
group naming a `master_detail` child (`relatedList: 'quote_line'`, written only when asked)
360-
places its table there too; its tab stays.
360+
places its table there too; its tab stays unless `relatedLists` omits it.
361361
- The parent's `relatedLists` is the tab list (objectstack-ui Record Page): declared,
362362
only the named lists show, in order, built-ins by name
363363
(`sys_attachment`, `sys_approval_request`, `sys_activity`). An entry is the child,
@@ -369,11 +369,11 @@ audit_ref: { type: 'master_detail', reference: 'invoice', relatedList: false },
369369
write naming no package (one into a package is stored, placing nothing).
370370

371371
`relatedListTitle` / `relatedListColumns` override the derived title / columns
372-
(the child's `highlightFields`); an entry's `label` / `columns` win. Audit FKs
372+
(columns: the child's `highlightFields`); an entry's `label` / `columns` win. Audit FKs
373373
(`created_by`/`updated_by`/`owner_id`) never become related lists. A child that
374374
references the parent through several FKs (e.g. `primary_account` +
375375
`partner_account`) yields **one related list per FK**; a self-referential FK
376-
(a hierarchy) surfaces a "children" list.
376+
surfaces a "children" list.
377377

378378
## Incorrect vs Correct
379379

0 commit comments

Comments
 (0)