From 3b7aa8435538d915d99871f7a9745332ba722509 Mon Sep 17 00:00:00 2001 From: Samuel K Date: Mon, 25 May 2026 13:12:05 -0500 Subject: [PATCH] fix(desktop): restore copy logs button in workspace wizard The button was dropped when CreateWorkspaceSheet was replaced by WorkspaceWizard in #432. Restore it on the launch step so users can copy the streamed creation output for debugging. --- .../workspace/WorkspaceWizard.svelte | 27 ++++++++++++++++--- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/desktop/src/renderer/src/lib/components/workspace/WorkspaceWizard.svelte b/desktop/src/renderer/src/lib/components/workspace/WorkspaceWizard.svelte index 22be286f9..7893a68c7 100644 --- a/desktop/src/renderer/src/lib/components/workspace/WorkspaceWizard.svelte +++ b/desktop/src/renderer/src/lib/components/workspace/WorkspaceWizard.svelte @@ -26,7 +26,7 @@ import { providers } from "$lib/stores/providers.js" import { workspaces } from "$lib/stores/workspaces.js" import { toasts } from "$lib/stores/toasts.js" import { extractErrorMessage } from "$lib/utils/error.js" -import { isCommandSuccess } from "$lib/utils/log-parser.js" +import { isCommandSuccess, stripAnsi } from "$lib/utils/log-parser.js" import type { UnlistenFn } from "$lib/ipc/types.js" type Step = "provider" | "source" | "ide" | "review" | "launch" @@ -679,9 +679,28 @@ function selectTemplate(t: { name: string; source: string }) { {/if} {#if outputLines.length > 0} -
- -
+
+
+

Output

+ +
+
+ +
+
{:else if launchRunning}