From f20843efd2dede1947f33ee13259e51106cb6322 Mon Sep 17 00:00:00 2001 From: os-zhuang Date: Sun, 5 Jul 2026 01:31:34 +0800 Subject: [PATCH] docs(guide): document related-list 'primary' tab default in slotted-pages (framework #2579) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The synthesized detail page's default tab strip is Details → one tab per `relatedList: 'primary'` child → a shared "Related" tab for the rest → History. Clarify that promoting a child table to its own tab is a one-word relationship change (no custom page needed), and that `relatedLayout: 'tabs' | 'stack'` is an app-level override. Co-Authored-By: Claude Opus 4.8 --- content/docs/guide/slotted-pages.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/content/docs/guide/slotted-pages.md b/content/docs/guide/slotted-pages.md index d5dbef30c..a9f3faeae 100644 --- a/content/docs/guide/slotted-pages.md +++ b/content/docs/guide/slotted-pages.md @@ -66,8 +66,13 @@ export const AccountDetailPage: Page = { ``` Result: the account record page renders with your custom header, and -the synthesizer fills in the highlights, tabs (Details / Related / -History), and discussion regions as if you'd authored nothing else. +the synthesizer fills in the highlights, tabs, and discussion regions as +if you'd authored nothing else. The default tab strip is **Details** → one +tab per related list flagged `relatedList: 'primary'` on its relationship → a +shared **Related** tab for the rest → **History**; so promoting a child table to +its own tab is a one-word change on the relationship, not a page-authoring task. +`relatedLayout: 'tabs' | 'stack'` remains an app-level override (force +all-own-tabs / all-stacked). ## Composing default + custom