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.

fix(ui): restore Gigi in signal-yellow and pack the sidebar

rubenluetke10-beep8cc9a8d1498b
diff --git a/docs/BRAND.md b/docs/BRAND.md
index 36faee47fc..b8c5bd664f 100644
--- a/docs/BRAND.md
+++ b/docs/BRAND.md
@@ -33,6 +33,7 @@ paper's warmth — that was the muddy look.
| Muted text, light | `#747167` | ![](https://img.shields.io/badge/_-747167?style=flat-square&labelColor=747167) |
| Muted text, dark | `#A3A3A3` | ![](https://img.shields.io/badge/_-A3A3A3?style=flat-square&labelColor=A3A3A3) |
| Destructive, light | `#C0392B` | ![](https://img.shields.io/badge/_-C0392B?style=flat-square&labelColor=C0392B) |
+| Signal-yellow (Gigi only) | `#FFD60A` | ![](https://img.shields.io/badge/_-FFD60A?style=flat-square&labelColor=FFD60A) |
Three things keep their own colour on purpose, because taking it away would remove
information rather than noise: third-party provider logos, the sixteen ANSI slots a
@@ -52,8 +53,10 @@ must stay on the same values so nothing drifts.
(`#242424` in, `#575757` out) rather than a 70 % cream wash.
- **Both modes, always.** A colour comes from a theme token or from the per-appearance
tables in `terminalThemes.ts`. Never hardcode one mode's value.
-- **No second accent.** There is no brand hue to reintroduce. The cyan and magenta in the
- wordmark are a *glitch artifact*, not part of the palette; never use them as UI colours.
+- **No second accent in the chrome.** There is no brand hue to reintroduce on buttons,
+ rows or panels. The cyan and magenta in the wordmark are a *glitch artifact*, not part
+ of the palette. **Gigi** is the one exception: eyes and mouth are **signal-yellow**
+ (`#FFD60A`) on the black body — matte-black + signal-yellow, the original mark.
- **Rasters convert on max(r, g, b), the orb on luma.** That is what keeps a mark legible
after it loses its colour.
diff --git a/jarvis/ui/web/frontend/src/components/MascotGigi.tsx b/jarvis/ui/web/frontend/src/components/MascotGigi.tsx
index 3a4eab13f2..4f1ea95390 100644
--- a/jarvis/ui/web/frontend/src/components/MascotGigi.tsx
+++ b/jarvis/ui/web/frontend/src/components/MascotGigi.tsx
@@ -1,4 +1,4 @@
-import { useCallback, useEffect, useRef, useState } from "react";
+import { useCallback, useEffect, useId, useRef, useState } from "react";
import { cn } from "@/lib/utils";
import { translate, useT } from "@/i18n";
import { useEventStore, type VoiceState, type SectionId } from "@/store/events";
@@ -53,6 +53,7 @@ export function MascotGigi({
enableComments = true,
}: Props) {
const t = useT();
+ const uid = `gigi${useId().replace(/:/g, "")}`;
const [action, setAction] = useState<MascotAction>("idle");
const voiceState = useEventStore((s) => s.voiceState);
const transcription = useEventStore((s) => s.transcription);
@@ -98,26 +99,26 @@ export function MascotGigi({
>
<svg viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg" className="gigi-svg">
<defs>
- <filter id="gigiYGlow" x="-50%" y="-50%" width="200%" height="200%">
+ <filter id={`${uid}YGlow`} x="-50%" y="-50%" width="200%" height="200%">
<feGaussianBlur stdDeviation="3" result="b" />
<feMerge>
<feMergeNode in="b" />
<feMergeNode in="SourceGraphic" />
</feMerge>
</filter>
- <filter id="gigiSoftGlow" x="-50%" y="-50%" width="200%" height="200%">
+ <filter id={`${uid}SoftGlow`} x="-50%" y="-50%" width="200%" height="200%">
<feGaussianBlur stdDeviation="6" result="b" />
<feMerge>
<feMergeNode in="b" />
<feMergeNode in="SourceGraphic" />
</feMerge>
</filter>
- <radialGradient id="gigiBody" cx="50%" cy="35%">
+ <radialGradient id={`${uid}Body`} cx="50%" cy="35%">
<stop offset="0%" stopColor="#232323" />
<stop offset="55%" stopColor="#0E0E0E" />
<stop offset="100%" stopColor="#050505" />
</radialGradient>
- <linearGradient id="gigiYAccent" x1="0%" y1="0%" x2="0%" y2="100%">
+ <linearGradient id={`${uid}YAccent`} x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" stopColor="hsl(var(--gigi-on-body))" />
<stop offset="100%" stopColor="hsl(var(--gigi-on-body))" stopOpacity="0.78" />
</linearGradient>
@@ -129,14 +130,14 @@ export function MascotGigi({
d="M 58 90 Q 58 36 128 36 Q 198 36 198 90 L 198 208 L 180 186 L 160 208 L 140 186 L 120 208 L 100 186 L 80 208 L 58 186 Z"
fill="hsl(var(--gigi-trim))"
opacity="0.42"
- filter="url(#gigiSoftGlow)"
+ filter={`url(#${uid}SoftGlow)`}
/>
{/* Body */}
<path
className="gigi-body"
d="M 58 90 Q 58 36 128 36 Q 198 36 198 90 L 198 208 L 180 186 L 160 208 L 140 186 L 120 208 L 100 186 L 80 208 L 58 186 Z"
- fill="url(#gigiBody)"
+ fill={`url(#${uid}Body)`}
stroke="hsl(var(--gigi-trim))"
strokeWidth="1.8"
strokeOpacity="0.85"
@@ -149,7 +150,7 @@ export function MascotGigi({
</g>
{/* Glitch pixels right */}
- <g className="gigi-glitch-right" fill="hsl(var(--gigi-trim))" filter="url(#gigiYGlow)">
+ <g className="gigi-glitch-right" fill="hsl(var(--gigi-trim))" filter={`url(#${uid}YGlow)`}>
<rect x="200" y="104" width="6" height="6" />
<rect x="208" y="128" width="4" height="4" />
<rect x="202" y="146" width="9" height="3" />
@@ -157,7 +158,7 @@ export function MascotGigi({
<rect x="206" y="176" width="5" height="3" />
</g>
{/* Glitch pixels left */}
- <g className="gigi-glitch-left" fill="hsl(var(--gigi-trim))" opacity="0.7" filter="url(#gigiYGlow)">
+ <g className="gigi-glitch-left" fill="hsl(var(--gigi-trim))" opacity="0.7" filter={`url(#${uid}YGlow)`}>
<rect x="44" y="96" width="6" height="4" />
<rect x="48" y="124" width="4" height="6" />
<rect x="40" y="148" width="8" height="3" />
@@ -169,13 +170,13 @@ export function MascotGigi({
<rect x="170" y="118" width="18" height="10" fill="hsl(var(--gigi-on-body))" opacity="0.32" />
{/* Eye glows */}
- <ellipse cx="102" cy="108" rx="13" ry="17" fill="hsl(var(--gigi-on-body))" opacity="0.35" filter="url(#gigiSoftGlow)" />
- <ellipse cx="154" cy="108" rx="13" ry="17" fill="hsl(var(--gigi-on-body))" opacity="0.35" filter="url(#gigiSoftGlow)" />
+ <ellipse cx="102" cy="108" rx="13" ry="17" fill="hsl(var(--gigi-on-body))" opacity="0.35" filter={`url(#${uid}SoftGlow)`} />
+ <ellipse cx="154" cy="108" rx="13" ry="17" fill="hsl(var(--gigi-on-body))" opacity="0.35" filter={`url(#${uid}SoftGlow)`} />
{/* Eye sockets — auto-blinkend */}
<g className="gigi-eyes">
- <ellipse cx="102" cy="108" rx="10" ry="14" fill="url(#gigiYAccent)" filter="url(#gigiYGlow)" />
- <ellipse cx="154" cy="108" rx="10" ry="14" fill="url(#gigiYAccent)" filter="url(#gigiYGlow)" />
+ <ellipse cx="102" cy="108" rx="10" ry="14" fill={`url(#${uid}YAccent)`} filter={`url(#${uid}YGlow)`} />
+ <ellipse cx="154" cy="108" rx="10" ry="14" fill={`url(#${uid}YAccent)`} filter={`url(#${uid}YGlow)`} />
</g>
{/* Pupils — driften sanft */}
@@ -192,7 +193,7 @@ export function MascotGigi({
{/* Mouth — subtile Atmung */}
<g className="gigi-mouth">
- <ellipse cx="128" cy="146" rx="7" ry="10" fill="url(#gigiYAccent)" filter="url(#gigiYGlow)" />
+ <ellipse cx="128" cy="146" rx="7" ry="10" fill={`url(#${uid}YAccent)`} filter={`url(#${uid}YGlow)`} />
<ellipse cx="128" cy="146" rx="3" ry="5" fill="#050505" />
</g>
@@ -204,7 +205,7 @@ export function MascotGigi({
strokeWidth="5.5"
fill="none"
strokeLinecap="round"
- filter="url(#gigiYGlow)"
+ filter={`url(#${uid}YGlow)`}
/>
<path
className="gigi-arm gigi-arm-right"
@@ -213,7 +214,7 @@ export function MascotGigi({
strokeWidth="5.5"
fill="none"
strokeLinecap="round"
- filter="url(#gigiYGlow)"
+ filter={`url(#${uid}YGlow)`}
/>
</svg>
</div>
diff --git a/jarvis/ui/web/frontend/src/components/home/Greeting.tsx b/jarvis/ui/web/frontend/src/components/home/Greeting.tsx
index f608627400..c0b8ced75d 100644
--- a/jarvis/ui/web/frontend/src/components/home/Greeting.tsx
+++ b/jarvis/ui/web/frontend/src/components/home/Greeting.tsx
@@ -1,7 +1,7 @@
import { useUserName } from "@/hooks/useUserName";
import { fill, useT } from "@/i18n";
-import { PRODUCT_NAME } from "@/lib/branding";
import { cn } from "@/lib/utils";
+import { MascotGigi } from "@/components/MascotGigi";
/**
* "Good morning, Ruben" — the front page's opening line, on both stages.
@@ -34,13 +34,7 @@ export function Greeting({
>
<h1 className="flex items-center gap-3 font-display text-3xl tracking-tight text-foreground [text-wrap:balance]">
<span className="jarvis-logo-well flex h-9 w-9 shrink-0 items-center justify-center overflow-hidden rounded-full">
- <img
- src="/jarvis-logo.png"
- width={32}
- height={32}
- alt={PRODUCT_NAME}
- className="jarvis-logo-mark h-8 w-8"
- />
+ <MascotGigi size={32} enableComments={false} reactToVoice={false} className="pointer-events-none" />
</span>
<span>{text}</span>
</h1>
diff --git a/jarvis/ui/web/frontend/src/components/layout/Sidebar.test.tsx b/jarvis/ui/web/frontend/src/components/layout/Sidebar.test.tsx
index 086403fc3f..f08ec5ac70 100644
--- a/jarvis/ui/web/frontend/src/components/layout/Sidebar.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/Sidebar.test.tsx
@@ -233,41 +233,12 @@ describe("Sidebar header avatar", () => {
overlayMock.style = "jarvis_bar";
});
- // NOTE: an earlier change had the header avatar mirror the overlay display
- // style (bar glyph for "jarvis_bar"). A later snapshot reverted it to the
- // canonical static brand logo (jarvis-logo.png) regardless of style. This
- // test pins the CURRENT behavior; the bar-vs-mascot-vs-logo choice is a
- // product/branding decision tracked separately from the boot-speed work.
- test("renders the static brand-logo avatar (one stable header identity)", () => {
+ test("renders live Gigi in the header (signal-yellow on black)", () => {
const { container } = renderSidebar();
const avatar = container.querySelector('[data-testid="sidebar-style-avatar"]');
expect(avatar).not.toBeNull();
- expect(avatar?.getAttribute("data-variant")).toBe("logo");
- });
-
- test("retries a failed logo load with a cache-busted URL (self-healing)", () => {
- // A load that fails once (backend restarting, dist mid-rebuild) must not
- // stick as the browser's broken-image glyph forever: after an error the
- // <img> re-requests the logo under a cache-busting query.
- vi.useFakeTimers();
- try {
- const { container } = renderSidebar();
- const logo = container.querySelector(
- '[data-testid="sidebar-style-avatar"] img',
- ) as HTMLImageElement;
- expect(logo.getAttribute("src")).toBe("/jarvis-logo.png");
-
- act(() => {
- logo.dispatchEvent(new Event("error"));
- // Past the first retry delay only: the sidebar also owns a polling
- // interval (recent chats), so running ALL timers would never return.
- vi.advanceTimersByTime(2_000);
- });
-
- expect(logo.getAttribute("src")).toBe("/jarvis-logo.png?retry=1");
- } finally {
- vi.useRealTimers();
- }
+ expect(avatar?.getAttribute("data-variant")).toBe("mascot");
+ expect(avatar?.querySelector("svg")).not.toBeNull();
});
});
diff --git a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
index 99c2b24219..5d2b858711 100644
--- a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
@@ -32,14 +32,8 @@ import { useHomeStore } from "@/store/home";
import { useAgentChatStore } from "@/store/agentChat";
import { useIdeChatStore } from "@/store/ideChat";
import { WorkspaceChats } from "@/components/agentic/WorkspaceChats";
-import { PRODUCT_NAME } from "@/lib/branding";
import { useAppInstance } from "@/hooks/useAppInstance";
-
-// A logo request that fails once (backend restarting, dist mid-rebuild) would
-// otherwise stick as the browser's broken-image glyph forever — an <img> never
-// retries on its own. Bounded cache-busted retries let it heal itself.
-const LOGO_RETRY_MAX = 5;
-const LOGO_RETRY_BASE_MS = 1500;
+import { MascotGigi } from "@/components/MascotGigi";
/** Where the Chat row remembers whether its history is folded out. */
const CHATS_OPEN_KEY = "jarvis.sidebar.recent-chats-open";
@@ -348,8 +342,6 @@ export function Sidebar({
const footerProvider = engine.providerLabel;
const footerModel = engine.model;
- const [logoRetry, setLogoRetry] = useState(0);
-
// Dragged past the snap point the sidebar becomes a rail of icons. Everything
// that only makes sense with a label beside it — the wake-word hint, the
// realtime control, the brain card's provider and model — steps aside; the
@@ -377,19 +369,17 @@ export function Sidebar({
data-railed={railed ? "true" : "false"}
className="jarvis-nav-surface relative isolate z-20 flex h-full shrink-0 flex-col"
>
- <div className={cn("border-b border-border", railed ? "px-2 py-3" : "px-4 py-4")}>
+ <div className={cn("border-b border-border", railed ? "px-2 py-2.5" : "px-3 py-3")}>
<div
className={cn(
"flex items-center gap-3",
railed && "flex-col justify-center gap-1.5",
)}
>
- {/* The original Personal Jarvis logo — the ghost mascot. A snapshot
- had swapped the header avatar for a bar glyph / gold-spark mark;
- this is the canonical brand identity (jarvis-gigi). */}
+ {/* Live Gigi — signal-yellow on matte black, the original mark. */}
<span
data-testid="sidebar-style-avatar"
- data-variant="logo"
+ data-variant="mascot"
title={railed ? `${assistantName} — ${voiceLabel}` : undefined}
className={cn(
"jarvis-logo-well relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
@@ -405,24 +395,11 @@ export function Sidebar({
{devTag}
</span>
)}
- <img
- src={
- logoRetry === 0
- ? "/jarvis-logo.png"
- : `/jarvis-logo.png?retry=${logoRetry}`
- }
- width={railed ? 32 : 40}
- height={railed ? 32 : 40}
- alt={PRODUCT_NAME}
- className="jarvis-logo-mark shrink-0"
- onError={() => {
- if (logoRetry < LOGO_RETRY_MAX) {
- window.setTimeout(
- () => setLogoRetry((n) => n + 1),
- (logoRetry + 1) * LOGO_RETRY_BASE_MS,
- );
- }
- }}
+ <MascotGigi
+ size={railed ? 34 : 42}
+ enableComments={false}
+ reactToVoice
+ className="pointer-events-none"
/>
</span>
{!railed && (
@@ -490,7 +467,7 @@ export function Sidebar({
onto the voice stage itself, where it has the room to be read.
Hidden while the IDE's chats own the column: two switches with
"Chat" on both halves are two questions nobody asked. */}
- <SurfaceSwitch className="mt-3" />
+ <SurfaceSwitch className="mt-2" />
<button
type="button"
onClick={onVoiceSurface ? startNewVoice : startNewChat}
@@ -545,7 +522,7 @@ export function Sidebar({
</button>
</>
) : (
- <nav className="p-2">
+ <nav className="px-1.5 py-1.5">
{chatFace && (
<button
type="button"
@@ -569,9 +546,9 @@ export function Sidebar({
key={groupIndex}
className={cn(
"space-y-0.5",
- // Breathing room above every group after the first. A hairline
- // here read as a dead rule on charcoal, so the gap does the work.
- groupIndex > 0 && "mt-3 pt-1",
+ // One window: groups sit in one list. A hairline here read as
+ // a dead rule; a large gap read as separate panes.
+ groupIndex > 0 && "mt-1",
)}
>
{group.map((raw) => {
@@ -638,7 +615,7 @@ export function Sidebar({
</div>
)}
- <div className={cn("border-t border-border", railed ? "p-1.5" : "p-3")}>
+ <div className={cn("border-t border-border", railed ? "p-1.5" : "p-2")}>
<button
type="button"
onClick={() => setActive("apikeys")}
@@ -737,7 +714,7 @@ function NavRow({
onClick={onClick}
title={hint}
className={cn(
- "group relative flex w-full items-center gap-3 rounded-xl px-2.5 py-2 text-[13px] font-medium transition-colors",
+ "group relative flex w-full items-center gap-2.5 rounded-xl px-2 py-1.5 text-[13px] font-medium transition-colors",
"hover:bg-secondary/70",
// Leave the chevron its own column so the two buttons never overlap.
expand && "pr-9",
@@ -746,7 +723,7 @@ function NavRow({
>
<span
className={cn(
- "flex h-7 w-7 shrink-0 items-center justify-center rounded-lg transition-colors",
+ "flex h-6 w-6 shrink-0 items-center justify-center rounded-md transition-colors",
active ? "bg-foreground/10 text-foreground" : "text-foreground/55 group-hover:text-foreground",
)}
>
diff --git a/jarvis/ui/web/frontend/src/index.css b/jarvis/ui/web/frontend/src/index.css
index 1545f0e430..058951d6bb 100644
--- a/jarvis/ui/web/frontend/src/index.css
+++ b/jarvis/ui/web/frontend/src/index.css
@@ -595,10 +595,10 @@ label,
invisible on paper, which is the "partly wrong" the
maintainer saw.
- Trim is also deliberately quiet on the dark ground: it is decoration
- around the figure, not the figure, and pure white on near-black made
- the glitch pixels louder than the eyes. */
- --gigi-on-body: 60 16% 96%; /* the canvas — legible on the body */
+ Eyes and mouth are signal-yellow (#FFD60A) on the black body in both
+ themes — that is the original Gigi. Trim (arms, halo) still flips with
+ the PAGE so the silhouette reads on paper. */
+ --gigi-on-body: 50 100% 52%; /* #FFD60A signal-yellow */
--gigi-trim: 53 12% 13%; /* ink — reads on paper */
--jarvis-yellow: 38 37 30;
--jarvis-yellow-dim: 128 125 114;
@@ -703,10 +703,10 @@ label,
--viz-result: 0 0% 100%;
--viz-deliverable: 0 0% 64%;
- /* See the mascot note in :root. On this ground the trim steps DOWN to
- muted rather than up to white: it frames the figure, it is not it. */
- --gigi-on-body: 0 0% 100%;
- --gigi-trim: 0 0% 64%;
+ /* Original Gigi: signal-yellow markings on the black body. Trim is a
+ quieter gold so the arms frame the figure instead of matching the eyes. */
+ --gigi-on-body: 50 100% 52%; /* #FFD60A */
+ --gigi-trim: 48 82% 42%; /* #C49B13 */
--jarvis-yellow: 247 247 247;
--jarvis-yellow-dim: 163 163 163;
--jarvis-grid: 0 0% 8%;
@@ -1818,10 +1818,10 @@ label,
transform-origin: 50% 50%;
}
- /* The body is drawn near-black so the white eyes read. On charcoal that
- silhouette disappears; a little lift keeps the ghost a figure, not a hole. */
+ /* The body stays near-black; signal-yellow does the lighting. A small lift
+ keeps the silhouette from collapsing into the charcoal page. */
.dark .gigi-body {
- filter: brightness(1.45);
+ filter: brightness(1.2);
}
/* Auto-blink (a natural blink every ~7s — parallel to random actions) */
diff --git a/jarvis/ui/web/frontend/src/views/ClisHubView.tsx b/jarvis/ui/web/frontend/src/views/ClisHubView.tsx
index cf97b8fa7d..5db81c2ffe 100644
--- a/jarvis/ui/web/frontend/src/views/ClisHubView.tsx
+++ b/jarvis/ui/web/frontend/src/views/ClisHubView.tsx
@@ -52,7 +52,7 @@ export function ClisHubView() {
<div className="flex h-full min-h-0">
<nav
aria-label={t("clis_view.group_label")}
- className="flex w-[200px] shrink-0 flex-col border-r border-border/60 px-3 py-5"
+ className="flex w-[200px] shrink-0 flex-col border-r border-border/60 px-3 py-3"
>
<p className="px-2.5 pb-2 text-[11px] font-medium uppercase tracking-wider text-foreground/50">
{t("clis_view.group_label")}
diff --git a/jarvis/ui/web/frontend/src/views/ExtensionsView.tsx b/jarvis/ui/web/frontend/src/views/ExtensionsView.tsx
index d05b4bf709..52d1488da3 100644
--- a/jarvis/ui/web/frontend/src/views/ExtensionsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/ExtensionsView.tsx
@@ -63,7 +63,7 @@ export function ExtensionsView() {
<div className="flex h-full min-h-0">
<nav
aria-label={t("extensions.group_label")}
- className="flex w-[200px] shrink-0 flex-col border-r border-border/60 px-3 py-5"
+ className="flex w-[200px] shrink-0 flex-col border-r border-border/60 px-3 py-3"
>
<p className="px-2.5 pb-2 text-[11px] font-medium uppercase tracking-wider text-foreground/50">
{t("extensions.group_label")}