You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Studio AI-draft notice: "Discard" says it goes back to the live version, but for an item the assistant created and that was never published there is no live version, and discarding deletes it #38302
Filing gate: ① (a) out-of-scope finding from the #36660 card thread (PR #38285, Acceptance notes, Q2), graded by the L1-b review 7238734970. Source: fleet.
Grading: area:ux · domain:ui · Bug · p3 · reach: a Studio admin who discards an AI-created item that was never published. The button promises "go back to the live version", but the item is deleted instead. That is a surprise, but the result is what a discard of a new item should do. After PR #38285 the same button and wording sit on five StudioAiDraftNotice hosts.
Dedupe: "aiDraft discardTitle live version never published" → only #36660.
维护者速读
问题:Studio 里 AI 草稿提示的「放弃」按钮说的是「放弃未发布的草稿,回到线上版本」。可如果这一项是 AI 新建、从没发布过,就没有线上版本,放弃等于删掉它,提示文字说错了。
修法:从没发布过的项用另一句文案(例如「删除这个 AI 新建、尚未发布的项」),并在确认框里写明会删除。
要你做的:无。
Ask
StudioAiDraftNotice (ui/packages/app-shell/src/views/studio-design/StudioAiDraftNotice.tsx) picks its discard title and confirm text from whether the item has a published version: the current text when it has one, and a delete wording when it does not.
New i18n keys in engine.studio.aiDraft.*, in every locale the namespace carries.
Pin both texts on one host, plus one host per distinct "has a live version" reader if the hosts read it differently.
Activity