Skip to content

Commit 6619df8

Browse files
committed
docs(qa): the record-page round-trip seed carries no strip and no bar
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
1 parent ea83c3e commit 6619df8

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

‎docs/qa/platform-checklist/areas/studio-authoring.json‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -315,21 +315,21 @@
315315
"title": "Record-page authoring round-trip: created bound to its object, seeded from the default layout, block-edited, published, rendered",
316316
"since": "v16",
317317
"status": "active",
318-
"revision": 16,
318+
"revision": 17,
319319
"priority": "P1",
320320
"surface": "mixed",
321321
"personas": ["admin (authors)", "end user (opens the record). The viewer is the admin unless a member is used: every signed-in member reads showcase_account through the showcase's everyone baseline, showcase_member_default (allowRead; examples/app-showcase/src/security/permission-sets.ts MemberDefaultPermissionSet, which the dev CLI adds to every member per request). QA run #29893 (at 589049b0) drove the member leg as phone.demo@example.com and the authored page rendered; record which viewer each run used"],
322322
"fixtures": {
323323
"app": "showcase",
324-
"requires": ["seeded showcase_account records to render the published page against (the stock showcase seed, examples/app-showcase/src/data/seed/index.ts). The object is chosen for two facts. It DECLARES highlightFields (status, industry, annual_revenue; examples/app-showcase/src/data/objects/account.object.ts), and since #28907 the synthesized default draws record:highlights only for declared highlightFields (deriveHighlightFields in ui/packages/plugin-detail/src/synth/buildDefaultPageSchema.ts: an object that declares none gets no strip), so only such an object can show acceptance[0]'s record:highlights. And it ships NO record page (no page under examples/app-showcase/src/ui/pages names it), so the authored page is the one usePageAssignment serves. ⛔ Not showcase_contact: it declares no highlightFields, so its full create seeds no record:highlights by design (QA run #29672). ⛔ Not showcase_invoice: it ships the package default record page showcase_invoice_document (isDefault: true, examples/app-showcase/src/ui/pages/invoice-document.page.ts), which wins by design (objectui react usePageAssignment: the default record page, else the first), and authoring a second isDefault page answers 422 DEFAULT_RECORD_PAGE_CONFLICT. showcase_project, showcase_task and showcase_preference ship defaults too (QA runs #24571 and #24604)"],
324+
"requires": ["seeded showcase_account records to render the published page against (the stock showcase seed, examples/app-showcase/src/data/seed/index.ts). The object is chosen because it ships NO record page (no page under examples/app-showcase/src/ui/pages names it), so the authored page is the one usePageAssignment serves. ⛔ Not showcase_invoice: it ships the package default record page showcase_invoice_document (isDefault: true, examples/app-showcase/src/ui/pages/invoice-document.page.ts), which wins by design (objectui react usePageAssignment: the default record page, else the first), and authoring a second isDefault page answers 422 DEFAULT_RECORD_PAGE_CONFLICT. showcase_project, showcase_task and showcase_preference ship defaults too (QA runs #24571 and #24604)"],
325325
"knownGaps": [
326326
"AUTOMATION LIVES UNDER ui/ — `automated.ref` names objectui specs, and since objectui was imported into this repository they resolve at ui/PATH in this checkout. A jsdom unit pin runs from ui/, the objectui root, with its path written relative to ui/: `cd ui && pnpm exec vitest run --maxWorkers=1 packages/PKG/src/FILE`. ⛔ Not `pnpm --filter @object-ui/PKG exec vitest run FILE`: that runs in the package directory, and the ui vitest guard (ui/scripts/vitest-invocation-guard.mjs, which ui/vitest.config.mts calls) refuses any run whose Vitest root is not ui/ (its package-cwd verdict). a ui/e2e/live spec runs from ui/ with `pnpm test:e2e:live SPEC` against a live backend and the console dev server (the prerequisites are in ui/playwright.live.config.ts). Cite the output naming the commit, or drive the item by hand in the browser and score it as a manual run. ⛔ Never score it as covered on the strength of the `automated` field alone — an unrun pin is a claim, not evidence. Full protocol: RUNNER.md, the objectui-pinned-automation standing fact."
327327
]
328328
},
329329
"steps": [
330330
"open /_console/studio/~all/metadata/page/new — Studio's All metadata area, where the retired Setup create URL (/_console/apps/showcase_app/metadata/page/new) lands in one hop since #28818 (setupMetadataStudioPath); the same create form (MetadataResourceEditPage in create mode), and with no ?package= the save binds no package, as before — and fill the create form: Label 'Invoice Page <uniq>' (slugifies into Name), set Page type = record (the create form defaults Page type to list — objectui metadata-admin anchors.ts, the page createSchema), Kind = full (a record page's Kind defaults to slotted, which saves regions [] and shows the object's synthesized default page by design; only an explicit full copies the default's regions into the draft, the page createSeed in ui/packages/app-shell/src/views/metadata-admin/anchors.ts), Object showcase_account (fixtures.requires[0]); Save",
331331
"capture the PUT /api/v1/meta/page/<name> request the save issues",
332-
"assert the draft body: type:'record', object:'showcase_account', kind:'full', and regions seeded NON-empty from the object's synthesized default detail page (the page resource's createSeed hook) including a record:highlights block carrying the object's declared highlightFields (fixtures.requires[0]) — never a blank canvas (ADR-0034 / objectui#1541)",
332+
"assert the draft body: type:'record', object:'showcase_account', kind:'full', and regions seeded NON-empty from the object's synthesized default detail page (the page resource's createSeed hook) including the record:details field sections, and no record:highlights or record:path block: since #35891 the synthesized default page draws neither, so the copy carries neither (an author adds them as blocks) — never a blank canvas (ADR-0034 / objectui#1541)",
333333
"open the page editor (/_console/studio/~all/metadata/page/<name>, the All metadata item page — the generic editor, since the cross-package leg opens no pillar): the Basics, Data Context and Advanced panels render (the layout is edited on the canvas, not in a Layout section — see acceptance[1].verify), and 'Add block' opens the block-type picker",
334334
"add a block (e.g. Card); the draft autosaves (the block pick and each property edit PUT the draft, and the toolbar Save stays disabled), then Publish through the ResourceEditPage draft/publish chrome",
335335
"GET /api/v1/meta/page/<name>: the published regions must include the added block",
@@ -338,9 +338,9 @@
338338
],
339339
"acceptance": [
340340
{
341-
"clause": "a record page created Kind = full persists bound to its object with PRE-SEEDED regions — record:highlights present, regions non-empty, on an object that declares highlightFields (fixtures.requires[0])",
341+
"clause": "a record page created Kind = full persists bound to its object with PRE-SEEDED regions — regions non-empty and the same blocks as the synthesized default page, which since #35891 places no key-field strip and no stage bar",
342342
"oracle": "network",
343-
"verify": "the captured PUT body has type:'record', object:'showcase_account', kind:'full', Array.isArray(regions) with blocks including record:highlights, which carries the declared highlightFields (status, industry, annual_revenue)",
343+
"verify": "the captured PUT body has type:'record', object:'showcase_account', kind:'full', Array.isArray(regions) non-empty, its blocks (those inside page:tabs included) holding record:details, and no record:highlights or record:path block anywhere in them (buildDefaultPageSchema in ui/packages/plugin-detail/src/synth/buildDefaultPageSchema.ts places neither unless a highlights slot is authored)",
344344
"evidence": "the captured PUT payload"
345345
},
346346
{
@@ -430,7 +430,8 @@
430430
},
431431
{ "revision": 14, "date": "2026-11-03", "change": "the item's record page moves from showcase_contact to showcase_account: fixtures.requires[0], personas[1], steps[0], steps[2], steps[6], acceptance[0] (clause and verify), acceptance[3].verify and automated.ref. Since #28907 (8bb2417a74) the synthesized default record page draws record:highlights only for an object's declared highlightFields (deriveHighlightFields, ui/packages/plugin-detail/src/synth/buildDefaultPageSchema.ts), and showcase_contact declares none. So QA run #29672 read a full create on it with no record:highlights and scored acceptance[0] FAIL as stale spec; its control, a full create on showcase_account, carried the block. Read from source at base 339f63da30: showcase_account declares highlightFields status, industry and annual_revenue (examples/app-showcase/src/data/objects/account.object.ts), the page createSeed copies the synthesized regions on a full create (ui/packages/app-shell/src/views/metadata-admin/anchors.ts), no showcase page names the object, and the everyone baseline showcase_member_default reads it. The clause keeps its strength: a full create on the named object without record:highlights is still the FAIL. acceptance[1] to [3] passed on showcase_contact in the run and are not yet driven on showcase_account. Card #29679, from QA run #29672", "ref": "#29679" },
432432
{ "revision": 15, "date": "2026-11-04", "change": "steps[4] and personas[1] corrected from QA run #29893 (W5-STUDIO, at 589049b0): the record page draft autosaves (Save stays disabled), and the member leg has now been driven. Read at base f68b47ca", "ref": "#29906" },
433-
{ "revision": 16, "date": "2026-11-08", "change": "acceptance[3].verify: a Card from the picker has no properties and renders an empty box, so its title is set before publish and the render is judged by that title. Checklist-accuracy finding of QA run #31486 (owed:weekly, at 0647dabb). Read at base 4894cfe1", "ref": "#31499" }
433+
{ "revision": 16, "date": "2026-11-08", "change": "acceptance[3].verify: a Card from the picker has no properties and renders an empty box, so its title is set before publish and the render is judged by that title. Checklist-accuracy finding of QA run #31486 (owed:weekly, at 0647dabb). Read at base 4894cfe1", "ref": "#31499" },
434+
{ "revision": 17, "date": "2026-11-20", "change": "fixtures.requires[0], steps[2] and acceptance[0] (clause and verify) follow #35891 (epic #35590; maintainer 2026-11-20 17:16:59Z, 「把阶段条和关键字段条去掉,是的」): the synthesized default record page places no record:highlights and no record:path, so a full create copies neither, and acceptance[0] would read their absence as a FAIL. The clause now asks for the default page's blocks, record:details among them, and for neither strip nor bar. showcase_account stays the object because it ships no record page; its declared highlightFields no longer decide the seed. The showcase_contact exclusion is gone with that reason. Read from source on the #35891 branch at base 2f314ee6b9. No run made", "ref": "#35891" }
434435
]
435436
},
436437
{

0 commit comments

Comments
 (0)