Repository navigation
docs(skills): the record-page skills teach relatedLists as the tab list, a group's own fields and the pinned details column (#35902, #35942) - #36222
Conversation
…st, a group's own fields, and the pinned details column The objectstack-ui record-page rule, the objectstack-data relationships rule and field-groups example, the navigation rule, the record-page evals and the Pages guide teach what #35923, #36136, #35921 and #35925 shipped: the parent's relatedLists decides which tabs show and in what order (the three built-ins by object name, an entry's own label and columns), a master_detail child is a tab unless a parent field group places it, a group lists its members in fields, the stage is the header's status tag with no stage bar or key-field strip, and the wide full page pins the details left with no right rail. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWCfqdb19A74hDYnKp
…sharingModel The docs security-posture gate (os validate's security-owd-unset) refuses an os:check ObjectSchema example with no sharingModel. Both quote examples now declare 'private'; the rule pays for it in the same file. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWCfqdb19A74hDYnKp
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-22T03:08Z. The brief handed to the isolated rules-face reviewer for PR #36222 (skills Contract review brief — PR #36222 @
|
|
repo:objectstack#1 · os-sales · session_01L6bhgXtcSJVbw8Gny1ERbP 维护者速读技能文字整体和现在的代码对得上:页签由父对象的「关联列表」决定、写了就只显示列出的、附件/审批/动态按名字列、主从子表默认是页签、分组用自己的字段清单、宽屏字段钉左栏。指南文档也写得准确。 席位核对 — REWORK (L1-c) · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Contract reviewServed-tier: Read for this record: brief 7073362919; cards #35902, #35942 and #36188 with every comment; rulings 7072511859 (#35897) and 7073014077 (#35901); merged PRs #35923, #35921, #35925 and #36136 through the spec and renderer they landed on ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix. Each
Attempts to break it, and what they left:
Outside ④, for the lane seat's read of the guide: the Implemented-by: VERDICT: PASS |
…Lists leaves it out; pinning needs no child table in the details Review fixes: the record-page rule, the relationships rule and the Pages guide say a master_detail table a parent field group places keeps its tab while the parent declares no relatedLists (and loses it when a declared list omits it); step 1 says a page whose details hold a child table, or that has no other tab, draws one column. Eval 6 now declares a tab list without the lines; the eval must_not_contain tokens are narrowed to code shapes so a prose explanation does not fail; the guide example says why quote_line is in both places. Paid for in the same files. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWCfqdb19A74hDYnKp
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-22T03:34Z. The brief handed to the isolated rules-face reviewer for PR #36222 r3 (skills Contract review brief — PR #36222 @
|
|
repo:objectstack#1 · os-sales · session_01L6bhgXtcSJVbw8Gny1ERbP 维护者速读上一轮的两处都改对了:技能、指南和评测现在都说清楚,分组把子表放进字段区后,页签仍然保留,除非写了关联列表且没列它;「报价明细放到金额上面」的标准答案也补上了不列明细的关联列表。宽屏钉左栏也补上了条件:字段区里有子表、或者没有别的页签时,是一栏。为了不超字数上限,删了几句旧的举例和说明,删掉的都不影响正确性。 席位核对 — ACCEPT (L1-c, delta) · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Contract reviewServed-tier: Read for this record: brief 7073636991; cards #35902, #35942 and #36188 with every comment; rulings 7072511859 and 7048340194 (#35897) and 7073014077 (#35901); every comment on PR #36222 (brief 7073362919, L1-c REWORK 7073387487, record 7073403529 on 4885e48, L1-c delta ACCEPT 7073653951); the PR body, its 8-file list and the net diff against ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix. Each
The earlier record's N1 and N2, re-tested against ruling 7048340194 as shipped:
Attempts to break it, and what they left:
Outside ④, for the lane seat's read of the guide: Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Contract reviewServed-tier: Read for this record: brief 7073636991; cards #35902, #35942 and #36188 with every comment; rulings 7072511859 and 7048340194 (#35897) and 7073014077 (#35901); every comment on PR #36222 (brief 7073362919, L1-c REWORK 7073387487, record 7073403529 on 4885e48, L1-c delta ACCEPT 7073653951); the PR body, its 8-file list and the net diff against ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentNo must-fix, no should-fix. Each
The earlier record's N1 and N2, re-tested against ruling 7048340194 as shipped:
Attempts to break it, and what they left:
Outside ④, for the lane seat's read of the guide: Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Seat landing · 2026-11-22T03:43Z · #35902 slice 2 (folds #35942, and the skills part of #36188): the published skills now teach the record page as it ships. The tabs come from the parent's declared Reviews:
Gates on this head (
The seat readies this PR and arms auto-merge in the same step. The PR carries |
…nd the tab-by-default master_detail rule, not the retired right rail (objectstack-ai#36284) <!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XC63go34oEMBFaBgqpoDC8N)_ Fixes objectstack-ai#36188 Clause-②: no Metadata-protocol: none repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 Takes over objectstack-ai#36188 PR B from seat repo:objectstack#1 (hand-over 7073956497) ## 维护者速读 - 用户无感:只改内部测试清单里七条记录页测试项的文字,产品本身不变。 - 记录页去掉右侧摘要栏、主从子表改为默认作页签之后,这七条仍按旧布局写,照着跑会把正常的产品判成失败;属于记录页重做专题。 - 出错只会让测试员照错误的步骤操作、得出错误结论,不影响任何用户,改回文字即可撤回。 - 无。 ## What changes Seven platform-checklist items still described the record page's right summary rail (retired by the ruling on the layout card, comment 7064066204: fields pinned in the left column when 320 + 400 fit; landed in `48c732c4`), its 最近动态 card, the first tab's old name 概览, or the e2e spec under its old name. One of them also asserted the master_detail rule `f3c9d426f` replaced. Each is rewritten in place, with `revision` bumped and a `history` row (README "Lifecycle — Change"); none is retired, because every subject is still live. | Item | Rev | Change | |---|---|---| | `records-forms.crud-roundtrip` | 21 → 22 | steps[5], acceptance[4].verify: stream from the Activity tab or `?related=timeline`; first tab 详情; the account page never pins (its 'primary' body tables) | | `records-forms.related-list-server-pagination` | 14 → 15 | steps[0–2,5,7], acceptance[2,5].verify: no 其他相关 cards; Contacts read as its tab; today's `relatedList` describe quoted | | `records-forms.record-edit-undo` | 8 → 9 | steps[2]: stream from the Activity tab; a wide full page pins the details with no 详情 tab | | `records-forms.field-history-tracking` | 14 → 15 | steps[3], acceptance[2].verify: the audit read at open rests on `historyConsumerOnScreen`, not the retired card; the drawer half, which named the rail, is dropped | | `records-forms.master-detail-body-tables` | 1 → 2 | rewritten to the tab-by-default rule: fixture `showcase_expense_report` (group `lines` places `showcase_expense_line`); the table sits at the group's position, keeps its tab, the page never pins; Tasks on a project stays as the tab-only contrast in the drawer | | `records-forms.related-tab-arrangement` | 1 → 2 | 概览 → 详情 throughout; e2e spec renamed `record-tabs-rail-35595.spec.ts` → `record-tabs-35595.spec.ts`; Northwind never pins | | `attachments-storage.download-authz-both-sides` | 12 → 13 | steps[6]: the panel is the face of the 附件 tab, beside the pinned details or on the one-column row | Sources for every rewritten assertion (all at base `28ba01fe`): - Pinning: `recordPagePinsDetails` and `RECORD_PAGE_PIN_MIN_WIDTH` (320 + 24 + 400) in `ui/packages/plugin-detail/src/synth/recordPageColumns.ts`; pinned by `RecordPageColumns.test.tsx` ("pins: details left at 400 px…", "a page whose field groups place a related table among the fields does not pin", "a drawer or pane (no `fullPage`) never pins"). - Tab row and markers: `RecordPageColumns.tsx` (`data-record-page-pinned`, `data-record-columns-shown`, tabs without 详情 when pinned, the implied first tab), `RecordTabRow.tsx` (`data-record-tab`); 详情 is `detail.recordTabOverview` in every locale. - Audit read at open: `RecordDetailView.tsx` `historyConsumerOnScreen`; pinned by `RecordDetailView.recordOpenWaves-13010.test.tsx` ("a trackHistory record reads the audit log at open…"). - Tab by default / group placement / keeps its tab / declared `relatedLists` drops it: `deriveRelatedLists.ts` (`keepsTab`), `buildDefaultPageSchema.ts#bodyTablePlacement`; pinned by `buildDefaultPageSchema.bodyTables-27055.test.ts`, `deriveRelatedLists.test.ts`, `deriveRelatedLists.relatedListsOrder-27069.test.ts`, `RecordDetailView.harness.test.tsx` (the five relation-type cells). - Fixture: `examples/app-showcase/src/data/objects/expense-report.object.ts` (`fieldGroups` report / lines / totals) and the seed's EXP-2001 lines. `showcase_invoice` was not used: its default record page is the authored `kind: 'full'` invoice document, drawn as written on the desktop full page. - Attachments tab: `RecordPageColumns.tsx` (`RECORD_TAB_ATTACHMENTS`), drawn by `record-attachments-renderer.tsx` as `RecordAttachmentsPanel`. This also covers released card objectstack-ai#35846 (the master-detail item now asserts the merged rule). Text only: no code, no `skills/**` (PR objectstack-ai#36222 did that). ## Tests Docs only: no test file changes. The checklist's own validator is the gate. <details><summary>check:platform-checklist and the derived gate families (head 3039436; rework head 28973d3: check:platform-checklist OK, 16 areas, 436 items; 17 derived families, 17 run, 0 not measured)</summary> ``` check-platform-checklist: OK — 16 areas, 436 items (428 active, 3 planned) … symbol anchors: 1749/1759 resolved (base: 1745/1755; unresolved stays at the 10 on the named residual) dispatch-gates --ran: 17 derived famil(ies) accounted for — 17 run, 0 NOT-MEASURED (a DERIVED zero — all 17 recorded an exit code and none of them is 3) ``` All 17 exited 0: check-adr-links (+ self-test), check-closing-keyword-parity (+ self-test), check-comment-mask-corpus, plan-test-core-shards self-test, lint check:doc-formula-expressions (first run exit 3 PREREQUISITE, re-run exit 0 after building formula + lint), check:adr-anchors, check:ci-filter-parity, check:cross-package-test-inputs, check:doc-authoring, check:driver-memory-census, check:gitlink-declared, check:nul-bytes, check:platform-checklist, check:refd-timer-probe, check:watch-hint-literal. </details> Net lines: +111 / −57 (net +54, budget 60). ## Acceptance notes - Overlap (resolved 2026-11-22): PR objectstack-ai#36273 merged first (`d953558b9`). This branch merged `origin/main` at `1cd47628e` as merge commit `28973d379`, with no rebase. In `related-list-server-pagination` steps[1], the quote is now main's `relatedList` describe word for word, re-read at `1cd47628e`, and the item stays at one revision bump on top of main (14 → 15). After the merge, overlap-check is clean. Rework report: card comment 7075633975. - `skip-changeset`: `docs/qa/**` sits in the private root package and in no package's `files[]`, so nothing publishes. - Not filed (polish/naming): several test titles still say 「概览」 for the tab that now reads 详情; the docblocks of `RECORD_PAGE_WIDE_MIN_WIDTH` / `RECORD_PAGE_TWO_COLUMN_MIN_WIDTH` and the tier comment in `RecordDetailView.tsx` still describe a right column. - Revision 1 of `master-detail-body-tables` opened `showcase_project`'s full page, whose default record page is an authored `kind: 'full'` page; the rewrite reads Tasks in the drawer, which draws the standard page. - Not measured: whether Northwind's tab row holds three side lists today (`related-tab-arrangement` fixture); the example list now names only what the showcase declares. ## Verification Read first: `records-forms.json` item `master-detail-body-tables` (the full rewrite), then `related-list-server-pagination` steps[1], then `attachments-storage.json` `download-authz-both-sides` steps[6]. Two-minute check: `pnpm check:platform-checklist` prints `check-platform-checklist: OK — 16 areas, 436 items`. --- _Generated by [Claude Code](https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797)_ <!-- signed: repo:objectstack#4 · os-project-manager · session_01FEkQ5kDGa1ViantgrfH797 --> Co-authored-by: Claude <noreply@anthropic.com>
Requested by Sales · project thread
repo:objectstack#1 · os-sales · session_01L6bhgWCfqdb19A74hDYnKp
Part of #35902
Fixes #35942
Part of #36188
Clause-②: no
Metadata-protocol: none
Skills-docs: updated here
Security-touching: no
Area: b1-RS. Claims: #35902 7072867188 (slice 2; it redoes slice 1, whose branch never reached GitHub), #35942 7072873584 (folded), #36188 7072882981 (this PR is its skills half; the seven platform-checklist JSON items are PR B,
Fixes #36188, after this merges, because a checklist JSON beside skills paths takes a PR off the low-risk skills arm).维护者速读
relatedLists决定:没写就照旧全部显示;写了就只显示列出的,按列的顺序;附件、审批、动态用对象名sys_attachment、sys_approval_request、sys_activity列进来;一项可写{ list, label, columns }给这张子表自己的标题和列。relatedLists: ['task'],按现在的规则这会把其他页签全藏掉。技能和评测改成「列出要保留的全部页签,任务排第一」。fields列成员、不再有阶段条和关键字段条、阶段在名字旁的状态标签里)当时没推上来,这次一起补上,关掉 Skill text: record-page rule still teaches the removed stage path and key-field strip (highlightFields / stageField) after #35891 #35942。What changes
skills/objectstack-ui/rules/record-page.md(3954 → 3951 B, 988 / 991 tokens)highlightFieldsfeed hover cards, pickers, related-list columns) (feat(plugin-detail): the default record page drops the stage bar and key-field strip; the stage moves from the header tag #35938, Skill text: record-page rule still teaches the removed stage path and key-field strip (highlightFields / stageField) after #35891 #35942).fieldGroupsare the Details sections, each listing its members infields; absent, the fields whosegroupnames it (feat(spec): a field group lists its own members and order (fieldGroups[].fields) #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 (feat(record-page): on a wide full page the details are pinned left beside the record's tabs; the right summary rail is retired (#35890) #36136,recordPagePinsDetails). The old 760 / 1120 px two- and three-column text, the right column and the Overview tab are gone.relatedListsis the tab list" (feat(spec): relatedLists is the record page's tab list, with built-in tabs by object name and per-entry title and columns #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 arelatedListsthat does not name it. Kept from the old step 2:relatedList: false,relatedListFilter, the default list viewsort. A parent group{ key, label, relatedList: 'quote_line' }(nofields) places a child table among the fields, written only when asked (技能、文档、示例和 HotCRM 用上记录页的新写法:relatedLists 列页签、分组列字段、分组指向子表、扩展包声明位置 #35902's open question); its tab stays unless a declaredrelatedListsomits it (主从子表默认只是页签,不再自动放进概览和表单;只有字段分组指定时才放进去 #35889's note, seat reading 7048340194, as shipped by feat(spec): relatedLists is the record page's tab list, with built-in tabs by object name and per-entry title and columns #35923). The old "'primary'default for a master_detail" and "relatedLists: ['task'], no page file" are removed (feat(spec, ui): a master_detail child is a tab by default; a field group puts it in the overview and the form #35921, feat(spec): relatedLists is the record page's tab list, with built-in tabs by object name and per-entry title and columns #35923).width/drawerWidthaside, step 1's "the other tabs right", step 4's "a filtered split (Open vs Closed)" and step 5's "(new_window,noneare the other members)" and "Field count never decides".os:checkexample is a quote (sharingModel: 'private') with a group listing itsfieldsand arelatedListsentry 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, amaster_detailchild too;falsehides;'primary'makes a body table with no tab; a parent group naming amaster_detailchild places its table there too (written only when asked), and its tab stays unless a declaredrelatedListsomits it; the parent'srelatedListsis the tab list (pointing at objectstack-ui Record Page), with the built-ins and the entry form; an entry'slabel/columnswin overrelatedListTitle/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 infields;Field.groupis 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):taskfirst, and refusesrelatedLists: ['task']and a group naming the task list. Its old answer ("already a full-width body table") is wrong since feat(spec, ui): a master_detail child is a tab by default; a field group puts it in the overview and the form #35921.'sys_attachment'.fields, with nogroupon the field.{ key: 'lines', label, relatedList: 'quote_line' }between the two, and arelatedListsnaming the tabs kept withoutquote_line(an undeclared parent keeps a group-placed table's tab).must_not_containtokens are code shapes (relatedLists: ['task'],,'sys_attachment',,group: 'basic' }…), so an answer that names the wrong shape in prose is not failed.must_not_containtoken appears in its own reference answer; everymust_containtoken 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";bodyTablePlacementsince #35742). New subsection "Declaring the tabs and the field groups":relatedListsas the tab list with the built-ins and entries, a group'sfields, a group placing a child table (its tab stays unless a declaredrelatedListsleaves it out), and epic #35896's full quote example (os:check, withsharingModel: 'private'; a comment saysquote_lineis 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
scripts/check-skills-token-ratchet.mjsedit is outside the low-risk skills arm. All four files fit under their current ceilings.check-doc-authoring).relationships.md,skills/objectstack-ui/rules/list-views.md:370andskills/objectstack-ui/SKILL.md:48still teach thatinlineEdit: truealone puts the child rows on the parent's form; since feat(spec, ui): a master_detail child is a tab by default; a field group puts it in the overview and the form #35921 a parent field group decides andinlineEditonly 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.mdxwas not touched: the brief names the record-page section.Verification
(readings against
main48c732c, head 7b3f52e)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: 41ObjectSchema.createexamples carry anos validate-clean posture (the first head missedsharingModelon both quote examples; CI caught it, fixed in 4885e48).defineStack(cross-reference validation): the guide's quote withquote_line,taskandaccountaccepted; control: the same quote withoutquote_lineis refused (relatedLists[0] 'quote_line' matches no inbound relationship of 'quote'); the rule's short quote with aquote_linechild accepted; the data skill's account accepted.node scripts/pm/check-governed-merges.mjs --branch claude/project-thread-emjngv: skills/** ×6 (all.mdorevals/*.json), plus a changeset and onecontent/docs.mdx, 296 changed lines; the arm's--prreading follows on the PR.Follow-ups
docs/qa/platform-checklist/areas/records-forms.json×6,attachments-storage.json×1),Fixes #36188, in a new session after this merges.inlineEditskills text (above).Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintpasses. (skills and doc gates above)main, one pull request.packages/spectouched: n/a.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgWCfqdb19A74hDYnKp