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
fix(glass): no translucent surface without a working blur (visual QA N1)
iceclatterWT2c19ef3459d0
diff --git a/src/renderer/styles.css b/src/renderer/styles.cssindex 367ab0b97..a9379b771 100644--- a/src/renderer/styles.css+++ b/src/renderer/styles.css@@ -13639,7 +13639,6 @@ body.focus-mode .dock:hover {:root[data-nt-glass='on']:is(.tabbar,- .dock,.controls-cluster > button,.react-flow__controls,.react-flow__minimap.minimap,@@ -13699,10 +13698,43 @@ body.focus-mode .dock:hover {mask-composite: exclude;}-/* Nested inside a blurred container (or unknown nesting): the fill only. */-/* .ctx-popover opens INSIDE a terminal node (the context meter), which is already blurred. */-:root[data-nt-glass='on'] :is(.dock-menu, .dock-menu__sub, .ctx-popover) {- background: var(--glass-chrome-bg) !important;+/* NEVER translucent without a working blur (visual QA round 2, N1). An element with its own+ backdrop-filter is a BACKDROP ROOT: a blur on anything inside it samples only the root's own+ pixels, so a menu that opens outside its parent (or over sharp content inside it) blurs nothing+ and the text behind it reads straight through. Two fixes, one per case:+ - The dock and its menus HOST menus that pop out of them, so their glass lives on a ::before+ layer (fill, hairline and blur). The container itself has no backdrop-filter, is no backdrop+ root, and each menu — the submenu included — blurs the canvas like any top-level surface. The+ dock keeps the control fill (it follows the slider); its menus are text surfaces.+ - A popover INSIDE a glass node (the context meter's, the colour swatches) cannot blur: the node+ is its backdrop root and the terminal text under it is sharp. It is solid — the menu colour at+ full alpha — instead. The node's own surface is unchanged. */+:root[data-nt-glass='on'] :is(.dock, .dock-menu, .dock-menu__sub) {+ background: transparent !important;+ border-color: transparent;+ -webkit-backdrop-filter: none;+ backdrop-filter: none;+ isolation: isolate;+}+:root[data-nt-glass='on'] :is(.dock, .dock-menu, .dock-menu__sub)::before {+ content: '';+ position: absolute;+ inset: -1px;+ z-index: -1;+ border: 1px solid var(--glass-edge);+ border-radius: inherit;+ pointer-events: none;+ background: var(--glass-chrome-bg);+ -webkit-backdrop-filter: var(--glass-text-blur);+ backdrop-filter: var(--glass-text-blur);+}+:root[data-nt-glass='on'] .dock::before {+ background: var(--glass-control-bg);+ -webkit-backdrop-filter: var(--glass-control-blur);+ backdrop-filter: var(--glass-control-blur);+}+:root[data-nt-glass='on'] :is(.ctx-popover, .color-popover) {+ background: rgb(var(--menu-rgb)) !important;}/* The sessions sidebar opens over its own toggle (same corner); through translucent glass thetoggle's glyph ghosted above "Sessions" (visual QA M5). The sidebar's × closes it. */diff --git a/src/renderer/styles.liquid-glass.test.ts b/src/renderer/styles.liquid-glass.test.tsindex 4c17cb1ed..9d2c94786 100644--- a/src/renderer/styles.liquid-glass.test.ts+++ b/src/renderer/styles.liquid-glass.test.ts@@ -62,7 +62,7 @@ describe('Liquid Glass stylesheet', () => {for (const text of ['.nt-settings', '.palette', '.ctx-menu', '.tab-menu', '.sessions-sidebar', '.confirm', '.usage-popover', '.kanban-col', '.kanban-modal']) {expect(outer(text)?.body, text).toMatch(/var\(--glass-chrome-bg\)[\s\S]*var\(--glass-text-blur\)/)}- for (const control of ['.dock', '.tabbar', '.react-flow__controls', '.react-flow__minimap', '.usage-pill', '.sysres-pill', '.usage-refresh', '.controls-cluster > button', '.sessions-icon-cluster button']) {+ for (const control of ['.tabbar','.react-flow__controls', '.react-flow__minimap', '.usage-pill', '.sysres-pill', '.usage-refresh', '.controls-cluster > button', '.sessions-icon-cluster button']) {expect(outer(control)?.body, control).toMatch(/var\(--glass-control-bg\)[\s\S]*var\(--glass-control-blur\)/)}})diff --git a/src/renderer/styles.palette.test.ts b/src/renderer/styles.palette.test.tsindex cbbd113f2..94a7390bc 100644--- a/src/renderer/styles.palette.test.ts+++ b/src/renderer/styles.palette.test.ts@@ -91,6 +91,9 @@ describe('palette tokens', () => {const rules = CSS.slice(CSS.indexOf('\n}\n', CSS.search(/^:root\[data-theme='light'\]/m))).replace(/\/\*[\s\S]*?\*\//g, '').replace(/^\s*--sys-[a-z]+:.*$/gm, '') // palette declarations (the Increase Contrast block)+ // Declarations only: a SELECTOR may name a hue to match an inline literal it repaints (the+ // Liquid Glass OK-meter remap, `[style*='rgb(48, 209, 88)']`) — that paints nothing.+ .replace(/[^{}]+\{/g, '{')const hits = rules.match(/rgba?\(\s*(255,\s*69,\s*58|10,\s*132,\s*255|48,\s*209,\s*88|255,\s*159,\s*10|191,\s*122,\s*240|217,\s*119,\s*87)|#(ff453a|30d158|32d74b|ff9f0a|bf7af0|ffb340|f85149|8e8e93)\b/gi)@@ -304,10 +307,10 @@ describe('needs-you and priorities under glass', () => {})describe('no nested blur for the context popover', () => {- it('.ctx-popover (inside a blurred node) takes the fill only', () => {+ it('.ctx-popover (inside a blurred node) is solid, never blurred or translucent (visual QA N1)', () => {const blurList = CSS.slice(CSS.indexOf('/* Outermost chrome: fill + blur. */'))expect(blurList.slice(0, blurList.indexOf('{'))).not.toContain('.ctx-popover')- const fillOnly = CSS.slice(CSS.indexOf('/* .ctx-popover opens INSIDE a terminal node'))- expect(fillOnly.slice(0, fillOnly.indexOf('{'))).toContain('.ctx-popover')+ const solid = CSS.slice(CSS.indexOf(":root[data-nt-glass='on'] :is(.ctx-popover, .color-popover) {"))+ expect(solid.slice(0, solid.indexOf('}'))).toMatch(/background:\s*rgb\(var\(--menu-rgb\)\)/)})})