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
[bug] New Workspace modal keeps the setup-script prompt after dismissing Configure #5372
Clicking Configure on the "Setup scripts" sidebar card opens the New Workspace modal pre-filled with a setup-script prompt. If you dismiss the modal without creating a workspace, that prompt stays in the draft. The next time you click + / New Workspace, the composer is still pre-filled with it, even though you never asked to configure setup scripts.
Steps to reproduce
Click Configure on the "Setup scripts" card.
Dismiss the modal (Esc or click outside) without creating a workspace.
Click + / New Workspace.
The composer still shows the setup-script prompt. It should be empty.
Cause
The seeded prompt is written to the persisted new-workspace draft and is only cleared on a successful create, so dismissing the modal leaves it behind.
Activity
fix: solve #5372 — clear setup-script prompt after dismissing Configure
fix(desktop): discard unedited seeded prompt on all non-create closes…
fix(desktop): keep seeded draft across full-page handoff
fix(desktop): reset seeded new-workspace draft when the modal is dism…
fix(desktop): keep seeded draft across full-page handoff
fix(desktop): reset seeded new-workspace draft when the modal is dism…
fix(desktop): keep seeded draft across full-page handoff