Repository navigation
fix(spec): record page descriptions no longer claim a key-field strip or stage path - #35977
Conversation
…age path The default record page draws no record:highlights strip and no record:path stage path; the stage is the status tag beside the record name. Reword the highlightFields describe, JSDoc and Studio help text (every metadata-form locale), the stageField and RECORD_HIGHLIGHTS_MAX doc comments, the record:details hideFields description, Studio's lifecycle-field help, the os explain text of two lint rules, and comments in the examples, the dogfood test and the synthesizer. Regenerate the spec references, the en metadata-form bundle, the SDUI manifest and the component reference. On a phone the default record page no longer passes a highlight list to buildDefaultPageSchema, which never read it; the page and the phone subtitle are unchanged. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgW85kwjGaz7HqsmEuv
📓 Docs Drift CheckThis PR changes 4 package(s): 5 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
⛔ 3 release-owned page(s) also name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 174 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 b70457c3979ba77d4ec98de4ed5ebcdda36a5add && git checkout b70457c3979ba77d4ec98de4ed5ebcdda36a5add
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin f3c9d426f9dc5c0a791f5f6621951e61b3feba8e e552fec501a7d281f42f89b6557ce9b104a91c7e && git checkout -B drift-repro f3c9d426f9dc5c0a791f5f6621951e61b3feba8e && git merge --no-ff e552fec501a7d281f42f89b6557ce9b104a91c7e
node scripts/docs-audit/affected-docs.mjs --json f3c9d426f9dc5c0a791f5f6621951e61b3feba8e
|
|
repo:objectstack#1 · os-sales · session_01L6bhgW85kwjGaz7HqsmEuv Final green head · 2026-11-21T03:40Z · area b1-DB
|
|
repo:objectstack#1 · os-sales · session_01L6bhgXtcSJVbw8Gny1ERbP 维护者速读
席位核对 — REWORK (L1-c) · repo:objectstack#1 · head
|
…ngeset follow the strip-free default page The field-group-shadowed-six-highlights upgrade-guide entry no longer tells authors to move highlights: the default record page draws no key-field strip, so the warning judges the record title alone and no action is owed. Two comments that still placed a strip on the default page are reworded, and the changeset gains @object-ui/types for the slot-menu doc it ships. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgW85kwjGaz7HqsmEuv
|
repo:objectstack#1 · os-sales · session_01L6bhgW85kwjGaz7HqsmEuv Final green head (fix round 1) · 2026-11-21T04:35Z · area b1-DB
|
|
repo:objectstack#1 · os-sales · session_01L6bhgXtcSJVbw8Gny1ERbP 维护者速读
席位核对 — delta ACCEPT (L1-c) · repo:objectstack#1 · head
|
…7f2bb06a07e # Conflicts: # ui/packages/plugin-detail/src/synth/buildDefaultPageSchema.ts
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgW85kwjGaz7HqsmEuv
|
repo:objectstack#1 · os-sales · session_01L6bhgW85kwjGaz7HqsmEuv Final green head (merge main after #35921) · 2026-11-21T05:47Z · area b1-DB
|
|
repo:objectstack#1 · os-sales · session_01L6bhgXtcSJVbw8Gny1ERbP 维护者速读
席位核对 — merge delta ACCEPT (L1-c) · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Seat landing · 2026-11-21T05:49Z · Area b1-DB's PR for #35943. Seat call: the |
Requested by Sales · project thread
repo:objectstack#1 · os-sales · session_01L6bhgW85kwjGaz7HqsmEuv
Fixes #35943
Clause-②: no
Metadata-protocol: none
Skills-docs: follow-up #35942 (
skills/objectstack-ui/rules/record-page.mdstill sayshighlightFieldsdraws a strip andstageFielda stage path; a skills-lane card). This PR touches noskills/**file.维护者速读
What changes
Since #35938 the default record page (
buildDefaultPageSchema) draws no key-field strip (record:highlights) and no stage path (record:path); the stage is the status tag beside the record name. These texts still said otherwise:@objectstack/spec: thehighlightFieldsJSDoc and describe now name what it drives (default list and related-list columns, cards, hover cards, previews, the record picker) and say the default record page draws no strip from it. ThestageFieldJSDoc says the header's status tag reads it. TheRECORD_HIGHLIGHTS_MAXJSDoc says the count cuts only a strip a page places in itshighlightsslot, and no longer says thefield-group-shadowedlint reads it (it stopped in feat(plugin-detail): the default record page drops the stage bar and key-field strip; the stage moves from the header tag #35938). The upgrade-guide entryfield-group-shadowed-six-highlightskeeps saying what the 18.x step was, but itsreason,replacementandacceptanceCriterianow say the warning judges the record title alone: a group emptied by highlights alone no longer warns, and no action is owed. The Studio help text ofhighlightFields(object.form.ts) and the liveness ledger note say the same. The generated references are regenerated.@objectstack/platform-objects: thehighlightFieldshelp text in all ten translated metadata-form locales carries the new sentence.en.metadata-forms.generated.tsis regenerated, not hand-edited.@objectstack/lint: theos explaintext ofobject-field-ref-unknownandsemantic-role-field-unprovisioned, and thevalidate-object-field-refsheader, name the hover card and the record picker in place of the strip. The explain pin invalidate-object-field-refs.test.tsfollows the new sentence.@object-ui/plugin-detail: therecord:detailshideFieldsdescription no longer says the synth pipeline fills it; the key is still accepted.sdui.manifest.jsonandcontent/docs/ui/components/record.mdxare regenerated from it. Comments inbuildDefaultPageSchema.ts,record-details.tsxand the README follow.@object-ui/i18n: Studio's lifecycle-field help (engine.studio.settings.stageField,stageNone, en and zh) talks about the status tag, not a progress bar.@object-ui/app-shell(the one code change): the phone path no longer passesphoneRecordHeader(...).highlightFieldstobuildDefaultPageSchema, and the desktop path no longer passessynthParts.highlightFields.buildDefaultPageSchemanever readsoptions.highlightFields: onlybuildDefaultHighlightsreads it, and a slotted page'shighlightsslot is pushed as authored. So the page is the same. The phone subtitle is unchanged.@object-ui/types: the pagehighlightsslot doc (layout.ts) says the slot places a strip the synthesized default does not draw. It ships in the package's.d.ts, so the changeset carries a patch entry.@object-ui/fieldsRecordHoverCard.tsx, the semantic-zoo and account showcase objects, three app-crm objects,sys-record-share.object.ts, the dogfood test and thesys_emailaudit test.Out of scope, as dispatched: retiring
BuildPageOptions.highlightFields / .statusField / .stages. Their JSDoc is as #35938 left it.Tests
Local runs
All at tree
fd4c5841, the same tree as head6c5199bb, which only rewords the commit trailer. Run throughscripts/pm/os-verify-lock.sh(VERDICT command-exit 0 each):pnpm --filter @objectstack/lint test: Test Files 222 passed (222), Tests 9350 passed (9350);typecheckgreen.pnpm --filter @objectstack/spec exec vitest run src/ui/component.test.ts src/data/object.test.ts: 2 files, 584 tests passed.pnpm --filter @objectstack/platform-objects test: 125 files, 2094 tests passed;typecheckgreen.pnpm --dir ui exec vitest runover the app-shell phone and record-page tests (recordPagePush-27058,RecordDetailView.phoneFace-27058,RecordDetailView.phoneOwnerLine-28909),ObjectSettingsPanel.sharedSelect-11865,packages/i18n/andpackages/plugin-detail/src/synth/: 125 files, 2235 passed, 13 skipped.pnpm --dir ui exec vitest run packages/plugin-detail/src/renderers/: 115 files, 1194 tests passed.@object-ui/plugin-detailand@object-ui/i18ntype-checkgreen.@object-ui/app-shell:tsc --noEmitgreen after building its dependency closure. Thetsconfig.test.jsonhalf is left to CI because this diff touches no app-shell test file.pnpm --dir ui exec vitest run scripts/: 172 files passed, 2 skipped; 5111 tests passed.Regenerated:
gen:docs(3 reference pages),check-i18n-bundles.mjs --write(en metadata-form bundle;pnpm check:i18nOK),gen-sdui-manifest-node.mjsandgen-sdui-reference.mjs. After the build,check:generatedreports nothing stale.Derived gates (
dispatch-gates.mjs --commands): all 135 ran; the--ranreconciliation shows 135 accounted, 134 run, 1 NOT MEASURED. NOT MEASURED:check-plugin-teardown-shape.mjs --self-test, because its pinned positive control is outside this shallow clone (exit 3). It is a checker-health self-test.Ablation: none. The one code change drops an option the builder never reads (only
buildDefaultHighlightsreadsoptions.highlightFields), so no tested behaviour moved.Fix round 1 at
bf7ff1ee(L1-c 7056805574): spec build, thenvitest run src/migrations/5 files / 198 tests passed; climigrate-meta-engine-guidance.test.ts(integration tier) 1 file / 3 tests passed; speccheck:spec-changes,check:upgrade-guide,check:generated,check-adr-0087-registration,check-empty-changeset,check-changeset-no-major,check:changeset-fixed,check:doc-authoring,check:nul-bytes,check:issue-citationsall exit 0.Acceptance notes
PhoneRecordHeader.highlightFieldsandPHONE_HIGHLIGHTS_MAX(recordPhoneHeader.ts) now have no production reader; onlyrecordPagePush-27058.test.tsxreads them. They stay here so this PR changes no behaviour and drops no pinned assertion. The module doc says so.examples/app-showcase/e2e/detail-shapes.spec.tsstill expects the stage path and theRecord highlightsstrip on the semantic-zoo default page. This run did not execute it: it needs a live showcase and is not wired to CI. Read from the source, it would fail at its first stage-path assertion.HighlightFieldsEditor.tsx) still draws a "Highlight strip preview", "as the record page will show it". The default record page draws no strip. That label and the preview are UI behaviour, not description text, so they are left for a separate card.docs/adr/0085-*.md("the detail highlight strip consumeshighlightFields") is a governed surface and is not touched..changeset/35252-field-group-shadowed-six-highlights.md(unreleased) is left as written; this PR does not edit another PR's changeset.Verification
Read first, by risk:
ui/packages/app-shell/src/views/RecordDetailView.tsx: thebuildDefaultPageSchemacall. This is the one non-comment code hunk; check that nothing else reads the dropped option.packages/platform-objects/src/apps/translations/*.metadata-forms.generated.ts: the hand-written locale sentences.packages/spec/src/data/object.zod.ts: thehighlightFieldsdescribe.Two-minute check:
git grep -n 'detail highlight strip' -- packages/spec/src packages/platform-objects/src packages/lint/src ui/packages/plugin-detail/src sdui.manifest.jsonprints nothing. Onmainit prints the spec describe and JSDoc, the Studio help text and its English bundle copy.Left as written:
InterfaceListPage.tsx,objectViewTabs.tsand two tests still call "the detail highlight strip" the first consumer ofhighlightFieldswhen they explain why it is not a column list. That is about a strip a page places, not the default page.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgW85kwjGaz7HqsmEuv