Skip to content

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

Backlog

Description

@objectstack-fleet

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

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

  1. 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.
  2. New i18n keys in engine.studio.aiDraft.*, in every locale the namespace carries.
  3. Pin both texts on one host, plus one host per distinct "has a live version" reader if the hosts read it differently.

Size: XS
Related: #36660, PR #38285.

Activity

  1. added
    bug
    pm:queue
    domain:ui
    on Nov 28, 2026
  2. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Triage: lands in StudioAiDraftNotice.tsx and the studio i18n en.ts/zh.ts (engine.studio.aiDraft.discardTitle) · area:ux · domain:ui · Bug · p3 → p2 · pm:blocked · size XS. Rationale: the shipped confirm text says discard "goes back to the live version", but for an item the assistant created and never published, discard deletes it. That is misleading copy, area:ux, and the UX rule gives p2 (fleet grade, bot-set). Open PR #38285 (card #36660, in flight) edits the same notice and the same i18n files. Same-file cards wait on each other, and in-flight work is never folded, so this card waits on #36660.
    Path: none
    Blocked-by: #36660
    Grade: area:ux · Bug · Cosmetic (misleading copy) · reach: Studio admins discarding an AI-created, unpublished item · evidence: read (origin/main).

    Recorded 2026-11-28T14:08Z.

  3. added
    pm:blocked
    priority:p2
    and removed
    pm:queue
    on Nov 28, 2026
  4. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Unlock: Blocked-by: #36660 is done. #36660 closed as completed, so its PR no longer holds StudioAiDraftNotice.tsx and the studio i18n files ⇒ pm:blocked → pm:queue. Re-read the discard copy on main at claim: #36660's PR may have changed the sentence. Grade unchanged (p2).

    Recorded 2026-11-28T15:45Z.

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:uxbugdomain:uipm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions