From d71731c8d039b269d3dcd02e8225351bfe1b5ec5 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 13 Aug 2026 13:09:14 +0000 Subject: [PATCH] docs(objectui): fix Console Template phantom `tabs` on record:details MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `layout-dsl.mdx`'s Console Template authored `tabs: [details, related, activity]` under `record:details.properties` — a key `ui/RecordDetailsProps` (strictObject) does not declare. Rewritten to the schema-accepted shape: a `page:tabs` component whose three `items` each carry the appropriate child (`record:details`, `record:related_list`, `record:activity`), matching the section's own "Visual Layout" ASCII diagram (Details/Related/Activity tabs, Subject/Priority/Status fields). Measured via `validateComponentProps` (packages/lint) against a fixture reproducing the doc's example: the old shape is flagged `component-props-unknown-key`, severity `warning` (advisory only — the rule's `ComponentPropsSeverity` type is a single `'warning'` literal, never `'error'`) — so this was not rejected at publish, it was silently forwarded to objectui's renderer and ignored there. The new shape produces zero findings from the same rule. Fixes #8403 Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01Jqe56GnYFddggeAyfkZFVz --- content/docs/protocol/objectui/layout-dsl.mdx | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/content/docs/protocol/objectui/layout-dsl.mdx b/content/docs/protocol/objectui/layout-dsl.mdx index ea26d82b5f..2426b780a6 100644 --- a/content/docs/protocol/objectui/layout-dsl.mdx +++ b/content/docs/protocol/objectui/layout-dsl.mdx @@ -137,9 +137,26 @@ regions: - name: right width: full components: - - type: record:details + - type: page:tabs properties: - tabs: [details, related, activity] + items: + - label: Details + value: details + children: + - type: record:details + properties: + fields: [subject, priority, status] + - label: Related + value: related + children: + - type: record:related_list + properties: + objectName: task + relationshipField: case_id + - label: Activity + value: activity + children: + - type: record:activity ``` **Visual Layout:**