Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(agentic-ide): keep the workspace menu off the switching spinner
rubenluetke10-beep0b19008ba569
diff --git a/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.test.tsxindex 205a1df6ea..c37e6fd9df 100644--- a/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.test.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.test.tsx@@ -144,6 +144,12 @@ it("marks a queued workspace before the active workspace changes", () => {const row = screen.getByTestId("ide-workspace-p1-w1");expect(row.getAttribute("aria-busy")).toBe("true");expect(row.textContent).toContain("Switching workspace");+ // The ⋯ button shares the spinner's spot, so it stays hidden while switching.+ const menu = screen.getByRole("button", { name: "Workspace actions for Work" });+ expect(menu.className).toContain("pointer-events-none");+ expect(menu.className).not.toContain("group-hover/space:opacity-100");+ act(() => useIdeProjectsStore.getState().setPendingWorkspaceId(null));+ expect(menu.className).toContain("group-hover/space:opacity-100");});it("gives every workspace row a ⋯ menu and dispatches Jarvis Live", () => {diff --git a/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx b/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsxindex d7de696fb9..127c3a99bd 100644--- a/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx@@ -642,10 +642,18 @@ export function IdeProjectTree() {</button>{(() => {const spaceMenuOpen = contextMenu?.kind === "workspace" && contextMenu.workspaceId === workspace.id;+ // The switching spinner sits exactly where this button appears;+ // the row is still hovered right after the click, so the two+ // glyphs stacked into one smudge. While switching, the spinner+ // owns that spot.+ const reveal = pending && !spaceMenuOpen+ ? "pointer-events-none opacity-0"+ : `focus-visible:opacity-100 group-hover/space:opacity-100 group-focus-within/space:opacity-100 [@media(hover:none)]:opacity-100 ${spaceMenuOpen ? "bg-background/70 text-foreground opacity-100" : "opacity-0"}`;return <button type="button" aria-label={`Workspace actions for ${workspace.name}`} title="Workspace actions"aria-haspopup="menu" aria-expanded={spaceMenuOpen} data-tree-menu-anchor+ tabIndex={pending && !spaceMenuOpen ? -1 : undefined}onClick={(event) => toggleAnchoredMenu(event, { kind: "workspace", projectId: project.id, workspaceId: workspace.id })}- className={`absolute right-1 top-1/2 -translate-y-1/2 rounded p-1 text-muted-foreground transition-opacity hover:bg-background/70 hover:text-foreground focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring group-hover/space:opacity-100 group-focus-within/space:opacity-100 [@media(hover:none)]:opacity-100 ${spaceMenuOpen ? "bg-background/70 text-foreground opacity-100" : "opacity-0"}`}>+ className={`absolute right-1 top-1/2 -translate-y-1/2 rounded p-1 text-muted-foreground transition-opacity hover:bg-background/70 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${reveal}`}><MoreHorizontal className="h-3.5 w-3.5" /></button>;})()}