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(visualization): calm the node cards back to two lines and quiet hues

rubenluetke10-beep9eaefbfd0956
diff --git a/jarvis/ui/web/frontend/src/index.css b/jarvis/ui/web/frontend/src/index.css
index 381b12f063..cec65ad863 100644
--- a/jarvis/ui/web/frontend/src/index.css
+++ b/jarvis/ui/web/frontend/src/index.css
@@ -432,19 +432,19 @@
--stage-vignette-strength: 0.1;
/* --- Run-graph node categories (Visualization) -----------------------
- The n8n-style family hues behind `nodeSpec.ts`. Every card's icon tile
- and kicker read `hsl(var(--viz-*))`; light values are darker so the
- category stays legible as ink on warm paper. */
+ The n8n-style family hues behind `nodeSpec.ts`. Only the card's icon
+ tile reads `hsl(var(--viz-*))` — QUIET accents against the brand, not
+ a rainbow. Light values are darker ink for warm paper. */
--viz-trigger: 38 100% 33%; /* the brand gold — the run's ignition */
- --viz-reasoning: 258 55% 45%; /* violet — the worker thinking */
- --viz-terminal: 190 85% 27%; /* cyan — shell commands */
- --viz-file: 210 80% 38%; /* blue — file writes/edits */
- --viz-search: 168 75% 26%; /* teal — read/grep/glob */
- --viz-web: 232 55% 46%; /* indigo — fetch/web */
- --viz-integration: 24 90% 36%; /* orange — MCP / external tools */
- --viz-agent: 292 60% 40%; /* magenta — sub-agent spawns */
+ --viz-reasoning: 258 35% 46%; /* muted violet — the worker thinking */
+ --viz-terminal: 190 50% 30%; /* muted cyan — shell commands */
+ --viz-file: 210 50% 38%; /* muted blue — file writes/edits */
+ --viz-search: 168 45% 28%; /* muted teal — read/grep/glob */
+ --viz-web: 232 35% 46%; /* muted indigo — fetch/web */
+ --viz-integration: 24 60% 38%; /* muted orange — MCP / external tools */
+ --viz-agent: 292 35% 40%; /* muted magenta — sub-agent spawns */
--viz-tool: 240 6% 38%; /* neutral — unrecognised tools */
- --viz-result: 152 65% 27%; /* green — the run's landing */
+ --viz-result: 152 45% 28%; /* muted green — the run's landing */
--viz-deliverable: 240 6% 38%; /* neutral — files left behind */
/* Legacy aliases. Kept because they are referenced from a handful of
@@ -497,17 +497,18 @@
--stage-vignette-rgb: 0 0 0;
--stage-vignette-strength: 0.62;
- /* Run-graph node categories — signal hues on matte black (see :root). */
+ /* Run-graph node categories — quiet accents on matte black (see :root).
+ Saturation stays low so signal-yellow remains the only loud voice. */
--viz-trigger: 50 100% 52%;
- --viz-reasoning: 258 90% 72%;
- --viz-terminal: 187 85% 55%;
- --viz-file: 210 95% 66%;
- --viz-search: 168 70% 50%;
- --viz-web: 232 90% 74%;
- --viz-integration: 24 95% 60%;
- --viz-agent: 292 80% 70%;
+ --viz-reasoning: 258 45% 70%;
+ --viz-terminal: 187 40% 56%;
+ --viz-file: 210 50% 64%;
+ --viz-search: 168 35% 52%;
+ --viz-web: 232 45% 70%;
+ --viz-integration: 24 55% 58%;
+ --viz-agent: 292 40% 66%;
--viz-tool: 0 0% 62%;
- --viz-result: 152 65% 52%;
+ --viz-result: 152 40% 52%;
--viz-deliverable: 0 0% 62%;
--jarvis-yellow: 255 214 10;
diff --git a/jarvis/ui/web/frontend/src/views/VisualizationView.tsx b/jarvis/ui/web/frontend/src/views/VisualizationView.tsx
index 9417bee0b1..7bdc374776 100644
--- a/jarvis/ui/web/frontend/src/views/VisualizationView.tsx
+++ b/jarvis/ui/web/frontend/src/views/VisualizationView.tsx
@@ -727,13 +727,23 @@ function GraphCanvas({
const hue = categoryColor(category);
const selected = node.id === selectedId;
const reasoning = category === "reasoning";
+ /* Two calm lines per card. A reasoning card is titled as what it
+ * IS, with the thought as its detail line — a raw sentence as a
+ * bold headline reads like a rendering accident. */
const title =
node.kind === "start"
? t("visualization.node_start")
: node.kind === "result"
? t("visualization.node_result")
- : node.title;
- const subtitle = node.kind === "start" ? node.title : node.subtitle;
+ : reasoning
+ ? t("visualization.cat_reasoning")
+ : node.title;
+ const subtitle =
+ node.kind === "start"
+ ? node.title
+ : reasoning
+ ? node.title
+ : node.subtitle;
/* Port dots come from the graph model (edge-derived), so a dot is
* always a real attachment point — a start node has no input, a
* deliverable no output, exactly like a workflow editor's nodes. */
@@ -802,19 +812,17 @@ function GraphCanvas({
aria-hidden
/>
)}
+ {/* The category speaks through the icon alone — its hue and
+ glyph — never through an extra text line. The label survives
+ as the tile's tooltip for whoever hovers to ask. */}
<span
className="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg"
- style={{ color: hue, backgroundColor: categoryTint(category, 0.14) }}
+ style={{ color: hue, backgroundColor: categoryTint(category, 0.12) }}
+ title={t(NODE_CATEGORIES[category].labelKey)}
>
<Icon className="h-4 w-4" aria-hidden />
</span>
<span className="min-w-0 flex-1">
- <span
- className="block truncate text-[9px] font-semibold uppercase tracking-widest"
- style={{ color: hue }}
- >
- {t(NODE_CATEGORIES[category].labelKey)}
- </span>
<span className="block truncate text-xs font-medium text-foreground">
{title}
</span>