Skip to content

Commit 59b5779

Browse files
docs(skills): objectstack-ui record page says a full page is drawn on the desktop full page only; record_section actions also list record_more (#36179) (#36196)
<!-- claude-projects-attribution: {"github_login":"os-sales"} --> _Requested by **Sales** · [project thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4Uu1C9rnKF5jTysPLEXARCWqC)_ repo:objectstack#1 · os-sales · session_01L6bhgViqXNX3ru3BVxMD1k Fixes #36179 Claim: issuecomment 7070212796 on #36179 (branch `claude/project-thread-g1rp28`). **Premise (3 lines).** (1) Since #36150 (PR #36174, merged 1208cc8) an authored `kind: 'full'` record page is drawn on the desktop full page only; a phone and the drawer draw the standard page, which draws no `record_section` action (`ui/packages/app-shell/src/views/recordPageSurface.ts`, `authoredRecordPageApplies`). (2) `skills/objectstack-ui/rules/record-page.md` steps 4 and 5 still teach the full page as drawn wherever the record opens, with no `record_more` advice. (3) This PR fixes those two steps only, skills wording only, paid for inside the same file; no other skills file or eval asserts the old behaviour. Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户/开发者能看到什么变化:照着界面技能写自定义记录页(`kind: 'full'`)的 AI 和开发者,现在会被告知这种页只在电脑整页生效,手机和右侧抽屉显示平台标准页;放在页面区块里的动作(`record_section`)要在手机和抽屉里出现,必须同时放进「⋯」(`record_more`)。以前照技能写,动作在手机和抽屉里会消失。 - 风险:只改对外技能的文字和一个 changeset,不动运行时。写错的话作者拿到的仍是不准的说明,回退这个 PR 即可。 - 代价:技能文件不变长(同文件里删了几处重复和快捷键说明来付),token 上限不动。 - 要你做什么:无。 ## What changes `skills/objectstack-ui/rules/record-page.md` (published catalog), 3944 → 3954 bytes, 989 tokens against its ceiling of 991: - **Step 4** title: "`kind: 'full'` is the escape hatch, on the desktop full page." Body adds: 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, so one that must show there also lists `record_more`. - **Step 5**: the drawer is "always the standard page", so an author testing a full page through a row click knows why they see the standard page. - **Paid for in the same file** (deletion, not re-wrap): the inline `relatedListFilter` example in step 2 (the `os:check` snippet below shows the same filter), "(no deep merge)" beside "each whole" in step 3, "reached for only when steps 1–3 cannot express the page" in step 4 (the file's opening line and "escape hatch" say it), step 6's restated "— the default —" and "the split beside the list is retired" (step 5 says both), step 6's keyboard shortcuts (`⌘⇧,`, ⠿ drag, ⌥↑ / ⌥↓: reader controls, nothing an author writes), and "They live in the console's preference store, never in the object" (step 6's title says it). Changeset `.changeset/36179-ui-record-page-full-desktop-only.md`, `@objectstack/skills` patch, both declaration lines. **Small calls made in this thread** (dev threads decide small things themselves, Sales 2026-11-21 22:19:27Z): - The two platform pages that keep their own page everywhere (approval request, user) are not named in the skill: an author does not author those pages, and the budget has 2 tokens left. - `skills/objectstack-ui/rules/pages.md`, `actions.md`, `navigation.md` and `evals/record-page.json` were read: none says a full page applies on the phone or in the drawer, and the one eval with a `kind: 'full'` page (`placedActions: true` on its header) is a desktop full-page behaviour, unchanged. No eval edit. - The token ceiling row is left at 991 rather than lowered to 989: a ratchet-script edit is outside the low-risk skills arm and would make this PR Tier H. A later skills PR can lower it. ## Why L1-c's REWORK on PR #36174 (record 7067418640) flagged the skill as owing this; `skills/**` rides only a `domain:skills` PR (pm-dispatch SKILL.md:320), so it is its own card, regraded p1 (ruling-ref 7070084648). #36180 (spec describes) is the separate twin and lands on its own. ## Verification - `node scripts/check-skills-token-ratchet.mjs --self-test && node scripts/check-skills-token-ratchet.mjs`: green; `record-page.md` 989 / 991. - `check-skill-links`, `check-skill-identifier-liveness`, `check-skill-frame-sync`, `check-skill-frame-freshness`, `check-skill-top-level-keys`, `check-skill-compatibility-version`: green. - `npm run check:pm-skill-ratchet`, `npm run check:pm-skill-id-lint`: green. - `node scripts/pm/check-governed-merges.mjs --branch claude/project-thread-g1rp28`: skills/** ×1 (published catalog), Tier H on a path-only read; changed paths are one catalog Markdown file and one changeset, both declarations bare `no` / `none`, no `security` label or security-named path, 26 changed lines. So the low-risk skills arm (#33501, maintainer ruling 2026-11-14) should read it Tier S on `--pr`; the `--pr` reading follows on the PR. ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (not touched) - [x] 2. Every name I added uses the casing for its kind. (no names) - [x] 3. No formatter ran; `pnpm lint` passes. (skills gates above) - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. (not touched) - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. (the 维护者速读 block is the seat's Chinese summary for the maintainer) - [x] The *Before Submitting* list in CONTRIBUTING.md is done. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L6bhgViqXNX3ru3BVxMD1k <!-- signed: repo:objectstack#1 · os-sales · session_01L6bhgViqXNX3ru3BVxMD1k --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent eb7ad70 commit 59b5779

2 files changed

Lines changed: 26 additions & 17 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
Clause-②: no
6+
Metadata-protocol: none
7+
8+
`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.

‎skills/objectstack-ui/rules/record-page.md‎

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,37 +20,38 @@ table in the details after the open field sections (the default for a
2020
`master_detail`); `true` (a `lookup`'s default) is a panel in the right
2121
column; `false` leaves the child off the page. `relatedListTitle` /
2222
`relatedListColumns` (child field names) replace the derived title / columns;
23-
`relatedListFilter` (Query-DSL, `{ status: { $ne: 'done' } }`) is AND-composed
23+
`relatedListFilter` (Query-DSL) is AND-composed
2424
with the parent condition, and the panel's count honours it. Rows follow the
2525
child's default list view `sort` (`isDefault`, else the first declared); the
2626
parent's `relatedLists` orders tables and panels alike. "Put the tasks first on
2727
the lead page" is `relatedLists: ['task']` on `lead` — no page file.
2828

2929
**3 · A slotted page overrides one slot.** `kind: 'slotted'` replaces only the
3030
slots it names — `header`, `actions`, `alerts`, `highlights`, `details`,
31-
`discussion` — each whole (no deep merge); the synthesizer fills the rest. There
31+
`discussion` — each whole; the synthesizer fills the rest. There
3232
is no `tabs` slot: `slots.tabs`, `slots.related` and `slots.relatedLists` are
3333
refused by name. `isDefault: true` makes it the object's default record page.
3434

35-
**4 · `kind: 'full'` is the escape hatch.** A record page that looks nothing like
36-
the default — a filtered split (Open vs Closed), a chart tab, a bespoke strip — is
37-
`kind: 'full'`: `regions` drawn as authored ([Pages](./pages.md)), reached for only
38-
when steps 1–3 cannot express the page.
35+
**4 · `kind: 'full'` is the escape hatch, on the desktop full page.** A record page
36+
that looks nothing like the default — a filtered split (Open vs Closed), a chart tab, a
37+
bespoke strip — is `kind: 'full'`: `regions` drawn as authored ([Pages](./pages.md)).
38+
A phone and the drawer draw the standard page (steps 1–3); no key keeps a full page
39+
there, only a page named in the URL (a print page) draws everywhere. The standard page
40+
draws no `record_section` action: one that must show there also lists `record_more`.
3941

4042
**5 · The drawer, unless the object declares `page`.** A clicked row opens the
41-
record in the drawer, which expands to the full page;
42-
`navigation: { mode: 'page' }` on the object's list view is for an object whose
43-
record should open as the full page (`new_window`, `none` are the other members).
44-
`modal` / `split` / `popover` were removed in @objectstack/spec 18.3.0 (ADR-0087
45-
D2) and are refused with their fix. Field count never decides; a phone always pages.
43+
record in the drawer (always the standard page), which expands to the full page;
44+
`navigation: { mode: 'page' }` on the object's list view opens it as the full page
45+
(`new_window`, `none` are the other members). `modal` / `split` / `popover` were
46+
removed in @objectstack/spec 18.3.0 (ADR-0087 D2) and are refused with their fix.
47+
Field count never decides; a phone always pages.
4648

4749
**6 · The reader's own choices are not metadata.** ⛔ Never author these: the
48-
Display menu's **Open records** (drawer — the default — or full page, for a
49-
drawer-mode object; the split beside the list is retired), the ⊟ right-column
50-
switch (`⌘⇧,`, per object), the related panels' order and hidden set (⠿ drag,
51-
⌥↑ / ⌥↓, per user × object), the drawer's dragged width and ⤢. They live in the console's
52-
preference store, never in the object; on `navigation` only the `size` bucket
53-
(`sm`…`full`) nudges the drawer's starting width (`width` / `drawerWidth` deprecated).
50+
Display menu's **Open records** (drawer or full page, for a drawer-mode object), the
51+
⊟ right-column switch (per object), the related panels' order and hidden set (per
52+
user × object), the drawer's dragged width and ⤢. On `navigation` only the `size`
53+
bucket (`sm`…`full`) nudges the drawer's starting width (`width` / `drawerWidth`
54+
deprecated).
5455

5556
<!-- os:check -->
5657
```typescript

0 commit comments

Comments
 (0)