Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
feat(appearance): wallpaper under the whole window, neutral minimap in Liquid Glass
iceclatterWTb3d72ba416a3
diff --git a/src/renderer/canvas/Canvas.tsx b/src/renderer/canvas/Canvas.tsxindex 2406579eb..c2a3714a4 100644--- a/src/renderer/canvas/Canvas.tsx+++ b/src/renderer/canvas/Canvas.tsx@@ -1034,8 +1034,10 @@ export function Canvas() {// For the local session it IS window.nodeTerminal, so every call resolves identically.const session = useSession()const { api } = session- // Desktop wallpaper (Settings → Appearance): painted on the React Flow root, which is- // viewport-sized and never transformed, so it stays fixed while the canvas pans and zooms.+ // Desktop wallpaper (Settings → Appearance): painted on `.canvas-root`, which spans the whole+ // window (tab bar row included, so Liquid Glass's tab bar is glass over the picture) and is never+ // transformed, so it stays fixed while the canvas pans and zooms. React Flow's own root goes+ // transparent over it (`.react-flow.has-wallpaper`).const wallpaperBg = useWallpaperBackground()// Memoised: Canvas re-renders on every drag frame, and a fresh style object would make React// re-diff (and a multi-MB data: URL re-compare) the root's style each time.@@ -1043,6 +1045,9 @@ export function Canvas() {() =>wallpaperBg? {+ // A separate small longhand: folding the colour into the image's value is what hit+ // Chromium's ~2 MB var() limit (see state/wallpaper.ts).+ backgroundColor: 'var(--canvas-bg)',backgroundImage: wallpaperBg,backgroundSize: 'cover',backgroundPosition: 'center',@@ -14507,7 +14512,7 @@ export function Canvas() {const paletteChip = chipFor('app.commandPalette')return (- <div className="canvas-root">+ <div className="canvas-root" style={wallpaperStyle}><TabBaronSwitch={switchProject}onReconnect={reconnectRelay}@@ -14840,7 +14845,6 @@ export function Canvas() {<SessionProvider session={sessionForProject(activeProjectId || '')} key={sessionForProject(activeProjectId || '').id}><ReactFlowclassName={wallpaperBg ? 'has-wallpaper' : undefined}- style={wallpaperStyle}nodes={allNodes}edges={displayEdges}nodeTypes={nodeTypes}diff --git a/src/renderer/styles.css b/src/renderer/styles.cssindex 26438ccf6..978648373 100644--- a/src/renderer/styles.css+++ b/src/renderer/styles.css@@ -3221,6 +3221,9 @@ body,}/* A desktop wallpaper (Settings → Appearance) is set inline on this element by Canvas. The dot gridstays — it is what snapping aligns to — but faded, so the picture reads as the background. */+.react-flow.has-wallpaper {+ background: transparent;+}.react-flow.has-wallpaper .react-flow__background {opacity: 0.3;}@@ -13571,3 +13574,24 @@ body.focus-mode .dock:hover {border-color: var(--accent);border-top-color: var(--accent) !important;}++/* Minimap: node rectangles are painted in the node's own colour (an inline style, hence+ !important), which is exactly the accent Liquid Glass removes. They become translucent ink —+ the theme's own `--tint-rgb`, so brown on the light theme and white on the dark one — with the+ selected node brighter. Status strokes (working/attention/unread, the `mm-*` classes) keep their+ colours: they are state, not decoration. The mask dims outside the viewport with the same+ chrome fill the map sits on. */+:root[data-nt-glass='on'] {+ --minimap-mask: var(--glass-chrome-bg);+}+:root[data-nt-glass='on'] .minimap .react-flow__minimap-node {+ fill: rgba(var(--tint-rgb), 0.3) !important;+}+:root[data-nt-glass='on'] .minimap .react-flow__minimap-node.selected {+ fill: rgba(var(--tint-rgb), 0.6) !important;+}+:root[data-nt-glass='on']+ .minimap+ .react-flow__minimap-node:not(.mm-working):not(.mm-attention):not(.mm-unread) {+ stroke: rgba(var(--tint-rgb), 0.45) !important;+}diff --git a/src/renderer/styles.liquid-glass.test.ts b/src/renderer/styles.liquid-glass.test.tsindex 45a5d5721..e1a7b3674 100644--- a/src/renderer/styles.liquid-glass.test.ts+++ b/src/renderer/styles.liquid-glass.test.ts@@ -55,4 +55,11 @@ describe('Liquid Glass stylesheet', () => {expect(blurred.some((r) => r.selector.includes(nested))).toBe(false)}})++ it('draws minimap nodes in neutral ink, not node colour, and keeps status strokes', () => {+ const fill = gated('.react-flow__minimap-node').find((r) => r.selector.endsWith('.react-flow__minimap-node'))+ expect(fill?.body).toMatch(/fill:\s*rgba\(var\(--tint-rgb\),[^)]*\)\s*!important/)+ const stroke = gated('.react-flow__minimap-node:not(.mm-working)')[0]+ expect(stroke?.selector).toContain(':not(.mm-attention):not(.mm-unread)')+ })})