Skip to content

Commit 761220c

Browse files
docs(ui): a kind full page is drawn as authored on the desktop full record page only (#36421)
<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} --> _Requested by **Steedos** · [project thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbGyo1s5XDjcEx7u8WDqbFTx)_ Fixes #36294 Clause-②: no Metadata-protocol: none ## 维护者速读 - 读文档的作者能看到:自建整页的记录页只在桌面完整页面按原样显示,手机和侧边预览显示标准记录页;只改了一句话。 - 为什么做:让页面文档与已定的规则(自定义记录页只在桌面完整页面生效)一致,和规格里同一句的修正用同样的措辞。 - 出错会怎样:只是文档文字,出错只会误导读者,可直接撤回。 - 要你做什么:无。 ## What changes One sentence in `content/docs/ui/pages.mdx` (the slots paragraph): "A page that needs its own strip is `kind: 'full'`, drawn as authored" now carries the desktop-only limit, in the same words the spec migration text and `page.zod.ts` already use: "drawn as authored on the desktop full record page (a phone and the side preview draw the standard record page, with the composed strip)". The rest of the paragraph is only re-wrapped. No other file changes; no locale copies of this page exist under `content/docs`. Read first: `content/docs/ui/pages.mdx` around line 299 (the only hunk). Two-minute check: `grep -n "drawn as authored" content/docs/ui/pages.mdx content/docs/references/ui/page.mdx` shows the same wording in both files. ## Why The ruling (a custom record page applies on the desktop full page only) was already carried into the spec text; this page still read as "drawn as authored" everywhere. ## Tests Docs-only; no tests apply. ## Acceptance notes - No changeset: `content/docs/**` is not in any package's `files[]`, so nothing publishes; the PR carries `skip-changeset`. ## Verification At head e9b3ddb, the 45 gate commands `dispatch-gates --commands` derives for this diff all exit 0. <details><summary>Gate reconciliation</summary> ``` Run reconciliation — 45 derived, 45 run, 0 NOT-MEASURED, 0 UNRUN. ✓ dispatch-gates --ran: 45 derived famil(ies) accounted for — 45 run, 0 NOT-MEASURED (a DERIVED zero — all 45 recorded an exit code and none of them is 3). ``` Five gates first refused with PREREQUISITE NOT MET (unbuilt workspace packages). After building the `@objectstack/lint` and `@objectstack/client-react` dependency closures under the verify lock, all five exited 0. Typecheck lanes are left to CI. </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01QsR2jTqAcPU4VyEPH7iVn2 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 17dbea4 commit 761220c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎content/docs/ui/pages.mdx‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,10 @@ deep merge. There is no `tabs` slot: the page's panels are composed from the obj
296296
and relationship flags. To choose which related lists and built-in tabs appear and in what
297297
order, list them in the object's `relatedLists` (the built-ins by object name: `sys_attachment`,
298298
`sys_approval_request`, `sys_activity`); `relatedList: false` on the child's reference field
299-
still hides a list. A page that needs its own strip is `kind: 'full'`, drawn as authored. `slots.tabs`, `slots.related` and `slots.relatedLists` are
300-
refused by name, and `os migrate meta --from 17` drops a stored `slots.tabs`.
299+
still hides a list. A page that needs its own strip is `kind: 'full'`, drawn as authored on
300+
the desktop full record page (a phone and the side preview draw the standard record page, with
301+
the composed strip). `slots.tabs`, `slots.related` and `slots.relatedLists` are refused by name,
302+
and `os migrate meta --from 17` drops a stored `slots.tabs`.
301303

302304
{/* os:check */}
303305
```typescript

0 commit comments

Comments
 (0)