Repository navigation
feat(plugin-detail): the default record page drops the stage bar and key-field strip; the stage moves from the header tag - #35938
Conversation
…field strip; stage moves from the header tag The default record page no longer emits record:highlights or record:path and the details body keeps every grouped field. The header's stage tag is a menu (RecordStageMenu via RecordHeaderState.stage) listing every stage, unreachable ones disabled with a reason; a stage that makes other fields required asks for them in the confirmation and writes them with the move. The phone header now shows the stage tag. field-group-shadowed stops counting the strip. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
… Enter confirms An alert dialog focuses Cancel on open, so Enter after picking a stage from the header menu cancelled the move. The menu's dialog now focuses the first field it asks for, or Move when it asks for none. record:path keeps the alert dialog default. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
A full record page copies the synthesized default, which since #35891 places no record:highlights and no record:path, so acceptance[0] now asks for the default's blocks and for neither block. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
The record-page skill, the pages guide and the object references said highlightFields draws a strip under the title and stageField a stage path on the default record page. Since #35891 the stage is the header tag's menu and highlightFields drives hover cards, the record picker and default columns. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
…trip The phone face no longer draws a strip under the subtitle, and the 7190 dependsOn pins place the strip through a slotted page's highlights slot, so both InlineFieldInput call sites stay covered. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
…m the meta line The default record page draws no path bar and no strip, so the 29935 pins read the stage from the header's stage tag, and the 28909 pins find the owner in the meta line at both widths. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
…roject-thread-tpkpoi
📓 Docs Drift Check1 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 4 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 0c863ce938cf7879bed3aa6c97d070b6612387ba && git checkout 0c863ce938cf7879bed3aa6c97d070b6612387ba
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 170ca481f0aeec14ca06d74ec3d57c654997e698 d6f24785edef951c39479f85405b1d4d55e3379f && git checkout -B drift-repro 170ca481f0aeec14ca06d74ec3d57c654997e698 && git merge --no-ff d6f24785edef951c39479f85405b1d4d55e3379f
node scripts/docs-audit/affected-docs.mjs --json 170ca481f0aeec14ca06d74ec3d57c654997e698 |
…adowed reads the default page differently Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
|
repo:objectstack#1 · os-sales · session_01L6bhgXtcSJVbw8Gny1ERbP 维护者速读
席位核对 — REWORK (L1-c) · repo:objectstack#1 · head
|
…ollow-up A domain:ui pull request does not edit skills/**; the skill text moves to its own card. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
The default record page draws no strip since #35891, so the tabs-and-rail geometry pin places the stage path and key fields the way an author does, in the highlights slot, and keeps its span and tab assertions. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-20T21:48Z. The brief handed to the isolated declaration-face reviewer for PR #35938 (owed by the PR's Contract review brief — PR #35938 @
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Contract reviewServed-tier: Inputs, read at 2026-11-20T21:54Z: cards #35891 and #35849 with every comment; epic #35590, its body and every comment, the fig. 41 direction comment 7045581845 among them; the PR #35938 body; its 44-file list; the net diff against ① Derived judgments
② Semver level
③ Boundary flags
Findings:
Implemented-by: VERDICT: PASS |
Rule (d) of validate-semantic-roles keeps both changes: members come from readFieldGroupMembership (a group's own fields list first), and only the record title is hidden from the body. The case that expected a highlighted member to shadow its group now expects no finding; a title-only list still flags field-group-shadowed. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
… reads BuildPageOptions.highlightFields, .statusField and .stages are accepted by buildDefaultPageSchema and buildDefaultTabs but read only by buildDefaultHighlights now that the default page draws no strip and no stage bar. Say so in their JSDoc and the changeset, and drop the two dead pass-throughs into synthTabs. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-20T22:42Z. The DELTA brief handed to the same isolated declaration-face reviewer for PR #35938 (delta of its record 7051547558 on Contract review brief — PR #35938 @
|
|
repo:objectstack#1 · os-sales · session_01L6bhgXtcSJVbw8Gny1ERbP 维护者速读
席位核对 — ACCEPT (L1-c) · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Contract reviewServed-tier: This is a DELTA record. It reviews this head against the record on
The check-runs on the head: 63 ① Derived judgmentsThe changes between the two net diffs are exactly these. Everything else is context shifted by the merge.
S1: closed ② Semver level
③ Boundary flags
No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob L2 adoption and landing · 2026-11-20T22:47Z · The seat adopts the isolated declaration-face L2 delta record 7052470651 on head L1-c: REWORK 7050407052, then delta ACCEPTs and 7052429551 on |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 44833961783 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Flake reading and re-queue · 2026-11-20T23:26Z · Merge-queue run 44833961783 dropped this PR. Its one failed shard is The head |
…st, a group's own fields and the pinned details column (objectstack-ai#35902, objectstack-ai#35942) (objectstack-ai#36222) <!-- claude-projects-attribution: {"github_login":"os-sales"} --> _Requested by **Sales** · [project thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuVUBehQPXWLrrSjKtHkXE93)_ repo:objectstack#1 · os-sales · session_01L6bhgWCfqdb19A74hDYnKp Part of objectstack-ai#35902 Fixes objectstack-ai#35942 Part of objectstack-ai#36188 Clause-②: no Metadata-protocol: none Skills-docs: updated here Security-touching: no Area: b1-RS. Claims: objectstack-ai#35902 7072867188 (slice 2; it redoes slice 1, whose branch never reached GitHub), objectstack-ai#35942 7072873584 (folded), objectstack-ai#36188 7072882981 (this PR is its skills half; the seven platform-checklist JSON items are PR B, `Fixes objectstack-ai#36188`, after this merges, because a checklist JSON beside skills paths takes a PR off the low-risk skills arm). ## 维护者速读 - AI 按技能搭建记录页时,现在知道页签由父对象的 `relatedLists` 决定:没写就照旧全部显示;写了就只显示列出的,按列的顺序;附件、审批、动态用对象名 `sys_attachment`、`sys_approval_request`、`sys_activity` 列进来;一项可写 `{ list, label, columns }` 给这张子表自己的标题和列。 - 以前技能教「把任务排第一」写 `relatedLists: ['task']`,按现在的规则这会把其他页签全藏掉。技能和评测改成「列出要保留的全部页签,任务排第一」。 - 主从子表默认是页签(objectstack-ai#35921 之后),技能不再说「默认是正文表」;父对象分组指向子表才进字段区,而且只在使用者明确要求时才写。 - 第 1 片(分组用 `fields` 列成员、不再有阶段条和关键字段条、阶段在名字旁的状态标签里)当时没推上来,这次一起补上,关掉 objectstack-ai#35942。 - 右栏、⊟ 开关的文字删掉,改成今天的布局:宽的整页把字段钉在左栏,其余页签在右边。 - 新增三条评测:「去掉附件页签」「税号排在行业后面」「报价单的明细放在金额上面」;指南文档记录页一节加了父单的完整报价单例子。 - 代价:只改技能文字、评测、指南和一个 changeset,不动运行时;四个技能文件都没超上限,上限一个没动(同文件删过期文字来付)。 ## What changes **`skills/objectstack-ui/rules/record-page.md`** (3954 → 3951 B, 988 / 991 tokens) - Step 1: the stage is the status tag beside the title, whose menu moves it; no stage bar or key-field strip (`highlightFields` feed hover cards, pickers, related-list columns) (objectstack-ai#35938, objectstack-ai#35942). `fieldGroups` are the Details sections, each listing its members in `fields`; absent, the fields whose `group` names it (objectstack-ai#35925). Layout: a full page fitting 320 px of details beside 400 px of tabs pins the details left, the other tabs right; unless the details hold a child table or there is no other tab; otherwise one column, Details first (objectstack-ai#36136, `recordPagePinsDetails`). The old 760 / 1120 px two- and three-column text, the right column and the Overview tab are gone. - Step 2 is now "The parent's `relatedLists` is the tab list" (objectstack-ai#35923): without it nothing changes; declared, only the named lists show, in order (unlisted approvals and the stream still follow); the built-ins by object name; "tasks first" lists every tab to keep; leaving out `'sys_attachment'` drops attachments; `{ list, label, columns }`; a built-in is a bare name; a child list another package adds is hidden by a `relatedLists` that does not name it. Kept from the old step 2: `relatedList: false`, `relatedListFilter`, the default list view `sort`. A parent group `{ key, label, relatedList: 'quote_line' }` (no `fields`) places a child table among the fields, written only when asked (objectstack-ai#35902's open question); its tab stays unless a declared `relatedLists` omits it (objectstack-ai#35889's note, seat reading 7048340194, as shipped by objectstack-ai#35923). The old "`'primary'` default for a master_detail" and "`relatedLists: ['task']`, no page file" are removed (objectstack-ai#35921, objectstack-ai#35923). - Step 6: the ⊟ right-column switch is removed (objectstack-ai#36188); the details column's dragged width joins the reader's choices. - Paid for in the same file: step 1's retired layout text, step 3's "the synthesizer fills the rest", step 5's removal release ("removed in @objectstack/spec 18.3.0 (ADR-0087 D2)": the refusal carries its fix), step 6's "(drawer or full page, for a drawer-mode object)" and the deprecated `width` / `drawerWidth` aside, step 1's "the other tabs right", step 4's "a filtered split (Open vs Closed)" and step 5's "(`new_window`, `none` are the other members)" and "Field count never decides". - The `os:check` example is a quote (`sharingModel: 'private'`) with a group listing its `fields` and a `relatedLists` entry carrying its own label and columns. **`skills/objectstack-data/rules/relationships.md`** (16790 → 16812 B, 4203 / 4203), Detail-page related lists: every child is a tab by default, a `master_detail` child too; `false` hides; `'primary'` makes a body table with no tab; a parent group naming a `master_detail` child places its table there too (written only when asked), and its tab stays unless a declared `relatedLists` omits it; the parent's `relatedLists` is the tab list (pointing at objectstack-ui Record Page), with the built-ins and the entry form; an entry's `label` / `columns` win over `relatedListTitle` / `relatedListColumns`. Paid for by the old tri-state bullets, the "Suppress a noisy association" comment, and a shorter refusal aside ("bar a platform or sibling-artifact name", "one into a package is stored, placing nothing"). **`skills/objectstack-data/references/examples-objects.md`** (6894 → 6876 B), Field Groups: a group lists its members in `fields`; `Field.group` is the older spelling, still read; the two refusals named; the example lists members on the groups. **`skills/objectstack-ui/rules/navigation.md`** (10251 → 10219 B): "`fieldGroups` + `Field.group`" is "`fieldGroups`", twice. **Evals** (`skills/objectstack-ui/evals/record-page.json`, README; measured, not ratcheted): - Case 1 (tasks first) now expects the full tab list, `task` first, and refuses `relatedLists: ['task']` and a group naming the task list. Its old answer ("already a full-width body table") is wrong since objectstack-ai#35921. - Case 4: remove the attachments tab: the full list without `'sys_attachment'`. - Case 5: a Tax ID field after Industry in the group's own `fields`, with no `group` on the field. - Case 6: a quote's line items above its Amount section instead of a tab: a group `{ key: 'lines', label, relatedList: 'quote_line' }` between the two, and a `relatedLists` naming the tabs kept without `quote_line` (an undeclared parent keeps a group-placed table's tab). - `must_not_contain` tokens are code shapes (`relatedLists: ['task'],`, `'sys_attachment',`, `group: 'basic' }` …), so an answer that names the wrong shape in prose is not failed. - No case's `must_not_contain` token appears in its own reference answer; every `must_contain` token does (checked by script). **Guide (`content/docs/ui/pages.mdx`, Record pages)**: the synthesized default says every related list is a tab by default, the header's status tag carries the stage with no stage bar or strip, and an unplaced `'primary'` table sits after the field sections drawn open (it said "after the first field section"; `bodyTablePlacement` since objectstack-ai#35742). New subsection "Declaring the tabs and the field groups": `relatedLists` as the tab list with the built-ins and entries, a group's `fields`, a group placing a child table (its tab stays unless a declared `relatedLists` leaves it out), and epic objectstack-ai#35896's full quote example (`os:check`, with `sharingModel: 'private'`; a comment says `quote_line` is in both places on purpose, so it is drawn in the details and keeps a tab with its own columns). The layout paragraph gets its own heading, "How the page is laid out". "A one-word change on the relationship field" now reads "a declaration on the parent (a field group naming the list)". **Changeset** `.changeset/35902-skills-related-lists-tabs.md`: `'@objectstack/skills': patch`, both declaration lines. ## Small calls made in this thread - No ratchet ceiling moves: a `scripts/check-skills-token-ratchet.mjs` edit is outside the low-risk skills arm. All four files fit under their current ceilings. - The skill says "no package places its own list yet" rather than naming the follow-up card: the published catalog refuses internal ids (`check-doc-authoring`). - The Inline Editing section of `relationships.md`, `skills/objectstack-ui/rules/list-views.md:370` and `skills/objectstack-ui/SKILL.md:48` still teach that `inlineEdit: true` alone puts the child rows on the parent's form; since objectstack-ai#35921 a parent field group decides and `inlineEdit` only picks grid or form. Not in this PR (it is form entry, not the record page's tabs, and it spans three more files): follow-up for the seat to card. - `content/docs/ui/field-grouping-and-order.mdx` was not touched: the brief names the record-page section. ## Verification (readings against `main` 48c732c, head 7b3f52e) - Reviews on 4885e48: L1-c REWORK 7073387487 (two must-fixes, both in 7b3f52e); Fable rules L2 PASS 7073403529 (N1 narrowed in 7b3f52e, N2 closed by L1-c's fix 1, N3 = L1-c's fix 2, N4 left). - `node scripts/check-skills-token-ratchet.mjs`: 60 authored files within ceilings. - `pnpm check:skill-links` (270 links, 139 fragments), `check:skill-identifier-liveness` (549 citations), `check:doc-authoring` (75 published skill files with no internal ids; 516 doc files clean): green. - `pnpm --filter @objectstack/spec check:skill-examples`: 348 marked examples type-check across 3 surfaces (EXIT 0), the new record-page, examples-objects and pages.mdx blocks among them. - `pnpm --filter @objectstack/lint run check:doc-security-posture`: 41 `ObjectSchema.create` examples carry an `os validate`-clean posture (the first head missed `sharingModel` on both quote examples; CI caught it, fixed in 4885e48). - The examples through `defineStack` (cross-reference validation): the guide's quote with `quote_line`, `task` and `account` accepted; control: the same quote without `quote_line` is refused (`relatedLists[0] 'quote_line' matches no inbound relationship of 'quote'`); the rule's short quote with a `quote_line` child accepted; the data skill's account accepted. - `node scripts/pm/check-governed-merges.mjs --branch claude/project-thread-emjngv`: skills/** ×6 (all `.md` or `evals/*.json`), plus a changeset and one `content/docs` `.mdx`, 296 changed lines; the arm's `--pr` reading follows on the PR. ## Follow-ups - PR B: the seven checklist items (`docs/qa/platform-checklist/areas/records-forms.json` ×6, `attachments-storage.json` ×1), `Fixes objectstack-ai#36188`, in a new session after this merges. - objectstack-ai#35902 stays open for the objectstack-ai#35901 batch (extension placement), the repo example and HotCRM. - `inlineEdit` skills text (above). ## 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. - [x] 3. No formatter ran; `pnpm lint` passes. (skills and doc 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: n/a. - [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 maintainer's Chinese summary) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L6bhgWCfqdb19A74hDYnKp <!-- signed: repo:objectstack#1 · os-sales · session_01L6bhgWCfqdb19A74hDYnKp --> --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Sales · project thread
repo:objectstack#1 · os-sales · session_01L6bhgTcbvQNTSr6ij3TMW7
Fixes #35891
Fixes #35849
Part of epic #35590 (record page redo). Maintainer, 2026-11-20 17:16:59Z, on the fig. 41 direction for these two cards: 「把阶段条和关键字段条去掉,是的」.
Clause-②: yes (widening) — new members:
RecordStageMenuandRecordStageMenuPropson the@object-ui/plugin-detailentry, theRecordHeaderStagePartstype and an optionalstagemember onRecordHeaderStatein@object-ui/components, fourdetail.stageMenu*keys in every@object-ui/i18nlocale, and@objectstack/lintfield-group-shadowedaccepting more (a highlighted member no longer counts as hidden from the body); nothing removed or renamed (useStageChange's new third parameter is package-internal: the hook is not exported from the entry)Metadata-protocol: semantic — the same metadata draws a different default record page:
highlightFieldsno longer draws a strip or takes fields out of their groups,stageFielddraws the header tag's menu instead of a pathSkills-docs: follow-up #35942 (
skills/objectstack-ui/rules/record-page.mdstep 1 still sayshighlightFieldsdraws a strip andstageFielda stage path; a skills-lane card). This PR updates the hand-written docs:content/docs/ui/pages.mdx(the synthesized default and thehighlightsslot row),content/docs/ui/forms.mdx,content/docs/data-modeling/objects.mdxandschema-design.mdx(whathighlightFieldsandstageFielddrive)维护者速读
Why
Epic #35590 redraws the record page to fig. 41: one header row, then the record's own groups. The maintainer confirmed dropping the stage bar and the key-field strip (quoted above), which leaves the header's status tag as the only place the stage is read, so it becomes the place it is moved. With the strip gone, nothing needs to be taken out of the groups, which is #35849's 「后台配的分组原样生效」.
What changes
The default record page (
buildDefaultPageSchema) no longer emitsrecord:highlightsorrecord:path. Its shape is nowpage:header, then an authoredhighlightsslot if one is given, thenpage:tabs.Field groups as configured (#35849). The details body draws every field its groups hold. The highlight fields and the stage field are no longer taken out of their groups (
headerDrawnFieldsanddrawnPathFieldare gone,synthTabsno longer takes a hidden list).highlightFieldsis unchanged and still drives the hover card, a related list's default columns and the record picker. Nothing is picked when an object declares none (#28868 kept). Of #35849's three items, the read-only top row is no longer needed once the strip is gone, as the coordinator's comment on the card says.The stage moves from the header's status tag (#35891).
@object-ui/components:RecordHeaderStategains an optionalstagerenderer,(parts: RecordHeaderStageParts) => ReactNode. The header calls it with the tag it would draw (field, label, tag) and draws the result in the host bar and in its own row. Without a host bar (a phone) the header now draws the stage tag in the row under the record's name, beside the state's tags. Before, a phone showed no stage at all.@object-ui/plugin-detail: newRecordStageMenu. A reader who may edit the stage field sees the tag with an arrow; it opens a menu listing every stage in order, the current one checked. A stage the field's blockingstate_machinecannot reach is disabled, with its reason under the name. Picking a stage opens a confirm dialog focused on Move (Enter confirms), or on the first field it asks for.requiredWhenholds once the record stands on it, for example a loss reason on a lost stage) asks for exactly those fields in the same dialog, and the move and the values go in one write withifMatch. A server refusal stays in the dialog, beside the field it names (a field the menu did not know about is added to the form), and the stage does not move. The server stays the validation authority; the client only decides which fields to ask for.useStageChangetakes{ collectFields: true }for this dialog;record:pathkeeps its plain confirmation and its Cancel-first focus.@object-ui/app-shellRecordDetailView: one hunk, handsRecordStageMenuto the header asrecordHeaderState.stage. The record header's two-row work (记录页头部改成两行:导航条(上下条、来自哪个列表、关闭在最右)加记录名一行;操作按钮恢复最多露 3 个(图 40) #35853) is in flight on another branch; the menu is built on the current tag and rides wherever 记录页头部改成两行:导航条(上下条、来自哪个列表、关闭在最右)加记录名一行;操作按钮恢复最多露 3 个(图 40) #35853 puts the status tag.Kept for authored pages.
buildDefaultHighlightsand both blocks stay: an authored page, or a slotted page'shighlightsslot, still places a strip and a path where it wants them.Lint.
field-group-shadowed(packages/lint) no longer counts the highlight strip as hiding fields from the detail body. A group whose only visible member is the record title still warns.i18n. Four
detail.stageMenu*strings in every locale; zh-Hant regenerated from zh-Hans bygen:zh-hant.Platform checklist.
studio-authoring.record-page-roundtripr17: a full record page copies the default, which now carries no strip and no bar, so acceptance[0] asks for the default's blocks and neither block.records-forms.master-detail-body-tablesacceptance[0] still says the Tasks table sits "under the header strip's stage bar and key fields"; that item belongs to #35889's change of the master-detail default, so it is left to that PR (listed as a follow-up below).Tests
Migrated (the old rule pinned the strip, the path or the hidden list)
plugin-detail/src/synth/__tests__/buildDefaultPageSchema.test.ts: default types arepage:header,page:tabs; a control pins thatbuildDefaultHighlightsstill emits both blocks; the options-override case runs on the sub-builder; the slot case now says the slot places the strip the page draws.plugin-detail/src/synth/__tests__/highlights-declaredOnly-28868.test.ts: sections 2 and 3 rewritten to the new rule (no strip, no path,hideFieldsundefined in every case);deriveHighlightFieldsstill reads the declared list minus the title, at most six.plugin-detail/src/synth/__tests__/buildDefaultPageSchema.strictPayload.test.ts:record:highlightsandrecord:pathleave the emitted-type list.plugin-detail/src/synth/__tests__/buildDefaultPageSchema.bodyTables-27055.test.ts: declared key fields draw no strip; the staged case places its strip through thehighlightsslot.plugin-detail/src/renderers/__tests__/record-path.stageChange-28199.test.tsx: astripPagehelper placesbuildDefaultHighlightsin the slot; describe names say "the synthesized strip".plugin-detail/src/renderers/__tests__/record-highlights.groupGate-12720.test.tsx: the strip node comes frombuildDefaultHighlights.plugin-detail/src/__tests__/RecordPageColumns.test.tsx: uses a slotted strip.app-shell/src/views/RecordDetailView.phoneFace-27058.test.tsx: the header keeps its subtitle and draws no strip under it; the strip's fields read in their groups.app-shell/src/views/RecordDetailView.lookupDependsOn-7190.test.tsx: bothInlineFieldInputcall sites stay pinned; the strip is placed through a slotted page'shighlightsslot (stripPage), holding the list each case declares. Ablated: without the slotted page the strip-site prune case fails.app-shell/src/views/RecordDetailView.updateActionRefresh-29935.test.tsx: the stage is read from the header's stage tag instead of the path bar's current step.app-shell/src/views/RecordDetailView.phoneOwnerLine-28909.test.tsx: no strip at 390 or 1440, and the meta line names the owner at both (it used to be left out on a desktop, where the strip named it).ui/e2e/record-tabs-rail-35595.spec.ts(Playwright, found red on CI Build & E2E UI at7886ee09): the fixture places the stage path and key fields through thehighlightsslot (buildDefaultHighlights), as an authored page does; the span-both-columns and "another tab draws no strip" assertions are unchanged. 6 of 6 pass locally on chromium.packages/lint/src/validate-semantic-roles.test.ts: rule (d) cases rewritten; positions 1 to 6 of a declared list come out clean; title-only still flags, with a hidden-member case and a control; theprimaryField不是可声明键(ObjectSchema 以 unrecognized_keys 拒收),但两条 lint 规则与 objectstack-data 技能文档都把它当作合法 name 面 #6326 primaryField case uses a group holding onlyref_no.Voided (the behaviour is gone by the maintainer's ruling)
New
plugin-detail/src/__tests__/RecordStageMenu-35891.test.tsx(15): menu order and current stage; unreachable stage disabled with its reason; confirm writes withifMatchand re-reads; cancel writes nothing; Closed Lost asks for the loss reason only and writes it with the move; an empty submission's server refusal stays in the dialog beside the field and nothing re-reads; a refusal naming an unknown field adds it; a non-field refusal reads under the form; the plain tag forcanEdit: falseand for a denied field grant, with a control; keyboard: Enter opens, Escape closes, the dialog opens focused on Move (or on the first field), andrecord:pathkeeps Cancel first. The two focus cases were ablated: with the focus hook removed they fail.components/src/__tests__/page-header-stage-tag-35891.test.tsx(5): the phone row draws the stage tag first; the hoststagereceives field, label and tag and replaces the plain tag; the host control draws in the bar's title slot; no stage value means no tag and no call.Acceptance notes
owner_idalso shows it in the body, so the owner is named twice there. That was already the case onmainfor an object declaring no highlights; with highlights declared it is new. Not changed here: follow-up Record page: the owner shows twice when a field group draws owner_id (header meta line plus the group's field) #35941.record:pathuses (useStageChange: pagecanEdit, which an approval lock already turns off, field readonly or computed, the field'srecordEditaffordance and the row-scoped field grant).Verification
Browser (showcase, built console, 1280 and 375 wide, light and dark)
Evidence in
/mnt/project-files/build-seat1/35891/(project files).browser-check-fields-dialog.mdbeside the screenshots. With a temporary, uncommittedrequiredWhen: 'record.status == "done"'on the zoo'scode: picking Done opens a dialog holding only Code, focused; Move with Code empty keeps the dialog open with 「Code不能为空」 under the field and the API statusactive; filling Code and Move closes it, the tag reads Done, the API stores both. A bare PATCH todoneansweredVALIDATION_FAILEDnamingcode, so the server is the authority. No horizontal scroll at either width.Local gates
node scripts/pm/dispatch-gates.mjs --commands: 71 commands, all exit 0. Two first answered non-zero for the box, not the diff, and were re-run:check-plugin-teardown-shape --self-testexit 3 until its pinned fixture commit was fetched (shallow clone), andpnpm --dir ui exec vitest run scripts/killed for memory while a parallel eslint ran.node scripts/check-platform-checklist.mjs --changed-from origin/mainandpnpm check:platform-checklist: OK.node scripts/check-skills-token-ratchet.mjs: within ceilings.ui/: all ofpackages/app-shell(2351 files, 22049 tests: 4 failed on the old rule, migrated as listed under Tests, then the RecordDetailView files re-run green), all ofpackages/components,packages/plugin-detailandpackages/i18n(994 files, 10360 tests, 0 failed). After mergingmain: the RecordDetailView files, plugin-detailsynth, the two new test files andpackages/i18nagain, 0 failed.@objectstack/lint:validate-semantic-roles.test.ts30 passed;tsc --noEmitexit 0.type-check(tsc --noEmitand the test tsconfig) for@object-ui/components,@object-ui/plugin-detail,@object-ui/app-shell: exit 0. ESLint over every changed.ts/.tsx: 0 errors.node scripts/pm/overlap-check.mjs: conflicted with feat(spec): a field group lists its own members and order (fieldGroups[].fields) #35925 (字段分组自己列出成员和顺序(fieldGroups[].fields);字段上的 group 作为旧写法继续读 #35900, the groupfieldslist) inpackages/lint/src/validate-semantic-roles.ts, rule (d). feat(spec): a field group lists its own members and order (fieldGroups[].fields) #35925 landed first (170ca481); resolved in themainmerge below.mainmerge with feat(spec): a field group lists its own members and order (fieldGroups[].fields) #35925:@objectstack/lintvalidate-semantic-roles.test.ts34 passed; plugin-detailsynthre-run.Follow-ups (not in this PR):
records-forms.master-detail-body-tablesacceptance[0] wording ("under the header strip's stage bar and key fields"), with its rewrite of that item.BuildPageOptions.highlightFields/.statusField/.stagesand the phone-capped listRecordDetailViewpasses in; the generatedrecord:details.hideFieldsdescription ("the synth pipeline fills it with the fields already shown inrecord:highlights") and thehighlightFieldsdescribe and Studio help text inpackages/spec("record-detail highlight strip"); both regenerate from spec sources; and the stale comments that still describe the hoisting rule: the JSDoc ofRECORD_HIGHLIGHTS_MAXinpackages/spec/src/ui/component.zod.ts, the semantic-zoo object's comment onhighlightFieldsinexamples/app-showcase, and the dogfood test comment that cites it.Flow: built in the card thread (dev-thread flow); L1 by the L1-c review thread, the seat adopts and lands.
Rework round 1 (L1-c 7050407052)
skills/**hunk is reverted (7886ee09); the skill text is follow-up Skill text: record-page rule still teaches the removed stage path and key-field strip (highlightFields / stageField) after #35891 #35942.hideFieldstext, stale comments), 主从子表默认只是页签,不再自动放进概览和表单;只有字段分组指定时才放进去 #35889 (the master-detail checklist item), Record page: the owner shows twice when a field group draws owner_id (header meta line plus the group's field) #35941 (owner shown twice).7886ee09: Build & E2E UI failed two cases ofrecord-tabs-rail-35595.spec.tsthat read the strip on the default page; migrated at723d2890(Tests).Merge with #35925 and declaration L2 should-fix (7051547558)
mainmerged at170ca481(feat(spec): a field group lists its own members and order (fieldGroups[].fields) #35925). The one conflict was the import block ofvalidate-semantic-roles.ts:RECORD_HIGHLIGHTS_MAXstays dropped,readFieldGroupMembershipis kept. Rule (d) now counts a group's members the way the layout resolves them (feat(spec): a field group lists its own members and order (fieldGroups[].fields) #35925: the group's ownfieldslist first, thenField.group) and hides only the record title from the body (this PR). Both hold.highlightFields: ['name', 'code']to shadow a group listingcodeandname. Under this PR the highlightedcodeis drawn in the body, so the case is migrated: that object now comes out clean, and a group listing only the title still flagsfield-group-shadowed.BuildPageOptions.highlightFields,.statusFieldand.stagesare marked accepted-but-unread in their JSDoc forbuildDefaultPageSchemaandbuildDefaultTabs(theprimaryFieldpattern, objectui#7287);buildDefaultHighlightsstill reads them. The changeset says they no longer do anything on the default page. The two dead pass-throughs intosynthTabsare dropped. Retiring the keys, and the phone-cappedhighlightFieldsthatRecordDetailViewstill computes and passes in (kept here to hold that file to one hunk), is follow-up Record page after #35891: refresh the highlightFields / hideFields descriptions, Studio help and stale comments that still describe the removed strip #35943.Clause-②line no longer listsuseStageChange's third parameter, which is package-internal, and now names thefield-group-shadowedwidening.Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintpasses. (ESLint over the changed files: 0 errors)main, one pull request. (two folded cards, one pull request, as dispatched)packages/spectouched: its generated artifacts are regenerated and committed. (not touched)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgTcbvQNTSr6ij3TMW7