File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,6 +150,24 @@ columns (see objectstack-data → Relationships → Detail-page related lists).
150150Authored record pages can still place an explicit ` record:related_list ` (or
151151inline-editable ` record:line_items ` ) when they need bespoke placement.
152152
153+ ** Related-list layout — ` detail.relatedLayout ` (` 'stack' ` | ` 'tabs' ` ).** By
154+ default every related list stacks under a single ** Related** tab on the record
155+ detail page (` relatedLayout: 'stack' ` ). To promote each related table to its own
156+ ** peer tab** — sitting alongside * Details* / * Activity* instead of nested under
157+ * Related* — set ` relatedLayout: 'tabs' ` in the object's ` detail ` block:
158+
159+ ``` typescript
160+ detail : { relatedLayout : ' tabs' } // Details · Tasks · Risks · Milestones …
161+ ```
162+
163+ Pure config — no custom record page needed; the synthesized detail page emits
164+ one peer tab per related entry (label falls back to the object name, the
165+ relationship's icon carries through), with Activity/History ordered after them.
166+ Omit it (or ` 'stack' ` ) for the default single-Related-tab behavior — zero
167+ regression. Use ` tabs ` when a record has several substantial child tables that
168+ each deserve first-class navigation; keep ` stack ` when related lists are
169+ secondary to the main record body.
170+
153171### Field Conditional Rules in Forms
154172
155173For conditions that belong to a field's lifecycle, declare the rule on the
You can’t perform that action at this time.
0 commit comments