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: reveal wallpaper through wiki panes

rubenluetke10-beep152dd7e48254
diff --git a/jarvis/ui/web/frontend/src/index.css b/jarvis/ui/web/frontend/src/index.css
index a001ecedaa..e73d15f909 100644
--- a/jarvis/ui/web/frontend/src/index.css
+++ b/jarvis/ui/web/frontend/src/index.css
@@ -326,6 +326,8 @@
--surface-panel-alpha: 0.68;
--surface-control-alpha: 0.82;
--surface-stage-alpha: 0.7;
+ --surface-wiki-pane-alpha: 0.52;
+ --surface-wiki-stage-alpha: 0.5;
/* --- Stages ----------------------------------------------------------
The full-bleed canvases behind the knowledge maps. They are not chrome:
@@ -379,6 +381,8 @@
--surface-panel-alpha: 0.58;
--surface-control-alpha: 0.72;
--surface-stage-alpha: 0.58;
+ --surface-wiki-pane-alpha: 0.36;
+ --surface-wiki-stage-alpha: 0.34;
--stage-bg: 0 0% 4%;
--stage-dot-rgb: 255 255 255;
@@ -697,6 +701,54 @@
background-color: transparent;
}
+ /* The normal Wiki is assembled from nested full-height panes. Giving every
+ structural wrapper its own glass fill compounds the alpha and turns three
+ transparent layers into an almost opaque rectangle. Keep the workspace and
+ centre column clear, then paint exactly one restrained veil on each real
+ pane. */
+ .jarvis-section-stage #wiki-workspace,
+ .jarvis-section-stage
+ #wiki-workspace
+ > section[class~="bg-background"] {
+ background-color: transparent;
+ }
+
+ /* A transparent full-screen map must not reveal the app bar's labels under
+ its own toolbar. The wallpaper should continue through the overlay; the
+ shell controls should not. They return immediately when the map restores. */
+ main:has(
+ > .jarvis-section-stage
+ #wiki-workspace[data-graph-expanded="true"]
+ )
+ > :not(.jarvis-section-stage) {
+ visibility: hidden;
+ }
+
+ .jarvis-section-stage
+ #wiki-workspace
+ :where(
+ [data-testid="wiki-tree-sidebar"],
+ [data-testid="wiki-backlinks-panel"],
+ [data-testid="wiki-backlinks-placeholder"]
+ ) {
+ background-color: rgb(
+ var(--shell-rgb) / var(--surface-wiki-pane-alpha)
+ );
+ -webkit-backdrop-filter: blur(8px) saturate(1.04);
+ backdrop-filter: blur(8px) saturate(1.04);
+ }
+
+ .jarvis-section-stage
+ #wiki-workspace
+ > section
+ > [class~="bg-card/40"] {
+ background-color: rgb(
+ var(--shell-rgb) / var(--surface-wiki-pane-alpha)
+ );
+ -webkit-backdrop-filter: blur(8px) saturate(1.04);
+ backdrop-filter: blur(8px) saturate(1.04);
+ }
+
/* Staggered reveal on view mount — one orchestrated page-load moment.
Pair with an inline `animationDelay` for the stagger cadence. */
@keyframes profile-rise {
@@ -1526,7 +1578,9 @@
* window, which is the same mistake as a #000 terminal in a #12141a shell.
*/
.wiki-space {
- background-color: rgb(var(--shell-rgb) / var(--surface-stage-alpha));
+ background-color: rgb(
+ var(--shell-rgb) / var(--surface-wiki-stage-alpha)
+ );
background-image:
radial-gradient(
ellipse 120% 90% at 50% 42%,
diff --git a/jarvis/ui/web/frontend/src/views/WikiView.test.tsx b/jarvis/ui/web/frontend/src/views/WikiView.test.tsx
index 0dd731238d..2b96c428f4 100644
--- a/jarvis/ui/web/frontend/src/views/WikiView.test.tsx
+++ b/jarvis/ui/web/frontend/src/views/WikiView.test.tsx
@@ -274,6 +274,7 @@ describe("WikiView — populated tree", () => {
fireEvent.click(expandButton);
expect(workspace.getAttribute("data-graph-expanded")).toBe("true");
+ expect(workspace.classList.contains("z-[100]")).toBe(true);
expect(screen.queryByTestId("wiki-tree-sidebar")).toBeNull();
expect(screen.queryByTestId("wiki-backlinks-placeholder")).toBeNull();
diff --git a/jarvis/ui/web/frontend/src/views/WikiView.tsx b/jarvis/ui/web/frontend/src/views/WikiView.tsx
index 97abaf653b..5e046e1a49 100644
--- a/jarvis/ui/web/frontend/src/views/WikiView.tsx
+++ b/jarvis/ui/web/frontend/src/views/WikiView.tsx
@@ -426,7 +426,7 @@ export function WikiView(): JSX.Element {
// the more room it has, and leaving the nav rail, the header and
// two status strips around it was most of why it never looked
// like anything. Fixed to the viewport, above everything.
- isGraphExpanded && "fixed inset-0 z-50",
+ isGraphExpanded && "fixed inset-0 z-[100]",
)}
data-testid="wiki-workspace"
data-graph-expanded={isGraphExpanded ? "true" : "false"}