Skip to content

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.

feat(office): the Verse pane window wears the minimal tile look

rubenluetke10-beepeebc8e7c0196
diff --git a/jarvis/ui/web/frontend/src/components/society/office/PaneCommandPanel.tsx b/jarvis/ui/web/frontend/src/components/society/office/PaneCommandPanel.tsx
index a5140e467a..68420c1aa4 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/PaneCommandPanel.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/office/PaneCommandPanel.tsx
@@ -33,7 +33,7 @@ import { AgenticTerminal } from "@/components/agentic/AgenticTerminal";
import { FONT_DEFAULT } from "@/components/agentic/paneFont";
import { warmTerminalFont } from "@/lib/terminalFont";
import { BranchIcon } from "@/components/agentic/branchIcon";
-import { PANE_BRAND, PANE_CHROME, PANE_SOLID, storedTerminalAppearance, themeFor } from "@/components/agentic/terminalThemes";
+import { PANE_BRAND, PANE_CHROME, PANE_SOLID, PANE_TILE, storedPaneStyle, storedTerminalAppearance, themeFor } from "@/components/agentic/terminalThemes";
import type { PaneOccupant } from "./codingFloor";
import { player, useOfficeStore } from "./officeStore";
import { agentPositions } from "./walkerRegistry";
@@ -109,6 +109,9 @@ export function PaneCommandPanel({ occupant, compact = false, onOpen, onClose }:
const appTheme = useThemeValue();
// The IDE's pane appearance: the reader's stored choice, else the app's theme.
const appearance = storedTerminalAppearance() ?? appTheme;
+ // The IDE's pane style (Workspace options): the window wears the same tile
+ // as the panes in the grid — square, slim title row, blue while in use.
+ const paneStyle = storedPaneStyle();
const brand = PANE_BRAND[appearance];
const chrome = PANE_CHROME[appearance];
const ansi = themeFor(appearance);
@@ -277,6 +280,7 @@ export function PaneCommandPanel({ occupant, compact = false, onOpen, onClose }:
"--pane-float": chrome.float,
"--pane-ok": ansi.green,
"--pane-fault": ansi.red,
+ "--pane-focus": PANE_TILE[appearance].focus,
} as CSSProperties;
const style: CSSProperties = rect
? { ...vars, left: rect.x, top: rect.y, width: rect.w, height: rect.h }
@@ -284,7 +288,7 @@ export function PaneCommandPanel({ occupant, compact = false, onOpen, onClose }:
: { ...vars, visibility: "hidden" };
return (
- <aside ref={panel} className="office-pane" data-office-ui data-appearance={appearance}
+ <aside ref={panel} className="office-pane" data-office-ui data-appearance={appearance} data-style={paneStyle}
data-gesture={dragRect ? (resizing ? "resize" : "move") : undefined}
style={style} aria-labelledby={headingId} tabIndex={-1}>
<header className="office-pane-head" title={t("society.office.pane_window_hint")}
@@ -293,7 +297,7 @@ export function PaneCommandPanel({ occupant, compact = false, onOpen, onClose }:
aria-label={t(`society.office.pane_state_${occupant.stateKey}`)} />
<AgentMark agent={pane.agent} label={pane.display_name || pane.agent} variant="plain" size="sm"
className="!text-[color:var(--pane-ink)] [&>.bg-foreground]:!bg-[color:var(--pane-ink)]" />
- <h2 id={headingId} title={`${title} (${pane.name})`}>{title}</h2>
+ <h2 id={headingId} title={`${title} (${pane.name})`} className={paneStyle === "minimal" ? "font-mono" : undefined}>{title}</h2>
<span className="office-pane-meta">
{t(`society.office.pane_state_${occupant.stateKey}`)}{since ? ` · ${since}` : ""}
</span>
diff --git a/jarvis/ui/web/frontend/src/components/society/office/paneCommand.css b/jarvis/ui/web/frontend/src/components/society/office/paneCommand.css
index 19326a526d..3d58548920 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/paneCommand.css
+++ b/jarvis/ui/web/frontend/src/components/society/office/paneCommand.css
@@ -54,6 +54,23 @@
.office-pane-grip[data-edge="se"]::after { content:""; position:absolute; right:4px; bottom:4px; width:8px; height:8px; opacity:.55; background:linear-gradient(135deg, transparent 0 45%, var(--pane-ink-faint) 45% 55%, transparent 55% 70%, var(--pane-ink-faint) 70% 80%, transparent 80%); }
.office-pane:hover .office-pane-grip[data-edge="se"]::after { opacity:.9; }
+/* The minimal pane style (the IDE's Workspace options): the window is a tile
+ like the panes in the grid — square, a slim title row in the terminal font,
+ square controls — and while the reader works in it (keyboard focus anywhere
+ inside, the terminal included) its edge and title take the signal hue. The
+ inner half of that two-pixel edge is its own layer over everything, so the
+ title row's ground cannot dim it along the top. */
+.office-pane[data-style="minimal"] { border-radius:0; }
+.office-pane[data-style="minimal"] .office-pane-head { height:28px; min-height:28px; padding:0 2px 0 10px; gap:7px; }
+.office-pane[data-style="minimal"] .office-pane-head h2 { font-size:12px; }
+.office-pane[data-style="minimal"] .office-pane-actions button { width:24px; height:24px; border-radius:0; }
+.office-pane[data-style="minimal"] .office-pane-actions button svg { width:14px; height:14px; }
+.office-pane[data-style="minimal"] .office-pane-status { border-radius:0; }
+.office-pane[data-style="minimal"]:focus-within { border-color:var(--pane-focus); }
+.office-pane[data-style="minimal"]:focus-within::after { content:""; position:absolute; inset:0; z-index:4; pointer-events:none; box-shadow:inset 0 0 0 1px var(--pane-focus); }
+.office-pane[data-style="minimal"]:focus-within .office-pane-head h2 { color:var(--pane-focus); font-weight:600; }
+.office-pane[data-style="minimal"]:focus-visible { outline:none; }
+
/* Mission Control's still screens of the sessions (./PaneLiveScreen). Fixed
height, rows absolutely placed: the grid is fitted to this box, so the text
can never feed back into its size. */