From cc7d1769115b9153eebf2a0e84deb2a8bd23dc6a Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Thu, 3 Sep 2026 18:30:56 +0200 Subject: [PATCH] fix(frontend): stop a dismissed project import from running on MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modal reports dismissal only through its bindable `open` — the X, Escape and the backdrop dispatch neither `confirmed` nor `canceled`. Bind it, so clearing `pick` follows the dialog closing: re-picking the same project opens it again, and a run still in flight is abandoned with a toast instead of writing to the workspace with no UI in front of it. Also mark the inline-link buttons as sanctioned rather than oversights, and give Log out `text-accent` instead of `text-blue-500`. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_012fRjnaHLwjpHN84gNNxah9 --- frontend/src/lib/components/home/WorkspaceEmptyState.svelte | 6 +++++- .../workspaceSettings/SimpleCreateWorkspace.svelte | 2 ++ .../(root)/(logged)/user/(user)/workspaces/+page.svelte | 5 ++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/home/WorkspaceEmptyState.svelte b/frontend/src/lib/components/home/WorkspaceEmptyState.svelte index 0dc547f2cb..ff17e36737 100644 --- a/frontend/src/lib/components/home/WorkspaceEmptyState.svelte +++ b/frontend/src/lib/components/home/WorkspaceEmptyState.svelte @@ -101,7 +101,11 @@ or {#snippet trigger()} - diff --git a/frontend/src/routes/(root)/(logged)/user/(user)/workspaces/+page.svelte b/frontend/src/routes/(root)/(logged)/user/(user)/workspaces/+page.svelte index a76fe6037b..6066cd7263 100644 --- a/frontend/src/routes/(root)/(logged)/user/(user)/workspaces/+page.svelte +++ b/frontend/src/routes/(root)/(logged)/user/(user)/workspaces/+page.svelte @@ -238,7 +238,10 @@ Logged in as {$usersWorkspaceStore?.email} · - + + {/if} {/snippet}