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.

style(ide): enlarge project sidebar text for readability

rubenluetke10-beepcdf6c3819f8b
diff --git a/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx b/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx
index 996063859c..a56b7bf8cd 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx
@@ -500,7 +500,7 @@ export function IdeProjectTree() {
void moveProject(project.id, neighbour.id, event.key === "ArrowUp");
}}
title={soloBlocked ? "This workspace cannot be restored on this machine" : `${project.name} — drag to reorder, or press Alt plus arrow keys to move`}
- className={`flex min-h-8 min-w-0 flex-1 items-center gap-1.5 rounded-md px-2 text-left text-sm font-medium [@media(hover:none)]:pr-14 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-45 ${solo && solo.status !== "open" && !soloSelected && !soloPending ? "text-muted-foreground" : "text-foreground"}`}>
+ className={`flex min-h-8 min-w-0 flex-1 items-center gap-1.5 rounded-md px-2 text-left text-[15px] font-medium [@media(hover:none)]:pr-14 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-45 ${solo && solo.status !== "open" && !soloSelected && !soloPending ? "text-muted-foreground" : "text-foreground"}`}>
{/* A one-row project has nothing to fold: its status dot takes the chevron's slot. */}
{solo
? <span aria-hidden className="flex h-3 w-3 shrink-0 items-center justify-center">
@@ -511,7 +511,7 @@ export function IdeProjectTree() {
<span className="ml-0.5 min-w-0 flex-1 truncate">{project.name}</span>
{soloPending && <span className="sr-only">Switching workspace</span>}
{/* An open project's rows carry their own counts; the total only speaks for a folded one. */}
- {count > 0 && (solo || !open) && <span className="text-xs tabular-nums text-muted-foreground/80 transition-opacity group-hover:opacity-0 group-focus-within:opacity-0 [@media(hover:none)]:opacity-0" aria-label={`${count} agent ${count === 1 ? "session" : "sessions"}`}>{count}</span>}
+ {count > 0 && (solo || !open) && <span className="text-[13px] tabular-nums text-muted-foreground/80 transition-opacity group-hover:opacity-0 group-focus-within:opacity-0 [@media(hover:none)]:opacity-0" aria-label={`${count} agent ${count === 1 ? "session" : "sessions"}`}>{count}</span>}
</button>
<div className={`absolute inset-y-0 right-0 flex items-center rounded-r-md bg-gradient-to-l from-muted from-60% to-transparent pl-5 pr-1 transition-opacity ${projectMenuOpen ? "opacity-100" : "pointer-events-none opacity-0 group-hover:pointer-events-auto group-hover:opacity-100 group-focus-within:pointer-events-auto group-focus-within:opacity-100 [@media(hover:none)]:pointer-events-auto [@media(hover:none)]:opacity-100"}`} data-project-menu={project.id}>
<button type="button" aria-label={`Project actions for ${project.name}`} title="Project actions" aria-haspopup="menu" aria-expanded={projectMenuOpen}
@@ -631,11 +631,11 @@ export function IdeProjectTree() {
if (!neighbour) return;
void moveWorkspace(workspace.id, neighbour.id, event.key === "ArrowUp");
}}
- className={`flex min-h-8 min-w-0 flex-1 items-center gap-2 rounded-md px-2 text-left text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-45 ${selected || pending ? "text-foreground" : "text-muted-foreground"} ${draggable ? "cursor-grab active:cursor-grabbing" : ""}`}>
+ className={`flex min-h-8 min-w-0 flex-1 items-center gap-2 rounded-md px-2 text-left text-[15px] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-45 ${selected || pending ? "text-foreground" : "text-muted-foreground"} ${draggable ? "cursor-grab active:cursor-grabbing" : ""}`}>
{pending ? <Loader2 aria-hidden className="h-3 w-3 shrink-0 animate-spin" />
: <span aria-hidden className={`h-1.5 w-1.5 shrink-0 rounded-full ${statusDotClass(workspace)}`} />}
<span className="min-w-0 flex-1 truncate">{workspace.name}</span>
- <span className="text-xs tabular-nums text-muted-foreground/80 transition-opacity group-hover/space:opacity-0 group-focus-within/space:opacity-0 [@media(hover:none)]:opacity-0">{workspace.terminals}</span>
+ <span className="text-[13px] tabular-nums text-muted-foreground/80 transition-opacity group-hover/space:opacity-0 group-focus-within/space:opacity-0 [@media(hover:none)]:opacity-0">{workspace.terminals}</span>
{pending && <span className="sr-only">Switching workspace</span>}
</button>
{(() => {
@@ -651,7 +651,7 @@ export function IdeProjectTree() {
)}
</div>;
})}
- {project.workspaces.length === 0 && <button type="button" onClick={() => newWorkspace(project.id)} className="px-2 py-1.5 text-left text-xs text-muted-foreground hover:text-foreground">Create workspace</button>}
+ {project.workspaces.length === 0 && <button type="button" onClick={() => newWorkspace(project.id)} className="px-2 py-1.5 text-left text-[13px] text-muted-foreground hover:text-foreground">Create workspace</button>}
</div>}
</div>;
};
@@ -766,7 +766,7 @@ export function IdeProjectTree() {
const confirmProjectTarget = confirmProject ? (visible.find((project) => project.id === confirmProject) ?? null) : null;
return <div data-testid="ide-project-tree" className="flex-1 px-2 pb-3 pt-2">
- <div className="flex h-8 items-center justify-between pl-2 pr-1 text-sm font-semibold text-foreground">
+ <div className="flex h-8 items-center justify-between pl-2 pr-1 text-[15px] font-semibold text-foreground">
<span>Workspaces</span>
<div className="flex items-center gap-0.5">
<button type="button" aria-label="Jarvis Live" title="Jarvis Live" onClick={toggleVoice}
@@ -776,12 +776,12 @@ export function IdeProjectTree() {
</div>
</div>
{visible.some((project) => project.pinned) && <>
- <div className="px-2 pb-1 pt-3 text-xs font-medium text-muted-foreground/80">Pinned</div>
+ <div className="px-2 pb-1 pt-3 text-[13px] font-medium text-muted-foreground/80">Pinned</div>
{visible.filter((project) => project.pinned).map(projectRow)}
- {visible.some((project) => !project.pinned) && <div className="px-2 pb-1 pt-4 text-xs font-medium text-muted-foreground/80">Other projects</div>}
+ {visible.some((project) => !project.pinned) && <div className="px-2 pb-1 pt-4 text-[13px] font-medium text-muted-foreground/80">Other projects</div>}
</>}
{visible.filter((project) => !project.pinned).map(projectRow)}
- {visible.length === 0 && <p className="px-2 py-2 text-xs text-muted-foreground">Connect a folder to start a project.</p>}
+ {visible.length === 0 && <p className="px-2 py-2 text-[13px] text-muted-foreground">Connect a folder to start a project.</p>}
{contextMenu && menuProject && (
<TreeContextMenu
x={contextMenu.x}