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: keep terminal pane actions visible
Ruben Lütke363e01ea635f
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.test.tsxindex 33a75e1264..90febb2acc 100644--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.test.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.test.tsx@@ -281,6 +281,40 @@ describe("pane header recap", () => {});});+describe("pane header actions", () => {+ beforeEach(() => {+ globalThis.ResizeObserver = ResizeObserverHarness;+ });++ afterEach(() => {+ vi.restoreAllMocks();+ });++ it("keeps every action visible when the pane is not focused", () => {+ render(+ <AgenticTerminal+ name="Dana"+ displayName="Claude Code"+ appearance="dark"+ fontSize={13}+ focused={false}+ onToggleMaximize={() => undefined}+ onSplit={() => undefined}+ onClose={() => undefined}+ />,+ );++ const actions = screen.getByTestId("pane-maximize-Dana").parentElement;++ expect(actions).not.toBeNull();+ expect(actions?.className).toContain("opacity-100");+ expect(actions?.className).not.toContain("opacity-0");+ expect(screen.getByTestId("pane-split-right-Dana")).toBeTruthy();+ expect(screen.getByTestId("pane-split-down-Dana")).toBeTruthy();+ expect(screen.getByTestId("pane-close-Dana")).toBeTruthy();+ });+});+describe("pane split menu", () => {const CHOICES = [{ name: "claude", displayName: "Claude Code", installed: true, kind: "cli" },diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsxindex d91b5e7b18..38159aff1b 100644--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx@@ -893,17 +893,9 @@ function PaneHeader({)}</div>- {/* Pane actions. Kept quiet until the pane is hovered or focused, so a- grid of eight terminals is not a wall of icons — but always reachable- by keyboard, and always visible on the pane you are working in. */}- <div- className={cn(- "flex shrink-0 items-center gap-0.5 transition-opacity",- focused || maximized- ? "opacity-100"- : "opacity-0 focus-within:opacity-100 group-hover/header:opacity-100",- )}- >+ {/* Pane actions stay visible in every terminal, including panes that are+ not focused, so the controls can be found without probing by hover. */}+ <div className="flex shrink-0 items-center gap-0.5 opacity-100">{dead && (<buttontype="button"