Skip to content

Commit 3718424

Browse files
docs(qa): studio-authoring quotes the publish toast as the console draws it (#28526)
<!-- claude-projects-attribution: {"github_login":"os-tesla"} --> _Requested by **Tesla** · [project thread](https://claude.ai/code/project/chan_01AXsQkLFKRdQCqQ3RTr6Jao?thread=cmsg_01AXsQkLFKRdQCqQ3RTr6JaoJ2hTh6Q6JqsGRbtTBSp64u)_ Fixes #27521 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:平台测试清单 `studio-authoring.first-run-loop` 第 4 步(steps[3])里引用的发布提示,从已下线的「Published 1 item in this package (one atomic release)」改成控制台现在实际显示的文字(按数量的「Published N items in this package」,发布对象时附带权限集提示和「Open Access」按钮);条目 revision 8 → 9,并追加一条 history。 - 为什么改:#27521 第 28 行已把「atomic」从发布标题、提示和确认说明里去掉,但这份 QA 清单仍引用旧文字,测试员按清单核对会判错。这是该卡最后一个可在 ui 车道完成的项;第 9 行(取消邀请确认框的「Keep invitation」按钮)需要 spec 新键,已另立 #28519 承接。 - 风险与回滚:只改一份 QA 文档 JSON 的一句步骤文字和修订记录,不改代码、契约或任何发布内容;回滚即 revert 本 PR。 - 先看:`docs/qa/platform-checklist/areas/studio-authoring.json` 第 31 行(steps[3])和第 96 行(revision 9 的 history)。 - 两分钟验证:`pnpm check:platform-checklist` 退出 0;对照 `ui/packages/i18n/src/namespaces/studio/en.ts` 的 `engine.studio.publishedAllCount*` 两个键,文字一致。 - 需要你做的:无,席位落地。 ## What changes - `docs/qa/platform-checklist/areas/studio-authoring.json`, item `studio-authoring.first-run-loop`, `steps[3]`: the publish toast is quoted as main draws it. It read "Published 1 item in this package (one atomic release)", wording PR #27830 retired for this card's row 28. It now reads "Published N items in this package" ("Published 1 item in this package" for one; keys `engine.studio.publishedAllCount` / `publishedAllCountOne`), with the unchanged "Published all drafts in this package" fallback. Because that step's publish puts an object live, the step also names the hint the toast adds since row 35 ("Members can use it once a permission set grants them access.") and its "Open Access" action (`StudioDesignSurface.tsx`). - Revision 8 → 9 with a history entry. Wording only; no clause changed. - Lines 429, 464 and 527 of the same file still say "atomic". They describe the server's publish-drafts semantics or quote the 2026-07 audit document, and both are still accurate, so they stay. ## Why This closes #27521. Every row of the card now has a disposition: - **Row 9 (admin half):** the declared Cancel Invitation confirm still reads "Cancel" / "Cancel Invitation". `ActionRunner.confirmOptions()` puts the action label on the confirm button, and `ActionSchema` has no key for the dismiss label. Seat pick: the spec card #28519 (`ActionSchema.cancelText`, then `sys_invitation` declares "Keep invitation") takes the row. - **The leftover named in the Studio rows' os-dev report** (this docs quote) lands here. - The other 38 rows were already disposed. The row ledger is below. <details><summary>Row ledger (measured on main efb1620 from the card body, all comments, and the PR #27830 / #27849 row tables)</summary> | Rows | Disposition | |---|---| | 1, 20, 21 | landed in PR #27849 | | 2 | card #27853 (remainder #28069) | | 3 | card #27854 | | 4 | info colour landed in PR #27849 · rest card #27855 (`domain:server`, open) | | 5 | keyboard tooltip landed in PR #27849 · hover already on main · empty states will-not-do | | 6 | card #27797 | | 7, 8, 23 | landed in PR #28224 | | 9 | Resend confirm and the workspace "Keep invitation" landed in PR #28224 · admin dismiss label goes to #28519 | | 10 | invite half landed in PR #28224 · Create User half card #27857 | | 11 | sign-in hint and joined state landed in PR #28224 · pre-fill will-not-do (ruling 6545261914) | | 12, 13, 22 | ui halves landed in PR #27849 · rest cards #27858, #27859, #27869 (and #28107, `domain:server`, open) | | 14 | cards #27861, #27862 | | 15 | hover reveal will-not-do · columns card #27863 | | 16 | name derivation already on main · cards #27864, #27865 | | 17, 19 | cards #27866, #27867 (and #28068) | | 18 | already on main via #27808 | | 24, 31, 36 | cards #27833, #27836 (and #27895), #27837 (and #27904, `domain:engine`, open) | | 25, 26, 32, 33, 35, 38 | landed in PR #27830 | | 27 | defect half card #27799 · suggestion half card #27834 | | 28 | wording landed in PR #27830 · naming card #27835 · the QA quote in this PR | | 29, 37 | will-not-do (PR #27830 table) | | 30, 34 | landed in part in PR #27830 · header truncation will-not-do · Publish reason already shipped | | 39 | card #27838 (and #28234, `domain:server`, open) | </details> ## Verification <details><summary>Derived gates (head 5e94fc0)</summary> `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` derived 16 families. Each ran with stdin from /dev/null, exit codes written to disk first: - node scripts/check-adr-links.mjs :: exit 0, --self-test :: exit 0 - node scripts/check-closing-keyword-parity.mjs :: exit 0, --self-test :: exit 0 - node scripts/check-comment-mask-corpus.mjs :: exit 0 - node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0 - pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0. The first run exited 3, a prerequisite refusal that measured nothing (formula/lint dist absent). It went green after `turbo run build --filter=@objectstack/formula --filter=@objectstack/lint` (lock VERDICT command-exit 0). - pnpm 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 :: exit 0 each - Outside the derivation (the ui frame's standing gate): node scripts/check-sdui-manifest.mjs :: exit 0 `dispatch-gates --ran`: 16 derived, 16 run, 0 NOT-MEASURED. </details> ## Acceptance notes - No changeset: the diff touches only `docs/qa/**`, which no package's `files[]` ships, so the PR carries `skip-changeset`. - The quoted strings were read from `ui/packages/i18n/src/namespaces/studio/en.ts` (lines 3140–3145) and the toast branch in `ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx` at main efb1620. The toast was not re-driven in a browser. --- _Generated by [Claude Code](https://claude.ai/code/session_01L9qibzwDG6ZV4BgLRC4oHH)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent f662c71 commit 3718424

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"title": "The first-run authoring loop closes: package → object → record → app → publish → end-user, zero code, zero restarts",
1010
"since": "v16",
1111
"status": "active",
12-
"revision": 8,
12+
"revision": 9,
1313
"priority": "P0",
1414
"surface": "mixed",
1515
"personas": ["admin (seeded admin@objectos.ai)", "end user (same account driving the published app)"],
@@ -28,7 +28,7 @@
2828
"boot the showcase example (objectstack dev --ui --seed-admin -p <port> -d file:/tmp/<run>/data.db), sign in as admin@objectos.ai/admin123, and note the boot timestamp in the server log (the zero-restart clause reads it later)",
2929
"Home → the build chip → create a NEW writable package (维修中心 / com.example.repairs, namespace repairs) via the new-package wizard. Type the identifier yourself: a CJK-only display name derives no package id (objectui PackageFormDialog.tsx toIdSegment: 'Empty when nothing usable remains (a CJK-only name, say)'), and the namespace derives from the id you type. The build chip has two forms (ui/packages/app-shell/src/console/home/HomePage.tsx): with an agent catalog it reads 'Build an app' (data-testid home-build-app) and opens the Studio landing, where New package opens the wizard; with none it reads 'New in Studio' (home-build-in-studio) and opens Studio with the New package dialog already open, the form QA run #27481 met on the stock showcase. Record which",
3030
"Data pillar → new object 'Repair Ticket' (the identifier auto-suggests repair_ticket from the display name, and the dialog PREFIXES it with the package namespace, so the object is named repairs_repair_ticket — the name every later step and clause uses (framework#2694, objectui StudioDesignSurface prefixObjectName). The dialog also carries an OWD (sharing model) choice, pre-selected to the platform's recommended baseline: confirm or change it, then click 'Save as draft', the dialog's confirm button (engine.studio.createDraft; no Studio create dialog has a button named Create)) → add a picklist field Status with 3 values. There is no Save draft button: the designer autosaves, and a picklist field is held unsaved until it has at least one option (the status line reads 'Not saved yet: the field “Status” needs at least one option'), so add the field and fill its options, and the draft save fires",
31-
"open the Changes panel and Publish, then confirm with 'Publish all' in the review sheet; the toast names the count — 'Published 1 item in this package (one atomic release)' (objectui#11807; 'Published all drafts in this package' is the fallback when the count is unknown)",
31+
"open the Changes panel and Publish, then confirm with 'Publish all' in the review sheet; the toast names the count — 'Published N items in this package' (N = the drafts promoted), 'Published 1 item in this package' for one (engine.studio.publishedAllCount / publishedAllCountOne, objectui#11807; 'Published all drafts in this package' is the fallback when the count is unknown) — and, because the publish puts an object live, it adds 'Members can use it once a permission set grants them access.' with an 'Open Access' action (StudioDesignSurface.tsx)",
3232
"create a record in the runtime-faithful Records grid with a Status value chosen",
3333
"Create app 'Repair Center' (identifier auto-suggested) → Interfaces pillar → add a nav item bound to repairs_repair_ticket → Publish",
3434
"return to the console Home (/_console/home — the Studio header's house icon goes to the Studio landing, 'Studio home', and from the landing the console Home is its top bar's product mark, the link named 'PRODUCT home' (e.g. 'ObjectOS home'; data-testid app-bar-product-home, ui/packages/app-shell/src/layout/AppHeader.tsx ProductHomeMark), which goes to the deployment's home path, /_console/home on stock; no control on that bar is named plain 'Home'): the launcher must show Repair Center; open it and drive the end-user list",
@@ -92,7 +92,8 @@
9292
{ "revision": 5, "date": "2026-10-20", "change": "acceptance[0].verify follows F1's testids. Round 14's out-of-scope finding (report 6289612504 on PR #24857, wave anchor #24579): it said F1 targets package-id-input / package-name-input, which no source declares. Read at the console pin 616df6598b42 (objectui blob 58a7f1cbf024): F1 targets studio-pkg-chip, package-form-id-input and package-form-submit, each declared in that tree's app-shell source, and the two old testids appear nowhere in it. So F1 is citable when run at the pinned revision; the live verdict there is not measured here. No clause changed", "ref": "#24963" },
9393
{ "revision": 6, "date": "2026-10-20", "change": "acceptance[0].verify names the console pin cf153eb2e535. PR #24982's pin finding: the verify stated the current pin as 616df6598b42, and PR #24982 moved .objectui-sha to cf153eb2e535. Read in a full objectui clone: e2e/live/studio-object-designer.spec.ts keeps blob 58a7f1cbf024 at both pins (over the range, e2e/live/ changes only ci/backend.env), and studio-pkg-chip, package-form-id-input and package-form-submit are still declared in app-shell's StudioDesignSurface.tsx and PackageFormDialog.tsx at cf153eb2e535. The spec's live verdict at the pin is not measured here. No clause changed", "ref": "#25003" },
9494
{ "revision": 7, "date": "2026-10-26", "change": "fixtures.requires[0] and acceptance[0].verify drop the retired objectui-pin wording (.objectui-sha, 'not runnable from this checkout'), which #26035 left to this file's card: objectui is imported under ui/, so F1 resolves at ui/e2e/live and runs from this checkout, and the console builds from this tree with pnpm console:build. Wording only; the clause is unchanged", "ref": "#25848" },
95-
{ "revision": 8, "date": "2026-10-31", "change": "steps[1], [2] and [6] name the controls as the console draws them. steps[1]: Home's build chip reads 'New in Studio' and opens Studio with the New package dialog when the deployment has no agent catalog, which is what QA run #27481 met, and 'Build an app' (opening the Studio landing) only when it has one (ui/packages/app-shell/src/console/home/HomePage.tsx). steps[6]: the way from the Studio landing to the console Home is the top bar's product mark, a link named 'PRODUCT home' (data-testid app-bar-product-home, ui/packages/app-shell/src/layout/AppHeader.tsx), which is why the run found no control named 'Home'. steps[2] carries the same stale button name the run met elsewhere: the New object dialog confirms with 'Save as draft' (engine.studio.createDraft), not Create. Accuracy finding of QA run #27481. No clause changed. Wave anchor #27377, wave-3 accuracy slice S2; read at base a0f865491d", "ref": "#27481" }
95+
{ "revision": 8, "date": "2026-10-31", "change": "steps[1], [2] and [6] name the controls as the console draws them. steps[1]: Home's build chip reads 'New in Studio' and opens Studio with the New package dialog when the deployment has no agent catalog, which is what QA run #27481 met, and 'Build an app' (opening the Studio landing) only when it has one (ui/packages/app-shell/src/console/home/HomePage.tsx). steps[6]: the way from the Studio landing to the console Home is the top bar's product mark, a link named 'PRODUCT home' (data-testid app-bar-product-home, ui/packages/app-shell/src/layout/AppHeader.tsx), which is why the run found no control named 'Home'. steps[2] carries the same stale button name the run met elsewhere: the New object dialog confirms with 'Save as draft' (engine.studio.createDraft), not Create. Accuracy finding of QA run #27481. No clause changed. Wave anchor #27377, wave-3 accuracy slice S2; read at base a0f865491d", "ref": "#27481" },
96+
{ "revision": 9, "date": "2026-11-01", "change": "steps[3] quotes the publish toast as the console draws it. It still read 'Published 1 item in this package (one atomic release)', a wording retired when the walkthrough of #27521 (row 28) dropped 'atomic' from the publish title, toast and confirm note: the toast is now 'Published N items in this package' ('Published 1 item in this package' for one; engine.studio.publishedAllCount / publishedAllCountOne in ui/packages/i18n/src/namespaces/studio/en.ts), and a publish that puts an app or object live adds the permission-set hint and an 'Open Access' action (ui/packages/app-shell/src/views/studio-design/StudioDesignSurface.tsx). Wording only; no clause changed. Read at base efb1620c", "ref": "#27521" }
9697
]
9798
},
9899
{

0 commit comments

Comments
 (0)