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(ui): restyle the sidebar after the Claude app's column
rubenluetke10-beep1ef4121a4ad9
diff --git a/jarvis/ui/web/frontend/src/components/home/RecentChats.tsx b/jarvis/ui/web/frontend/src/components/home/RecentChats.tsxindex 1eeb244706..bb4270fe7d 100644--- a/jarvis/ui/web/frontend/src/components/home/RecentChats.tsx+++ b/jarvis/ui/web/frontend/src/components/home/RecentChats.tsx@@ -55,12 +55,12 @@ export function RecentChats() {<><div data-testid="recent-chats" className="pb-1 pt-0.5">{pinnedRows.length > 0 && <section data-testid="pinned-chats" className="mb-6">- <h2 className="px-3 pb-2 text-sm font-medium text-muted-foreground">{t("sidebar.pinned")}</h2>+ <h2 className="px-3 pb-1.5 text-sm text-muted-foreground">{t("sidebar.pinned")}</h2><ul className="space-y-0.5">{pinnedRows.map((row) => <ChatRowItem key={rowKey(row)} row={row}active={isActive(row)} pinned onPin={() => togglePin(row)} onOpen={() => openRow(row)}onDelete={row.kind === "agent" ? () => remove(row) : undefined} />)}</ul></section>}- <h2 className="px-3 pb-2 text-sm font-medium text-muted-foreground">{t("sidebar.recent")}</h2>+ <h2 className="px-3 pb-1.5 text-sm text-muted-foreground">{t("sidebar.recent")}</h2>{shown.length === 0 ? (<p className="py-1 px-3 text-sm text-foreground-faint">{t("sidebar.no_chats")}@@ -117,7 +117,7 @@ export function RecentChats() {/** "Show all" and "See all chats": the two quiet rows that close the list. */const TAIL_ROW = cn(- "flex h-7 w-full items-center gap-2 rounded-md px-3 text-left transition-colors",+ "flex h-8 w-full items-center gap-3 rounded-lg px-3 text-left transition-colors","text-muted-foreground hover:bg-secondary hover:text-foreground","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",);@@ -162,15 +162,21 @@ function ChatRowItem({data-testid="recent-chat-row"data-kind={row.kind}className={cn(- "flex h-7 w-full items-center gap-2 rounded-md px-3 text-left transition-colors group-hover:pr-16 group-focus-within:pr-16",+ "flex h-8 w-full items-center gap-3 rounded-lg px-3 text-left transition-colors group-hover:pr-16 group-focus-within:pr-16","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",// The open one wears the same accent edge as the active nav row, so// "where am I" is said in one voice all the way down the column.- active ? "jarvis-nav-active bg-secondary text-foreground" : "hover:bg-secondary",+ active ? "jarvis-nav-active bg-secondary text-foreground-strong" : "text-foreground-secondary hover:bg-secondary hover:text-foreground",)}>- {pinned && <MessageSquare aria-hidden className="h-4 w-4 shrink-0 text-muted-foreground" />}- <span className="min-w-0 flex-1 truncate text-[13px] leading-5 text-foreground">{compactChatTitle(title)}</span>+ {/* A small open ring, the Claude app's chat bullet; a pinned chat+ keeps its bubble so the two lists stay told apart. */}+ {pinned ? (+ <MessageSquare aria-hidden className="h-4 w-4 shrink-0 text-muted-foreground" />+ ) : (+ <span aria-hidden className="ml-1 h-1.5 w-1.5 shrink-0 rounded-full border border-muted-foreground/70" />+ )}+ <span className="min-w-0 flex-1 truncate text-sm leading-5">{compactChatTitle(title)}</span></button><button type="button" onClick={onPin} title={t(pinned ? "sidebar.unpin_chat" : "sidebar.pin_chat")}diff --git a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsxindex 61383714b7..0b6852c5bf 100644--- a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx+++ b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx@@ -5,7 +5,6 @@ import {ChevronLeft,MoreHorizontal,Store,- UserCircle2,Plus,} from "lucide-react";import {@@ -314,7 +313,10 @@ export function Sidebar({// Lit while any hub section is on screen — the profile button IS the hub's// entry point now, so it carries the "you are here" state for all of them.const hubActive = (SETTINGS_HUB_IDS as readonly string[]).includes(active);- const rowClass = "flex min-h-9 w-full items-center gap-2.5 rounded-md px-3 text-base font-medium text-muted-foreground transition-colors hover:bg-secondary hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";+ // Rows read like the Claude app's column: regular weight, light ink at+ // rest (muted grey made every entry look disabled), the icon in the same+ // ink, a lift on hover. Section labels and tail rows stay muted.+ const rowClass = "flex min-h-9 w-full items-center gap-3 rounded-lg px-3 text-base text-foreground-secondary transition-colors hover:bg-secondary hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";const renderRow = (raw: NavItem, compact = railed) => {const item = presentNavItem(raw, surface);return <NavRow key={item.id} item={item} label={resolveNavLabel(t, item)} compact={compact}@@ -501,35 +503,35 @@ export function Sidebar({<Mic aria-hidden className="h-4 w-4" /></button></div>}- </nav> : <nav aria-label={t("sidebar.sections")} className="space-y-1 px-2 py-2">- <ul className="space-y-1">+ </nav> : <nav aria-label={t("sidebar.sections")} className="space-y-0.5 px-2 py-2">+ <ul className="space-y-0.5">{/* One door: a fresh typed chat. Voice is a mode INSIDE the chatnow (its top bar's button), so there is nothing to choosebetween here (2026-10-01). */}<li><button type="button" data-testid="sidebar-new-chat" data-tour="new-chat"aria-label={t("sidebar.new_chat")} title={t("sidebar.new_chat")} className={rowClass}onClick={() => { useHomeStore.getState().setSurface("chat"); startNewTextChat(); }}>- <Plus aria-hidden className="h-4 w-4 shrink-0" />+ <Plus aria-hidden strokeWidth={1.75} className="h-[18px] w-[18px] shrink-0" />{!railed && <span>{t("sidebar.new_chat")}</span>}</button></li>{renderRow(findItem("agents"))}{renderRow(findItem("dictation"))}</ul>- <ul className="space-y-1">+ <ul className="space-y-0.5">{renderRow(findItem("visualization"))}{renderRow(findItem("agentic-ide"))}{renderRow({ ...findItem("plugins"), labelKey: "sidebar.extensions_label" })}</ul><button type="button" onClick={() => { setMoreOpen(!moreOpen); }} aria-expanded={moreOpen}- aria-controls="sidebar-more" title={t("sidebar.more")} data-testid="sidebar-more-toggle" className={rowClass}>- <MoreHorizontal aria-hidden className="h-4 w-4 shrink-0" />+ aria-controls="sidebar-more" title={t("sidebar.more")} data-testid="sidebar-more-toggle" className={cn(rowClass, "text-muted-foreground")}>+ <ChevronDown aria-hidden strokeWidth={1.75} className={cn("h-[18px] w-[18px] shrink-0 transition-transform", moreOpen && "rotate-180")} />{!railed && <span>{t(moreOpen ? "sidebar.show_less" : "sidebar.more")}</span>}</button>{moreOpen && <ul id="sidebar-more" className="space-y-1">{moreItems.map((item) => item.id === "tasks" ? renderRow({ ...item, labelKey: "sidebar.scheduled" }) : renderRow(item))}</ul>}</nav>}{!railed && (onIdeSection? <IdeProjectTree />- : <section className="mt-4 px-2 pb-3" aria-label={t("sidebar.recent_chats")}><RecentChats /></section>)}+ : <section className="mt-6 px-2 pb-3" aria-label={t("sidebar.recent_chats")}><RecentChats /></section>)}</div>{/* The footer is one button now, not a popup: it opens the Settings hub@@ -545,7 +547,10 @@ export function Sidebar({data-tour="settings"className={cn(rowClass, "min-w-0 flex-1", hubActive && "jarvis-nav-active bg-secondary text-foreground")}><span className="relative shrink-0">- <UserCircle2 aria-hidden className="h-7 w-7" />+ <span aria-hidden data-testid="sidebar-profile-initial"+ className="flex h-7 w-7 items-center justify-center rounded-full bg-secondary text-xs font-semibold uppercase text-foreground">+ {(identity.data?.signed_in && identity.data.login ? identity.data.login : t("nav.profile")).trim().charAt(0) || "?"}+ </span>{(apikeysHasError || localModelsNeedAttention) && <span data-testid="sidebar-profile-attention"role="status" aria-label={t("sidebar.apikeys_alert")}className={cn("absolute bottom-0 right-0 h-2 w-2 rounded-full", apikeysHasError ? "bg-destructive" : "bg-warning")} />}@@ -637,7 +642,7 @@ function NavRow({title={compact ? `${label}${hint ? ` — ${hint}` : ""}` : hint}aria-label={compact ? label : undefined}className={clsx(- "group relative flex h-9 w-full items-center gap-2.5 rounded-md px-3 text-base font-medium transition-colors",+ "group relative flex h-9 w-full items-center gap-3 rounded-lg px-3 text-base transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",// Leave the chevron its own column so the two buttons never overlap.expand && "pr-9",@@ -645,15 +650,16 @@ function NavRow({// ink, and only the active row carries the 2 px accent bar at the// left edge (`.jarvis-nav-active`).active- ? "jarvis-nav-active bg-secondary text-foreground"- : "text-muted-foreground hover:bg-secondary hover:text-foreground",+ ? "jarvis-nav-active bg-secondary text-foreground-strong"+ : "text-foreground-secondary hover:bg-secondary hover:text-foreground",)}><Iconaria-hidden+ strokeWidth={1.75}className={cn(- "h-4 w-4 shrink-0 transition-colors",- active ? "text-foreground" : "text-muted-foreground group-hover:text-foreground",+ "h-[18px] w-[18px] shrink-0 transition-colors",+ active ? "text-foreground-strong" : "text-foreground-secondary group-hover:text-foreground",)}/><span className={cn("flex min-w-0 flex-1 items-center gap-2 text-left", compact && "hidden")}>