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
style(ide): slimmer branch mark for the pane fork button
rubenluetke10-beep123649a90626
diff --git a/jarvis/ui/web/frontend/src/components/agentic/ForkPaneDialog.tsx b/jarvis/ui/web/frontend/src/components/agentic/ForkPaneDialog.tsxindex 05c9d26a8b..1fbd965a37 100644--- a/jarvis/ui/web/frontend/src/components/agentic/ForkPaneDialog.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/ForkPaneDialog.tsx@@ -1,7 +1,8 @@-import { useEffect, useRef, useState } from "react";+import { useEffect, useRef, useState, type ComponentType } from "react";import * as Dialog from "@radix-ui/react-dialog";-import { FolderGit2, GitFork, Loader2, MessagesSquare } from "lucide-react";+import { FolderGit2, Loader2, MessagesSquare } from "lucide-react";import { AgentMark } from "./AgentMark";+import { BranchIcon } from "./branchIcon";import { fetchForkSuggestion, type ForkSuggestion } from "@/lib/agenticIdeApi";import { cn } from "@/lib/utils";@@ -65,7 +66,7 @@ export function ForkPaneDialog({ source, busy, onCancel, onConfirm }: Props) {const canSubmit = !busy && (mode === "chat" || (trimmed !== "" && !worktreeOff && info !== null));const submit = () => { if (canSubmit) onConfirm({ mode, branch: trimmed }); };- const options: { mode: ForkMode; title: string; body: string; Icon: typeof GitFork; disabled: boolean }[] = [+ const options: { mode: ForkMode; title: string; body: string; Icon: ComponentType<{ className?: string }>; disabled: boolean }[] = [{mode: "chat",title: "Fork chat",@@ -92,7 +93,7 @@ export function ForkPaneDialog({ source, busy, onCancel, onConfirm }: Props) {<form onSubmit={(event) => { event.preventDefault(); submit(); }}><div className="flex items-start gap-4"><div className="flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-primary/10 text-primary">- <GitFork className="h-[18px] w-[18px]" aria-hidden />+ <BranchIcon className="h-[18px] w-[18px]" /></div><div className="min-w-0 flex-1"><Dialog.Title className="truncate text-base font-semibold">Fork {source?.name}</Dialog.Title>diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.tsxindex 8dc3fefdf3..04927defd2 100644--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.tsx@@ -1,7 +1,8 @@import { useEffect, useId, useLayoutEffect, useRef, useState, type ComponentType, type CSSProperties, type MouseEvent, type PointerEvent, type SVGProps } from "react";import { createPortal } from "react-dom";-import { Check, GitBranch, GitFork, Maximize2, Minimize2, MoreHorizontal, Plus, X } from "lucide-react";+import { Check, GitBranch, Maximize2, Minimize2, MoreHorizontal, Plus, X } from "lucide-react";import { AgentMark } from "./AgentMark";+import { BranchIcon } from "./branchIcon";import { usePaneTitle } from "@/store/paneRecaps";import { PromptHistoryButton } from "./PromptHistoryButton";import { SplitAboveIcon, SplitBelowIcon, SplitLeftIcon, SplitRightIcon } from "./splitIcons";@@ -175,7 +176,8 @@ export function WorkspaceTerminalHeader({<button type="button" aria-label={`${maximized ? "Restore" : "Maximize"} ${name}`} disabled={!onToggleMaximize}onClick={onToggleMaximize} className={ACTION_CLASS}>{maximized ? <Minimize2 className="h-3.5 w-3.5" /> : <Maximize2 className="h-3.5 w-3.5" />}</button>{onFork && <button type="button" data-testid={`pane-fork-${name}`} aria-label={`Fork ${name}`} title={`Fork ${name}`}- disabled={addDisabled} onClick={onFork} className={ACTION_CLASS}><GitFork className="h-3.5 w-3.5" /></button>}+ disabled={addDisabled} onClick={onFork} className={`group ${ACTION_CLASS}`}>+ <BranchIcon className="h-[15px] w-[15px] opacity-75 transition-opacity group-hover:opacity-100 group-focus-visible:opacity-100" /></button>}<button type="button" aria-label={`Add agent beside ${name}`} disabled={addDisabled || !onAdd}onClick={() => onAdd?.("right")} className={ACTION_CLASS}><Plus className="h-4 w-4" /></button><button type="button" aria-label={`Close ${name}`} disabled={!onClose} onClick={onClose} className={ACTION_CLASS}><X className="h-4 w-4" /></button>@@ -201,7 +203,7 @@ export function WorkspaceTerminalHeader({}}>{([onRename && { label: "Rename", run: () => { setDraft(name); setRenameError(""); } },- onFork && !addDisabled && { label: "Fork…", Icon: GitFork, run: onFork },+ onFork && !addDisabled && { label: "Fork…", Icon: BranchIcon, run: onFork },...(onAdd && !addDisabled ? SPLIT_ITEMS.map((item, index) => ({label: `${item.label}…`, Icon: item.Icon, separated: index === 0, run: () => onAdd(item.direction),})) : []),diff --git a/jarvis/ui/web/frontend/src/components/agentic/branchIcon.tsx b/jarvis/ui/web/frontend/src/components/agentic/branchIcon.tsxnew file mode 100644index 0000000000..a9e00cb854--- /dev/null+++ b/jarvis/ui/web/frontend/src/components/agentic/branchIcon.tsx@@ -0,0 +1,31 @@+import type { SVGProps } from "react";++/**+ * The fork control's mark: one trunk with a single branch leaving it in a soft+ * elbow, each end a small open ring. Deliberately lighter than lucide's+ * `GitFork` — three filled-looking circles on a Y read as a blob at the 14 px a+ * pane header draws — so it is drawn on the 24-unit grid with a thinner stroke+ * and rings small enough to stay open at header size.+ */+export function BranchIcon(props: SVGProps<SVGSVGElement>) {+ return (+ <svg+ viewBox="0 0 24 24"+ width="24"+ height="24"+ aria-hidden="true"+ fill="none"+ stroke="currentColor"+ strokeWidth={1.6}+ strokeLinecap="round"+ strokeLinejoin="round"+ {...props}+ >+ <circle cx="7" cy="5" r="2" />+ <circle cx="7" cy="19" r="2" />+ <circle cx="17" cy="5" r="2" />+ <path d="M7 7v10" />+ <path d="M17 7v1.5a3.5 3.5 0 0 1-3.5 3.5h-3A3.5 3.5 0 0 0 7 15.5" />+ </svg>+ );+}