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): paint live and working status dots in the blue accent

rubenluetke10-beep4c21e9939782
diff --git a/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx b/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx
index a56b7bf8cd..84081022f3 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/IdeProjectTree.tsx
@@ -72,7 +72,7 @@ function soloWorkspace(project: IdeProject): ProjectWorkspace | null {
/** Running agents glow, an open but idle workspace is a solid dot, a saved (closed) one a hollow ring. */
function statusDotClass(workspace: ProjectWorkspace): string {
if (workspace.status !== "open") return "border border-muted-foreground/45";
- return workspace.live_terminals > 0 ? "bg-emerald-500 ring-[3px] ring-emerald-500/15" : "bg-muted-foreground/40";
+ return workspace.live_terminals > 0 ? "bg-accent ring-[3px] ring-accent/15" : "bg-muted-foreground/40";
}
function readExpansion(): Record<string, boolean> {
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.test.tsx
index 051e20e63b..28ab40a628 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.test.tsx
@@ -39,7 +39,7 @@ describe("what the badge shows", () => {
expect(badge.getAttribute("data-icon")).toBe("check");
// Life, not ink. A status painted in --foreground is the same colour as
// every label around it and so reads as one.
- expect(badge.className).toContain("text-success");
+ expect(badge.className).toContain("text-accent");
});
it("hollows the dot — rather than recolouring it — for an unused pane", () => {
@@ -50,7 +50,7 @@ describe("what the badge shows", () => {
const badge = pill({ status: "live", activity: "waiting", worked: false });
expect(badge.textContent).toBe("");
expect(badge.getAttribute("data-icon")).toBe("ring");
- expect(badge.className).toContain("text-success");
+ expect(badge.className).toContain("text-accent");
});
it("keeps a colour of its own for the one state that wants something from you now", () => {
diff --git a/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.tsx b/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.tsx
index a514600c5a..4bb45ef03f 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/PaneActivityPill.tsx
@@ -121,7 +121,7 @@ const LOOK: Record<Exclude<PaneActivity, "" | "waiting">, Look> = {
label: "working",
// Life. A status is never --foreground: ink is the colour of everything
// that is NOT a signal, so a state painted in it reads as a label.
- className: "text-success",
+ className: "text-accent",
icon: "spinner",
hint: "Working — its screen is still changing.",
},
@@ -168,7 +168,7 @@ const LOOK: Record<Exclude<PaneActivity, "" | "waiting">, Look> = {
const DONE: Look = {
state: "done",
label: "done",
- className: "text-success",
+ className: "text-accent",
icon: "check",
glow: true,
hint: "Finished and waiting at its prompt. That it stopped, not that the work is right.",
@@ -185,7 +185,7 @@ const DONE: Look = {
const IDLE: Look = {
state: "idle",
label: "idle",
- className: "text-success",
+ className: "text-accent",
icon: "ring",
hint: "Waiting at its prompt. Nothing has been sent to it yet.",
};
diff --git a/jarvis/ui/web/frontend/src/components/agentic/RunOnPicker.tsx b/jarvis/ui/web/frontend/src/components/agentic/RunOnPicker.tsx
index cacc596c7d..3e55d568f3 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/RunOnPicker.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/RunOnPicker.tsx
@@ -91,7 +91,7 @@ export function RunOnPicker({
{option.id && (
<span
aria-hidden="true"
- className={cn("h-1.5 w-1.5 shrink-0 rounded-full", option.online ? "bg-success" : "bg-foreground-faint")}
+ className={cn("h-1.5 w-1.5 shrink-0 rounded-full", option.online ? "bg-accent" : "bg-foreground-faint")}
/>
)}
</span>
diff --git a/jarvis/ui/web/frontend/src/components/agentic/git/GitStatusLine.tsx b/jarvis/ui/web/frontend/src/components/agentic/git/GitStatusLine.tsx
index 73f33c54a1..28933628f9 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/git/GitStatusLine.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/git/GitStatusLine.tsx
@@ -11,7 +11,7 @@ export function GitStatusLine({ info, className }: { info: GitRepoInfo; classNam
</span>
{info.is_worktree && <span className="rounded-full border border-border px-1.5 text-[10px]">worktree</span>}
<span className="flex items-center gap-1" title={changes ? `${changes} uncommitted` : "Nothing uncommitted"}>
- <span className={cn("h-1.5 w-1.5 rounded-full", info.conflicted ? "bg-destructive" : changes ? "bg-warning" : "bg-success")} aria-hidden />
+ <span className={cn("h-1.5 w-1.5 rounded-full", info.conflicted ? "bg-destructive" : changes ? "bg-warning" : "bg-accent")} aria-hidden />
{changes ? `${changes} ${changes === 1 ? "change" : "changes"}` : "clean"}
</span>
{(info.insertions > 0 || info.deletions > 0) && <span className="font-mono">
diff --git a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/AgentsOverview.tsx b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/AgentsOverview.tsx
index 5715bc6a5f..94f6598abf 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/AgentsOverview.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/AgentsOverview.tsx
@@ -65,7 +65,7 @@ function useAgentScope(): [AgentScope, (scope: AgentScope) => void] {
/** Ink and a faint fill per state, from the semantic status tokens only. */
const STATE_TONE: Record<AgentDotKind, { text: string; pill: string }> = {
waiting: { text: "text-warning", pill: "bg-warning/10" },
- working: { text: "text-success", pill: "bg-success/10" },
+ working: { text: "text-accent", pill: "bg-accent/10" },
error: { text: "text-destructive", pill: "bg-destructive/10" },
idle: { text: "text-muted-foreground", pill: "bg-muted" },
};
diff --git a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/agentStatus.ts b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/agentStatus.ts
index d9ffb1b8e0..e081f36b06 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/sidePanel/agentStatus.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/sidePanel/agentStatus.ts
@@ -35,7 +35,7 @@ export function stateKeyFor(pane: WorkspacePaneRow, kind: AgentDotKind = dotKind
}
export const DOT_STYLE: Record<AgentDotKind, { dot: string; ping: boolean }> = {
- working: { dot: "bg-success", ping: false },
+ working: { dot: "bg-accent", ping: false },
waiting: { dot: "bg-warning", ping: true },
idle: { dot: "bg-muted-foreground/40", ping: false },
error: { dot: "bg-destructive", ping: false },