From 2b98e0fff11c9638d55b01487c33c886d7e7faff Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 22:25:45 +0000 Subject: [PATCH 1/2] docs(skills): objectstack-ui record page says a full page is desktop full page only; record_section actions also list record_more (#36179) Since #36150 an authored kind 'full' record page applies on the desktop full page only; phone and drawer draw the standard page, which draws no record_section action. Step 4 and step 5 of rules/record-page.md now say so. Paid for in the same file; the token ceiling follows it down 991 -> 989. Fixes #36179 Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01L6bhgViqXNX3ru3BVxMD1k --- .../36179-ui-record-page-full-desktop-only.md | 8 +++++ scripts/check-skills-token-ratchet.mjs | 10 +++++- skills/objectstack-ui/rules/record-page.md | 35 ++++++++++--------- 3 files changed, 35 insertions(+), 18 deletions(-) create mode 100644 .changeset/36179-ui-record-page-full-desktop-only.md diff --git a/.changeset/36179-ui-record-page-full-desktop-only.md b/.changeset/36179-ui-record-page-full-desktop-only.md new file mode 100644 index 00000000000..682a40f4f9c --- /dev/null +++ b/.changeset/36179-ui-record-page-full-desktop-only.md @@ -0,0 +1,8 @@ +--- +'@objectstack/skills': patch +--- + +Clause-②: no +Metadata-protocol: none + +`objectstack-ui` record-page rule: an authored `kind: 'full'` record page is drawn on the desktop full page only. A phone and the side drawer draw the standard page (the object's declarations plus any slotted page), and no key keeps a full page there; a page named in the URL, such as a print page, still draws everywhere. The standard page draws no `record_section` action, so an action that must show on a phone or in the drawer also lists `record_more` in its `locations`. The drawer step now says the drawer always shows the standard page. diff --git a/scripts/check-skills-token-ratchet.mjs b/scripts/check-skills-token-ratchet.mjs index 582384924b7..01ca85298d4 100644 --- a/scripts/check-skills-token-ratchet.mjs +++ b/scripts/check-skills-token-ratchet.mjs @@ -1640,7 +1640,15 @@ export const CEILINGS = new Map([ // labels it (Activity) in place of the Chinese word, and step 5's "(one page at two // widths)" aside — step 1 already says layout follows the surface's width — is gone; the // ceiling follows the file down to the measurement (3961 bytes). - ['skills/objectstack-ui/rules/record-page.md', 991], + // 991 -> 989 (#36179, the #36150 skills follow-up): LOWERED. Step 4 says a `kind: 'full'` + // page is drawn on the desktop full page only (phone and drawer draw the standard page) + // and that a `record_section` action also lists `record_more` to show there; step 5 says + // the drawer is always the standard page. Paid for in the same file: the inline + // `relatedListFilter` example (the snippet below shows it), "(no deep merge)" beside + // "each whole", step 6's restated "the default" / "the split … is retired" and its + // keyboard shortcuts, and the preference-store sentence that restates step 6's title; + // the ceiling follows the file down to the measurement (3954 bytes). + ['skills/objectstack-ui/rules/record-page.md', 989], // ── 2026-09-22 the #19715 split — decision batch #213 item 1 ───────────── // The maintainer ruled the four over-500-line published SKILL.md files split diff --git a/skills/objectstack-ui/rules/record-page.md b/skills/objectstack-ui/rules/record-page.md index c2953b4d4fd..16cc7b21475 100644 --- a/skills/objectstack-ui/rules/record-page.md +++ b/skills/objectstack-ui/rules/record-page.md @@ -20,7 +20,7 @@ table in the details after the open field sections (the default for a `master_detail`); `true` (a `lookup`'s default) is a panel in the right column; `false` leaves the child off the page. `relatedListTitle` / `relatedListColumns` (child field names) replace the derived title / columns; -`relatedListFilter` (Query-DSL, `{ status: { $ne: 'done' } }`) is AND-composed +`relatedListFilter` (Query-DSL) is AND-composed with the parent condition, and the panel's count honours it. Rows follow the child's default list view `sort` (`isDefault`, else the first declared); the parent's `relatedLists` orders tables and panels alike. "Put the tasks first on @@ -28,29 +28,30 @@ the lead page" is `relatedLists: ['task']` on `lead` — no page file. **3 · A slotted page overrides one slot.** `kind: 'slotted'` replaces only the slots it names — `header`, `actions`, `alerts`, `highlights`, `details`, -`discussion` — each whole (no deep merge); the synthesizer fills the rest. There +`discussion` — each whole; the synthesizer fills the rest. There is no `tabs` slot: `slots.tabs`, `slots.related` and `slots.relatedLists` are refused by name. `isDefault: true` makes it the object's default record page. -**4 · `kind: 'full'` is the escape hatch.** A record page that looks nothing like -the default — a filtered split (Open vs Closed), a chart tab, a bespoke strip — is -`kind: 'full'`: `regions` drawn as authored ([Pages](./pages.md)), reached for only -when steps 1–3 cannot express the page. +**4 · `kind: 'full'` is the escape hatch, on the desktop full page.** A record page +that looks nothing like the default — a filtered split (Open vs Closed), a chart tab, a +bespoke strip — is `kind: 'full'`: `regions` drawn as authored ([Pages](./pages.md)). +A phone and the drawer draw the standard page (steps 1–3); no key keeps a full page +there, only a page named in the URL (a print page) draws everywhere. The standard page +draws no `record_section` action: one that must show there also lists `record_more`. **5 · The drawer, unless the object declares `page`.** A clicked row opens the -record in the drawer, which expands to the full page; -`navigation: { mode: 'page' }` on the object's list view is for an object whose -record should open as the full page (`new_window`, `none` are the other members). -`modal` / `split` / `popover` were removed in @objectstack/spec 18.3.0 (ADR-0087 -D2) and are refused with their fix. Field count never decides; a phone always pages. +record in the drawer (always the standard page), which expands to the full page; +`navigation: { mode: 'page' }` on the object's list view opens it as the full page +(`new_window`, `none` are the other members). `modal` / `split` / `popover` were +removed in @objectstack/spec 18.3.0 (ADR-0087 D2) and are refused with their fix. +Field count never decides; a phone always pages. **6 · The reader's own choices are not metadata.** ⛔ Never author these: the -Display menu's **Open records** (drawer — the default — or full page, for a -drawer-mode object; the split beside the list is retired), the ⊟ right-column -switch (`⌘⇧,`, per object), the related panels' order and hidden set (⠿ drag, -⌥↑ / ⌥↓, per user × object), the drawer's dragged width and ⤢. They live in the console's -preference store, never in the object; on `navigation` only the `size` bucket -(`sm`…`full`) nudges the drawer's starting width (`width` / `drawerWidth` deprecated). +Display menu's **Open records** (drawer or full page, for a drawer-mode object), the +⊟ right-column switch (per object), the related panels' order and hidden set (per +user × object), the drawer's dragged width and ⤢. On `navigation` only the `size` +bucket (`sm`…`full`) nudges the drawer's starting width (`width` / `drawerWidth` +deprecated). ```typescript From dc54d9c65b55f44c9471b10f6a22317ab8d3a334 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 22:26:06 +0000 Subject: [PATCH 2/2] chore(skills): leave the record-page token ceiling at 991 so the PR stays skills-wording only (#36179) Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01L6bhgViqXNX3ru3BVxMD1k --- scripts/check-skills-token-ratchet.mjs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/check-skills-token-ratchet.mjs b/scripts/check-skills-token-ratchet.mjs index 01ca85298d4..582384924b7 100644 --- a/scripts/check-skills-token-ratchet.mjs +++ b/scripts/check-skills-token-ratchet.mjs @@ -1640,15 +1640,7 @@ export const CEILINGS = new Map([ // labels it (Activity) in place of the Chinese word, and step 5's "(one page at two // widths)" aside — step 1 already says layout follows the surface's width — is gone; the // ceiling follows the file down to the measurement (3961 bytes). - // 991 -> 989 (#36179, the #36150 skills follow-up): LOWERED. Step 4 says a `kind: 'full'` - // page is drawn on the desktop full page only (phone and drawer draw the standard page) - // and that a `record_section` action also lists `record_more` to show there; step 5 says - // the drawer is always the standard page. Paid for in the same file: the inline - // `relatedListFilter` example (the snippet below shows it), "(no deep merge)" beside - // "each whole", step 6's restated "the default" / "the split … is retired" and its - // keyboard shortcuts, and the preference-store sentence that restates step 6's title; - // the ceiling follows the file down to the measurement (3954 bytes). - ['skills/objectstack-ui/rules/record-page.md', 989], + ['skills/objectstack-ui/rules/record-page.md', 991], // ── 2026-09-22 the #19715 split — decision batch #213 item 1 ───────────── // The maintainer ruled the four over-500-line published SKILL.md files split