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): take Gigi off the mission deck in the running bundle

Haraldba7609e233da
diff --git a/jarvis/ui/web/frontend/src/App.detached.test.tsx b/jarvis/ui/web/frontend/src/App.detached.test.tsx
index 9d84fa6462..6d29d53ddc 100644
--- a/jarvis/ui/web/frontend/src/App.detached.test.tsx
+++ b/jarvis/ui/web/frontend/src/App.detached.test.tsx
@@ -2,6 +2,7 @@ import { cleanup, render, screen } from "@testing-library/react";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import App from "@/App";
+import { useDeckStore } from "@/store/deck";
import { useEventStore } from "@/store/events";
import { useWallpaperStore } from "@/store/wallpaper";
@@ -70,6 +71,10 @@ beforeEach(() => {
detachedViews: [],
});
useWallpaperStore.setState({ mascotOn: true });
+ // Classic chat is a normal section: the live mascot stays on the ground.
+ // The mission deck hides it (see the test below) — defaulting to classic
+ // here keeps the wallpaper assertions about "a normal section" honest.
+ useDeckStore.setState({ mode: "classic" });
});
afterEach(() => {
@@ -96,6 +101,14 @@ describe("App shell around detached coding views", () => {
expect(screen.queryByTestId("jarvis-desktop-wallpaper-mascot")).toBeNull();
});
+ it("hides the live mascot while the mission deck is on stage", () => {
+ useDeckStore.setState({ mode: "deck" });
+ render(<App />);
+
+ expect(screen.getByTestId("jarvis-desktop-wallpaper")).toBeTruthy();
+ expect(screen.queryByTestId("jarvis-desktop-wallpaper-mascot")).toBeNull();
+ });
+
it("keeps the sidebar reachable in the main window", () => {
useEventStore.setState({
activeSection: "agentic-ide",
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckOrb.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckOrb.tsx
index dac101ae79..72f171f7b2 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckOrb.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckOrb.tsx
@@ -6,18 +6,19 @@ import { HudHaloDefs } from "@/components/deck/HudFrame";
import { cn } from "@/lib/utils";
/**
- * The centre of the deck: the Jarvis orb with the mascot in its core, set in
- * a reticle — a dial ring, corner brackets, one bright arc per running step,
- * and four small readouts at the compass points.
+ * The centre of the deck: the Jarvis orb in a reticle — a dial ring, corner
+ * brackets, one bright arc per running step, and four small readouts at the
+ * compass points.
*
* The orb is the product's own artwork (`JarvisOrb`: the sphere cut out of
* `hero-orb.png`), moved a little by the real voice state, with a soft gold
* glow carrying it past its own edge. The maintainer asked for the picture
* itself in the middle (2026-08-18) after the procedural cloud with a dark
- * mascot on it read as a blob. The reticle is the deck's addition, and every
- * part of it carries information: the arcs are parallel work made visible,
- * the sweep turns only while something runs, the readouts are live values the
- * caller sources.
+ * mascot on it read as a blob. A mascot later rode in the core for a day
+ * and came back out (2026-08-19): two ghosts on one stage. The reticle is
+ * the deck's addition, and every part of it carries information: the arcs
+ * are parallel work made visible, the sweep turns only while something
+ * runs, the readouts are live values the caller sources.
*/
export interface OrbReadouts {
nw: string;
@@ -220,8 +221,7 @@ export function DeckOrb({
* The orb — the part of the centre a press lands on.
*
* Back to front: a soft gold glow wider than the sphere (`.deck-orb-glow`,
- * keyed on the voice state), then the artwork itself with the mascot in its
- * core (`JarvisOrb`).
+ * keyed on the voice state), then the artwork itself (`JarvisOrb`).
*/
function OrbFace({ voiceState, orbSize }: { voiceState: VoiceState; orbSize: number }) {
const glow = Math.round(orbSize * 1.35);