Repository navigation
feat(studio): the organization-flows publish toast names the flows that went live - #27882
Merged
Merged
Conversation
…at went live Claude-Session: https://claude.ai/code/session_01Utp6CZrsFMFmWFsxTaq2Bu Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
domain:ui#3 · os-bill · session_01Utp6CaJoinvGQSbHeDaWBe 席位核对ACCEPT · head
Generated by Claude Code |
This was referenced Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
domain:ui#3 · os-bill · session_01Utp6CaJoinvGQSbHeDaWBe
Requested by Bill · project thread
维护者速读
StudioDesignSurface.tsx里组织范围发布成功的那段 toast,以及 studio 命名空间 en/zh 的两条文案。pnpm --dir ui exec vitest run packages/app-shell/src/views/studio-design/StudioDesignSurface.publishCount-11807.test.tsx,应见 8 passed。Part of #27356 (row 18, hotcrm#2320 Studio S7: the publish toast names the flow)
Clause-②: no
Metadata-protocol: none
What changes
Row 18 has three parts; this PR is the Studio one.
Published {count} package-less flow draft(s). Now one flow readsPublished flow "{label}"(the draft's served label resolved for the locale, else its machine name) and several readPublished {count} flowswith the names, comma-separated, as the toast's description. A refusal, a partial failure and the nothing-pending answer are unchanged.engine.studio.publishedAllFlowsandengine.studio.publishedAllFlowsOnechange in en and zh (the studio namespace's two packs;check:i18n-driftreads the zh row as followed).publishedAllFlowsOnenow takes{label}instead of{count}. No key added, renamed or removed.The other two parts are not Studio's:
FLOW_CLONE_NOTICEinpackages/runtime/src/flow-clone.ts, returned by the flow clone door and shown verbatim on Setup › Packaged automation. Shortening it is a server change, reported to the seat as a card.Switch "{label}" off(packagedAutomation.cloneSwitchSourceOff).Tests
StudioDesignSurface.publishCount-11807.test.tsxgains two cases on the real surface and client, with the server stubbed atfetch: one package-less draft with a label toasts the label; two drafts (one labelled, one not) toast the count row withQA alert (copy), qa_digest_cloneas the description. The existing two-draft case still pins the count row.Readings (head 69fa4a7, branch rebuilt from origin/main 7f80732 after #27832 merged)
StudioDesignSurface.publishCount-11807,.packageLessFlows-11553,.homeLoop-12513and the wholepackages/i18n/: 93 files, 1408 passed / 13 skipped.pnpm --filter @object-ui/app-shell --filter @object-ui/i18n run type-check: both Done, exit 0.scripts/ablation-replace.mjs(anchor 1 to 0): the names readd.nameonly, never the label: 2 failed / 6 passed (both new cases red); restored blob = HEAD blob45453952912c,git diff HEADempty. vitest resolves@object-ui/*to source, so no rebuild leg.pnpm --dir ui run check:i18n-drift: 0 pack values changed; the designer table's 2 changed en values both followed by zh.Acceptance notes
FLOW_CLONE_NOTICEinpackages/runtime/src/flow-clone.ts), is a server-lane change: filed by the seat as The flow clone notice is a paragraph of engine prose; say it in one line (#27356 row 18) #27886, not done here.Verification
On head
69fa4a77:dispatch-gates --commandsderived 34 families for this diff; all 34 were run locally, each exit 0, and--ranreconciled 34 run, 0 NOT-MEASURED, 0 UNRUN (node scripts/check-sdui-manifest.mjsamong them).check:new-line-citations: 0 new. CI check-runs were in progress when this was opened.Generated by Claude Code