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(agentic-ide): give the split buttons their own pane-plus icons

rubenluetke10-beepd83a25f49e08
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx
index 7ae9cf34d5..9b478e8e61 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx
@@ -58,16 +58,15 @@ import "@xterm/xterm/css/xterm.css";
import {
BookOpenText,
Check,
- Columns2,
Loader2,
Maximize2,
Minimize2,
Paperclip,
Pencil,
- Rows2,
RotateCcw,
X,
} from "lucide-react";
+import { SplitBelowIcon, SplitRightIcon } from "./splitIcons";
import { cn } from "@/lib/utils";
import {
MINIMUM_CONTRAST_RATIO,
@@ -2713,7 +2712,7 @@ function PaneHeader({
expanded={offersChoice ? picking === "right" : undefined}
onClick={onSplit ? () => startSplit("right") : undefined}
>
- <Columns2 className="h-3.5 w-3.5" />
+ <SplitRightIcon className="h-3.5 w-3.5" />
</PaneAction>
<PaneAction
label={`Split ${name} and open a terminal below it`}
@@ -2723,7 +2722,7 @@ function PaneHeader({
expanded={offersChoice ? picking === "down" : undefined}
onClick={onSplit ? () => startSplit("down") : undefined}
>
- <Rows2 className="h-3.5 w-3.5" />
+ <SplitBelowIcon className="h-3.5 w-3.5" />
</PaneAction>
<PaneAction
label={`Close ${name}`}
diff --git a/jarvis/ui/web/frontend/src/components/agentic/splitIcons.tsx b/jarvis/ui/web/frontend/src/components/agentic/splitIcons.tsx
new file mode 100644
index 0000000000..165686abd0
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/components/agentic/splitIcons.tsx
@@ -0,0 +1,52 @@
+import type { SVGProps } from "react";
+
+// The header's split buttons don't divide anything — they OPEN another
+// terminal beside or below this one. So the icons show exactly that: the
+// current pane as an outline, and a plus where the new pane will appear.
+// (The stock divided-rectangle glyphs also read as another editor's brand.)
+// Drawn on lucide's 24-unit grid with its stroke voice so they sit
+// indistinguishably next to the stock icons in the pane header.
+
+const strokeProps = {
+ fill: "none",
+ stroke: "currentColor",
+ strokeWidth: 2,
+ strokeLinecap: "round",
+ strokeLinejoin: "round",
+} as const;
+
+/** Current pane on the left, a plus marking the new pane's spot beside it. */
+export function SplitRightIcon(props: SVGProps<SVGSVGElement>) {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ width="24"
+ height="24"
+ aria-hidden="true"
+ {...strokeProps}
+ {...props}
+ >
+ <rect x="3" y="5" width="10" height="14" rx="2" />
+ <path d="M18.5 9.5v5" />
+ <path d="M16 12h5" />
+ </svg>
+ );
+}
+
+/** Current pane on top, a plus marking the new pane's spot below it. */
+export function SplitBelowIcon(props: SVGProps<SVGSVGElement>) {
+ return (
+ <svg
+ viewBox="0 0 24 24"
+ width="24"
+ height="24"
+ aria-hidden="true"
+ {...strokeProps}
+ {...props}
+ >
+ <rect x="5" y="3" width="14" height="10" rx="2" />
+ <path d="M12 16v5" />
+ <path d="M9.5 18.5h5" />
+ </svg>
+ );
+}