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): keep Gigi on Chats only

Harald29c4b68d5c52
diff --git a/jarvis/ui/web/frontend/src/App.detached.test.tsx b/jarvis/ui/web/frontend/src/App.detached.test.tsx
index 6d29d53ddc..e1bf70cb71 100644
--- a/jarvis/ui/web/frontend/src/App.detached.test.tsx
+++ b/jarvis/ui/web/frontend/src/App.detached.test.tsx
@@ -109,6 +109,14 @@ describe("App shell around detached coding views", () => {
expect(screen.queryByTestId("jarvis-desktop-wallpaper-mascot")).toBeNull();
});
+ it("hides the live mascot on every section except Chats", () => {
+ useEventStore.setState({ activeSection: "tasks" });
+ 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/App.tsx b/jarvis/ui/web/frontend/src/App.tsx
index bc9c9c7268..a44893e996 100644
--- a/jarvis/ui/web/frontend/src/App.tsx
+++ b/jarvis/ui/web/frontend/src/App.tsx
@@ -46,9 +46,9 @@ const NAV_COLLAPSED_KEY = "jarvis.sidebar.collapsed.v1";
* Which artwork is shown belongs to the user — see the Wallpaper section. The
* picture that ships with the app remains the default, and the one every
* failure path returns to. Gigi is a separate live layer on that ground, not
- * painted into the picture — and he steps off it while the mission deck is on
- * stage (`hideMascot`): the deck's ring and console own that corner, and a
- * second ghost next to the orb was one too many (maintainer, 2026-08-19).
+ * painted into the picture — and he only sits on Chats (`hideMascot` everywhere
+ * else). Work sections were showing a second ghost in the empty corner, and
+ * the mission deck's ring already owns that same spot (maintainer, 2026-08-19).
*/
function DesktopWallpaper({ hideMascot = false }: { hideMascot?: boolean }) {
const wallpaperUrl = useDesktopWallpaper();
@@ -285,10 +285,18 @@ export default function App() {
* report through them) and the right-click edit menu (the desktop WebView
* has no native context menu, so this is the only mouse-driven paste).
*/
+ /*
+ * Gigi belongs on the Chats ground only. Every other section was painting
+ * the same live ghost into empty corners (Tasks, Wiki, Profile, …) and the
+ * deck already hides him for the same reason as before: two heroes in one
+ * corner. The wallpaper picture stays; only the mascot layer steps off.
+ */
+ const hideMascot = activeSection !== "chats" || deckOnStage;
+
if (solo) {
return (
<div className="relative isolate flex h-screen w-screen overflow-hidden bg-background text-foreground">
- <DesktopWallpaper hideMascot={deckOnStage} />
+ <DesktopWallpaper hideMascot={hideMascot} />
{brokerMounted && <SubscriptionRealtimeTransportBroker />}
<main className="relative z-10 flex min-w-0 flex-1 flex-col">
<SectionStage visualization={visualizationActive}>
@@ -305,7 +313,7 @@ export default function App() {
return (
<div className="relative isolate flex h-screen w-screen overflow-hidden bg-background text-foreground">
{brokerMounted && <SubscriptionRealtimeTransportBroker />}
- <DesktopWallpaper hideMascot={deckOnStage} />
+ <DesktopWallpaper hideMascot={hideMascot} />
{!deckOnStage && (
<>