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.

feat: make workspace surfaces transparent

rubenluetke10-beep98e6f7ee7ad1
diff --git a/jarvis/ui/web/frontend/src/App.detached.test.tsx b/jarvis/ui/web/frontend/src/App.detached.test.tsx
index 2252f9d053..13bd822509 100644
--- a/jarvis/ui/web/frontend/src/App.detached.test.tsx
+++ b/jarvis/ui/web/frontend/src/App.detached.test.tsx
@@ -78,6 +78,9 @@ describe("App shell around detached coding views", () => {
render(<App />);
expect(screen.getByTestId("jarvis-desktop-wallpaper")).toBeTruthy();
+ expect(
+ screen.getByTestId("main-view").parentElement?.classList.contains("jarvis-section-stage"),
+ ).toBe(true);
});
it("keeps the sidebar reachable in the main window", () => {
@@ -93,7 +96,7 @@ describe("App shell around detached coding views", () => {
expect(screen.getByTestId("sidebar-resizer")).toBeTruthy();
});
- it("still hides the sidebar for an attached coding workspace", () => {
+ it("hides the sidebar but keeps the shared ground for an attached coding workspace", () => {
useEventStore.setState({
activeSection: "agentic-ide",
navRevealed: false,
@@ -103,7 +106,10 @@ describe("App shell around detached coding views", () => {
render(<App />);
expect(screen.queryByTestId("sidebar")).toBeNull();
- expect(screen.queryByTestId("jarvis-desktop-wallpaper")).toBeNull();
+ expect(screen.getByTestId("jarvis-desktop-wallpaper")).toBeTruthy();
+ expect(
+ screen.getByTestId("main-view").parentElement?.classList.contains("jarvis-section-stage"),
+ ).toBe(true);
});
it("keeps a detached solo window chrome-free", () => {
@@ -117,6 +123,9 @@ describe("App shell around detached coding views", () => {
expect(screen.queryByTestId("sidebar")).toBeNull();
expect(screen.queryByTestId("topbar")).toBeNull();
- expect(screen.queryByTestId("jarvis-desktop-wallpaper")).toBeNull();
+ expect(screen.getByTestId("jarvis-desktop-wallpaper")).toBeTruthy();
+ expect(
+ screen.getByTestId("main-view").parentElement?.classList.contains("jarvis-section-stage"),
+ ).toBe(true);
});
});
diff --git a/jarvis/ui/web/frontend/src/App.tsx b/jarvis/ui/web/frontend/src/App.tsx
index 77815fc43b..e1442a93d2 100644
--- a/jarvis/ui/web/frontend/src/App.tsx
+++ b/jarvis/ui/web/frontend/src/App.tsx
@@ -33,24 +33,20 @@ import jarvisDesktopWallpaper from "@/assets/jarvis-desktop-wallpaper.webp";
const NAV_COLLAPSED_KEY = "jarvis.sidebar.collapsed.v1";
/**
- * The sections that open WITHOUT the app's module rail — and without the
- * decorative backdrop behind them.
+ * The sections that open without the app's module rail.
*
- * These screens are a workspace, not a page of the app: what is on them is the
- * user's own project and a coding agent working in it. A column of twenty
- * section icons beside that is the app talking about itself, and the grid and
- * glow washing over it are decoration competing with content that changes every
- * second. Both step aside here and stay exactly as they are everywhere else.
+ * These screens are focused workspaces, so navigation steps aside. The shared
+ * wallpaper remains the product ground while terminal panes keep the opaque
+ * surfaces their output needs.
*/
const CODING_SECTIONS = new Set(["agentic-ide", "chat-workspace", "agentic-ide-classic"]);
/**
- * The shared visual ground for every normal app section.
+ * The shared visual ground for every app section.
*
* The image and its theme veil are separate layers: the artwork can stay crisp
* while light and dark mode independently tune contrast through semantic theme
- * channels in index.css. Coding workspaces deliberately omit the layer because
- * terminal output needs a neutral, distraction-free ground.
+ * channels in index.css. Focused workspaces keep their content surfaces on top.
*/
function DesktopWallpaper() {
return (
@@ -240,10 +236,10 @@ export default function App() {
if (solo) {
return (
<div className="relative isolate flex h-screen w-screen overflow-hidden bg-background text-foreground">
- {!codingSurface && <DesktopWallpaper />}
+ <DesktopWallpaper />
{brokerMounted && <SubscriptionRealtimeTransportBroker />}
<main className="relative z-10 flex min-w-0 flex-1 flex-col">
- <div className="min-h-0 flex-1">
+ <div className="jarvis-section-stage min-h-0 flex-1">
<MainView />
</div>
</main>
@@ -257,7 +253,7 @@ export default function App() {
return (
<div className="relative isolate flex h-screen w-screen overflow-hidden bg-background text-foreground">
{brokerMounted && <SubscriptionRealtimeTransportBroker />}
- {!codingSurface && <DesktopWallpaper />}
+ <DesktopWallpaper />
{!railHidden && (
<>
@@ -289,7 +285,7 @@ export default function App() {
<InputIsolationBanner />
<TopBar />
<VoiceWarmingBanner />
- <div className="min-h-0 flex-1">
+ <div className="jarvis-section-stage min-h-0 flex-1">
<MainView />
</div>
</main>
diff --git a/jarvis/ui/web/frontend/src/components/ChatInput.tsx b/jarvis/ui/web/frontend/src/components/ChatInput.tsx
index 3037271ab3..a7009c942c 100644
--- a/jarvis/ui/web/frontend/src/components/ChatInput.tsx
+++ b/jarvis/ui/web/frontend/src/components/ChatInput.tsx
@@ -205,7 +205,7 @@ export function ChatInput() {
}
disabled={!connected}
rows={2}
- className="flex-1 resize-none rounded-md border border-input bg-background px-3 py-2 text-sm shadow-sm focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50"
+ className="jarvis-input-surface flex-1 resize-none rounded-md border border-input px-3 py-2 text-sm shadow-sm focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50"
/>
<Button
type="button"
diff --git a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
index 30acd2c688..23709aa0fb 100644
--- a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
@@ -369,7 +369,7 @@ export function Sidebar({
*/}
<div
aria-hidden
- className="pointer-events-none absolute inset-0 -z-10 bg-card/40 backdrop-blur"
+ className="jarvis-shell-surface pointer-events-none absolute inset-0 -z-10 backdrop-blur-md"
/>
<div className={cn("border-b border-border", railed ? "px-2 py-3" : "px-4 py-4")}>
<div
diff --git a/jarvis/ui/web/frontend/src/components/layout/TopBar.tsx b/jarvis/ui/web/frontend/src/components/layout/TopBar.tsx
index 941ddd76e8..b67ecc0c83 100644
--- a/jarvis/ui/web/frontend/src/components/layout/TopBar.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/TopBar.tsx
@@ -62,7 +62,7 @@ export function TopBar() {
}
return (
- <div className="flex h-10 shrink-0 items-center justify-end gap-2 border-b border-border bg-background/70 px-4 backdrop-blur-sm">
+ <div className="jarvis-shell-surface flex h-10 shrink-0 items-center justify-end gap-2 border-b border-border px-4 backdrop-blur-md">
{/* Status, not an action — carries its own `mr-auto` so it sits at the
left end of this right-aligned bar and never crowds the buttons. */}
<CodingModeBadge />
diff --git a/jarvis/ui/web/frontend/src/index.css b/jarvis/ui/web/frontend/src/index.css
index 87a3943552..c05af0d22e 100644
--- a/jarvis/ui/web/frontend/src/index.css
+++ b/jarvis/ui/web/frontend/src/index.css
@@ -480,6 +480,77 @@
);
}
+ /*
+ * Transparent workspace chrome.
+ *
+ * The wallpaper is the app's ground now, so navigation and section roots no
+ * longer repaint it with an opaque theme colour. Small content surfaces keep
+ * a restrained local veil for contrast; their colour still comes from the
+ * semantic shell channel and therefore follows light/dark mode automatically.
+ */
+ .jarvis-shell-surface {
+ background: linear-gradient(
+ 180deg,
+ rgb(var(--shell-rgb) / 0.16),
+ rgb(var(--shell-rgb) / 0.07)
+ );
+ }
+
+ .jarvis-panel-surface {
+ background: rgb(var(--shell-rgb) / 0.1);
+ }
+
+ .jarvis-message-surface {
+ background: linear-gradient(
+ 135deg,
+ rgb(var(--shell-rgb) / 0.28),
+ rgb(var(--shell-rgb) / 0.14)
+ );
+ -webkit-backdrop-filter: blur(12px) saturate(1.08);
+ backdrop-filter: blur(12px) saturate(1.08);
+ }
+
+ .jarvis-input-surface {
+ background: rgb(var(--shell-rgb) / 0.16);
+ -webkit-backdrop-filter: blur(14px) saturate(1.08);
+ backdrop-filter: blur(14px) saturate(1.08);
+ }
+
+ :root:not(.dark) .jarvis-shell-surface {
+ background: linear-gradient(
+ 180deg,
+ rgb(var(--shell-rgb) / 0.38),
+ rgb(var(--shell-rgb) / 0.18)
+ );
+ }
+
+ :root:not(.dark) .jarvis-panel-surface {
+ background: rgb(var(--shell-rgb) / 0.24);
+ }
+
+ :root:not(.dark) .jarvis-message-surface {
+ background: linear-gradient(
+ 135deg,
+ rgb(var(--shell-rgb) / 0.52),
+ rgb(var(--shell-rgb) / 0.3)
+ );
+ }
+
+ :root:not(.dark) .jarvis-input-surface {
+ background: rgb(var(--shell-rgb) / 0.4);
+ }
+
+ /* Section-level grounds disappear everywhere the wallpaper is active. The
+ selectors intentionally stop at page roots and purpose-built stages: cards,
+ dialogs and data tables retain their own hierarchy and remain readable. */
+ .jarvis-section-stage > [class~="bg-background"],
+ .jarvis-section-stage section[class~="bg-background"],
+ .jarvis-section-stage .agents-board-stage,
+ .jarvis-section-stage .uw-stage,
+ .jarvis-section-stage .wiki-space {
+ background-color: transparent;
+ }
+
/* Subtle grid pattern in the background — gives a dashboard feel without
distracting. Drawn in the accent so it reads as the app's own texture;
slightly stronger on paper, where a 4 % line simply disappears. */
diff --git a/jarvis/ui/web/frontend/src/views/ChatsView.tsx b/jarvis/ui/web/frontend/src/views/ChatsView.tsx
index ab0135037e..8cc1c3e21c 100644
--- a/jarvis/ui/web/frontend/src/views/ChatsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/ChatsView.tsx
@@ -210,8 +210,12 @@ function ConversationList({
return (
<aside
style={{ width }}
- className="flex h-full shrink-0 flex-col bg-card/30"
+ className="relative isolate flex h-full shrink-0 flex-col"
>
+ <div
+ aria-hidden
+ className="jarvis-panel-surface pointer-events-none absolute inset-0 -z-10 backdrop-blur-md"
+ />
<div className="flex items-center justify-between border-b border-border px-3 py-3">
<span className="font-display text-sm font-semibold tracking-tight">
{t("chats_view.history")}
@@ -283,8 +287,8 @@ function ConversationRow({
className={cn(
"flex w-full items-start gap-2 rounded-lg px-2 py-2 text-left transition-colors",
active
- ? "bg-background shadow-[inset_2px_0_0_hsl(var(--primary))]"
- : "hover:bg-background/60",
+ ? "bg-primary/[0.08] shadow-[inset_2px_0_0_hsl(var(--primary))]"
+ : "hover:bg-card/20",
)}
>
<Icon
@@ -406,7 +410,7 @@ function MessageBubble({ message }: { message: ChatMessage }) {
if (isSystem) {
return (
- <div className="mx-auto max-w-[85%] rounded-lg border border-border bg-secondary/40 px-3 py-2 text-center text-xs italic text-muted-foreground">
+ <div className="jarvis-message-surface mx-auto max-w-[85%] rounded-lg border border-border px-3 py-2 text-center text-xs italic text-muted-foreground">
{message.content}
</div>
);
@@ -415,7 +419,7 @@ function MessageBubble({ message }: { message: ChatMessage }) {
if (isPreamble) {
return (
<div className="flex justify-start">
- <div className="max-w-[80%] rounded-2xl rounded-bl-sm border border-dashed border-border bg-secondary/30 px-4 py-2.5 text-xs italic leading-relaxed text-muted-foreground">
+ <div className="jarvis-message-surface max-w-[80%] rounded-2xl rounded-bl-sm border border-dashed border-border px-4 py-2.5 text-xs italic leading-relaxed text-muted-foreground">
<div className="mb-1 flex items-center gap-1.5">
<span className="rounded-sm border border-border bg-secondary/70 px-1.5 py-0.5 font-mono text-[9px] font-semibold uppercase tracking-wider text-muted-foreground">
pre-ack
@@ -437,7 +441,7 @@ function MessageBubble({ message }: { message: ChatMessage }) {
"max-w-[80%] px-4 py-3 text-sm leading-relaxed",
isUser
? "rounded-2xl rounded-br-sm bg-primary text-primary-foreground"
- : "rounded-2xl rounded-bl-sm border border-border bg-card text-foreground",
+ : "jarvis-message-surface rounded-2xl rounded-bl-sm border border-border text-foreground",
)}
>
{!isUser && <AssistantLabel />}