From 9d7a139d2b3aff237e6e423a7e36f44a83695114 Mon Sep 17 00:00:00 2001 From: Samuel K Date: Sun, 20 Sep 2026 22:28:39 -0600 Subject: [PATCH 1/2] fix(desktop): keep workspace status pill at intrinsic width Signed-off-by: Samuel K --- .../src/lib/components/workspace/WorkspaceOperation.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/renderer/src/lib/components/workspace/WorkspaceOperation.svelte b/desktop/src/renderer/src/lib/components/workspace/WorkspaceOperation.svelte index e045a3c2b..ec08a83ff 100644 --- a/desktop/src/renderer/src/lib/components/workspace/WorkspaceOperation.svelte +++ b/desktop/src/renderer/src/lib/components/workspace/WorkspaceOperation.svelte @@ -24,7 +24,7 @@ async function retryRefresh(event: MouseEvent) { } } -
+
{#if workspaceJobBusy(job)}{/if} {label ?? status ?? "Checking"} From e67b757faa30372875edb5e923b0e31b3d47a149 Mon Sep 17 00:00:00 2001 From: Samuel K Date: Sun, 20 Sep 2026 22:29:27 -0600 Subject: [PATCH 2/2] test(desktop): cover status pill intrinsic width Signed-off-by: Samuel K --- .../lib/components/workspace/WorkspaceOperation.test.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/desktop/src/renderer/src/lib/components/workspace/WorkspaceOperation.test.ts b/desktop/src/renderer/src/lib/components/workspace/WorkspaceOperation.test.ts index 7086c9e37..21b96034b 100644 --- a/desktop/src/renderer/src/lib/components/workspace/WorkspaceOperation.test.ts +++ b/desktop/src/renderer/src/lib/components/workspace/WorkspaceOperation.test.ts @@ -14,6 +14,13 @@ beforeEach(() => { vi.clearAllMocks() }) describe("WorkspaceOperation", () => { + it("keeps the status pill at intrinsic width inside the live region", () => { + const ui = render(WorkspaceOperation, { id: "ws", status: "Running" }) + const badge = ui.getByText("Running") + const liveRegion = badge.parentElement + expect(liveRegion?.classList.contains("flex-col")).toBe(true) + expect(liveRegion?.classList.contains("items-start")).toBe(true) + }) it("keeps the action visible over a stale runtime observation", () => { workspaceJobs.set({ ws: {