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
feat(ide): fix workspace terminals at one dense text size
rubenluetke10-beep33f439551f97
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsxindex 528236ec16..e64d551787 100644--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx@@ -855,11 +855,11 @@ export function AgenticTerminal({// module exists to prevent.fontFamily: TERMINAL_FONT_STACK,fontSize: fontSizeRef.current,- // Roomier than a console default — the single biggest readability win for- // an agent that prints prose, diffs and file trees rather than log lines.- // Kept integral-friendly: fractional cell heights round differently per- // row and make a redrawn TUI box look ragged.- lineHeight: 1.3,+ // A dense console line height, like a standalone terminal: at 1.3 a pane+ // showed far fewer rows than the same window in a native terminal, which+ // read as "zoomed in". Kept integral-friendly: fractional cell heights+ // round differently per row and make a redrawn TUI box look ragged.+ lineHeight: 1.2,// Zero, not 0.2: extra tracking is added per cell, so a box-drawing frame// and the text under it accumulate different sub-pixel offsets and the// frame visibly bends. Monospace legibility comes from the line height.diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceOptionsDialog.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceOptionsDialog.test.tsxindex 3f13431f24..a284606a56 100644--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceOptionsDialog.test.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceOptionsDialog.test.tsx@@ -6,15 +6,14 @@ afterEach(cleanup);const setup = () => ({open: true, onOpenChange: vi.fn(), workspace: "Installer", count: 6, busy: false, canAdd: true,onAdd: vi.fn(), onBalance: vi.fn(), onRename: vi.fn(), onClose: vi.fn(),- fontSize: 20, onFontSize: vi.fn(), appearance: null, onAppearance: vi.fn(),+ appearance: null, onAppearance: vi.fn(),});it("keeps arrangement and display controls accessible without a main toolbar", () => {const props = setup();render(<WorkspaceOptionsDialog {...props} />);expect(screen.getByRole("dialog", { name: "Workspace options" })).toBeTruthy();- fireEvent.click(screen.getByRole("button", { name: "Decrease terminal text size" }));- expect(props.onFontSize).toHaveBeenCalledWith(19);+ expect(screen.queryByRole("button", { name: "Decrease terminal text size" })).toBeNull();fireEvent.click(screen.getByRole("button", { name: "light terminals" }));expect(props.onAppearance).toHaveBeenCalledWith("light");fireEvent.click(screen.getByRole("button", { name: "Balance layout" }));diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceOptionsDialog.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceOptionsDialog.tsxindex 17d8fe972d..18d0b3bd73 100644--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceOptionsDialog.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceOptionsDialog.tsx@@ -1,5 +1,5 @@import * as Dialog from "@radix-ui/react-dialog";-import { Columns2, Minus, Plus, X } from "lucide-react";+import { Columns2, X } from "lucide-react";import { cn } from "@/lib/utils";interface Props {@@ -13,8 +13,6 @@ interface Props {onBalance: () => void;onRename: () => void;onClose: () => void;- fontSize: number;- onFontSize: (size: number) => void;appearance: "light" | "dark" | null;onAppearance: (appearance: "light" | "dark" | null) => void;}@@ -37,14 +35,6 @@ export function WorkspaceOptionsDialog(props: Props) {className="flex w-full items-center gap-2 rounded-lg border border-border px-3 py-2.5 text-sm hover:bg-muted disabled:opacity-40"><Columns2 className="h-4 w-4" />Balance layout</button><p className="text-xs leading-relaxed text-muted-foreground">Drag a terminal title to an edge to place it beside, above or below another terminal. Drop in the center to swap positions.</p></section>- <section aria-label="Terminal text size" className="flex items-center justify-between gap-2">- <span className="text-sm font-medium">Text size</span>- <div className="flex items-center gap-2">- <button type="button" aria-label="Decrease terminal text size" disabled={props.fontSize <= 9} onClick={() => props.onFontSize(props.fontSize - 1)} className={icon}><Minus className="h-3.5 w-3.5" /></button>- <span className="w-5 text-center text-sm tabular-nums">{props.fontSize}</span>- <button type="button" aria-label="Increase terminal text size" disabled={props.fontSize >= 22} onClick={() => props.onFontSize(props.fontSize + 1)} className={icon}><Plus className="h-3.5 w-3.5" /></button>- </div>- </section><section aria-label="Terminal appearance"><p className="mb-2 text-sm font-medium">Terminal appearance</p><div className="flex gap-2">diff --git a/jarvis/ui/web/frontend/src/components/agentic/paneFont.ts b/jarvis/ui/web/frontend/src/components/agentic/paneFont.tsindex 53bb2112a4..9847ef5835 100644--- a/jarvis/ui/web/frontend/src/components/agentic/paneFont.ts+++ b/jarvis/ui/web/frontend/src/components/agentic/paneFont.ts@@ -45,7 +45,11 @@ export function storedFontSize(): number | null {}}-/** The size a pane will actually open at — the stored one, or the default. */+/**+ * The size a pane opens at: always the default. The workspace terminals use+ * one fixed, dense size (maintainer decision 2026-09-28), so a size stored by+ * an older build is ignored.+ */export function paneFontSize(): number {- return storedFontSize() ?? FONT_DEFAULT;+ return FONT_DEFAULT;}diff --git a/jarvis/ui/web/frontend/src/views/AgenticIdeView.tsx b/jarvis/ui/web/frontend/src/views/AgenticIdeView.tsxindex 9391cf9106..b8cd2bba24 100644--- a/jarvis/ui/web/frontend/src/views/AgenticIdeView.tsx+++ b/jarvis/ui/web/frontend/src/views/AgenticIdeView.tsx@@ -5,6 +5,7 @@ import { VoiceBubble, storedVoiceBubbleOpen, storeVoiceBubbleOpen } from "@/compimport { WorkspaceTerminalGrid } from "@/components/agentic/WorkspaceTerminalGrid";import { WorkspaceAgentSetup } from "@/components/agentic/WorkspaceAgentSetup";import { WorkspaceOptionsDialog } from "@/components/agentic/WorkspaceOptionsDialog";+import { FONT_DEFAULT } from "@/components/agentic/paneFont";import { IdeSidePanelFrame } from "@/components/agentic/sidePanel/IdeSidePanel";import { fitsWorkspace, isBalancedWorkspace, canSplitFit } from "@/components/agentic/workspaceDocking";import { AgentMark } from "@/components/agentic/AgentMark";@@ -21,7 +22,6 @@ import {type AgentStatus, type IdeProject, type IdeState, type TerminalState,} from "@/lib/agenticIdeApi";-const FONT_KEY = "jarvis.agenticIde.terminalFontSize";const APPEARANCE_KEY = "jarvis.agenticIde.terminalAppearance";const SPLIT_DIRECTION_KEY = "jarvis.agenticIde.splitDirection";@@ -78,7 +78,9 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {const [renameValue, setRenameValue] = useState("");const [busy, setBusy] = useState(false);const [voiceOpen, setVoiceOpen] = useState(storedVoiceBubbleOpen);- const [fontSize, setFontSize] = useState(() => Number(localStorage.getItem(FONT_KEY)) || 13);+ // One fixed, dense text size (the look of a standalone terminal); the+ // maintainer does not want a per-user zoom for the workspace terminals.+ const fontSize = FONT_DEFAULT;const [appearance, setAppearance] = useState<"light" | "dark" | null>(() => {const stored = localStorage.getItem(APPEARANCE_KEY);return stored === "light" || stored === "dark" ? stored : null;@@ -308,7 +310,6 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {await closeTerminal(terminal.history_id ? `pane:${terminal.history_id}` : terminal.name, session.id);});- const saveFont = (size: number) => { const next = Math.max(9, Math.min(22, size)); setFontSize(next); localStorage.setItem(FONT_KEY, String(next)); };const saveAppearance = (next: "light" | "dark" | null) => { setAppearance(next); if (next) localStorage.setItem(APPEARANCE_KEY, next); else localStorage.removeItem(APPEARANCE_KEY); };const balanceLayout = () => void run(async () => {if (!session) return;@@ -364,7 +365,7 @@ export function AgenticIdeView({ onScreen = true }: AgenticIdeViewProps) {<WorkspaceOptionsDialog open={optionsOpen && !!session} onOpenChange={setOptionsOpen} workspace={session?.name ?? session?.project.name ?? ""}count={session?.terminals.length ?? 0} busy={busy} canAdd={installed.length > 0}onAdd={openAgentPicker} onBalance={balanceLayout} onRename={() => { setRenameValue(session?.name ?? session?.project.name ?? ""); setRenameOpen(true); }}- onClose={stopWorkspace} fontSize={fontSize} onFontSize={saveFont} appearance={appearance} onAppearance={saveAppearance}+ onClose={stopWorkspace} appearance={appearance} onAppearance={saveAppearance}/><main className="min-h-0 flex-1">