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(colours): needs-you is one colour everywhere, High priority gets its own
iceclatterWT3fb33eb2059d
diff --git a/src/renderer/components/kanban/CardMetaBar.tsx b/src/renderer/components/kanban/CardMetaBar.tsxindex d5f2890d7..f05d1b5de 100644--- a/src/renderer/components/kanban/CardMetaBar.tsx+++ b/src/renderer/components/kanban/CardMetaBar.tsx@@ -14,7 +14,7 @@ const initialOf = (name: string): string => (name.trim()[0] ?? '?').toUpperCase(export const PRIORITIES: Array<{ id: KanbanPriority; label: string; color: string }> = [{ id: 'low', label: 'Low', color: 'var(--state-queued)' },{ id: 'medium', label: 'Medium', color: 'var(--caution)' },- { id: 'high', label: 'High', color: 'var(--warn)' },+ { id: 'high', label: 'High', color: 'var(--priority-high)' },{ id: 'urgent', label: 'Urgent', color: 'var(--danger)' }]diff --git a/src/renderer/styles.css b/src/renderer/styles.cssindex 602aad797..1a88c60ce 100644--- a/src/renderer/styles.css+++ b/src/renderer/styles.css@@ -81,7 +81,11 @@/* Text-safe hues for the "needs you" LABEL, which an appearance re-maps with its role, and thereadable orange Liquid Glass labels it with (dark: the system orange; light: darkened). */--attention-text: var(--danger);- --orange-text: #ff9f0a;+ --orange-text: var(--sys-orange);+ /* Kanban priority "High": orange in the default look; under Liquid Glass orange means only+ "needs you", so High takes pink (--pink-text is its readable form per theme). */+ --priority-high: var(--warn);+ --pink-text: var(--sys-pink);/* Git file status, read by `lib/gitStatusColors.ts` (the ONE table both git panels draw). */--git-modified: var(--caution);--git-added: var(--success);@@ -281,6 +285,7 @@--sys-brown: #a2845e;--sys-gray: #8e8e93;--orange-text: #a85c00;+ --pink-text: #d30f45;/* The glows always drew the dark clay, in both themes. */--state-working: #d97757;@@ -7558,7 +7563,7 @@ button.group-node__setup:disabled {animation: nt-pulse 1.1s ease-in-out infinite;animation-play-state: var(--nt-anim-state);}-.sessmem-row__dot--attention { background: var(--warn); }+.sessmem-row__dot--attention { background: var(--state-attention); }.sessmem-row__dot--idle { background: rgba(var(--tint-rgb), 0.3); }/* Hollow = orphan: there is no node to have a state, and a filled neutral dot would read "idle". */.sessmem-row__dot--hollow {@@ -10340,8 +10345,8 @@ button.group-node__setup:disabled {animation-play-state: var(--nt-anim-state);}.kanban-badge--needs {- color: var(--warn);- background: color-mix(in srgb, var(--state-warning) 12%, transparent);+ color: var(--attention-text);+ background: color-mix(in srgb, var(--state-attention) 12%, transparent);}/* Eco: the agent CLI was exited to reclaim RAM. Quiet — the session is fine. */.kanban-badge--sleeping {@@ -13717,6 +13722,7 @@ body.focus-mode .dock:hover {--warn: var(--caution);--git-renamed: var(--accent-text);--git-conflict: var(--danger);+ --priority-high: var(--pink-text);}/* Status labels on a glass header are ink, not coloured text: the hue tints the chip BEHIND the@@ -13782,6 +13788,9 @@ body.focus-mode .dock:hover {--sys-pink: #d30f45;--sys-brown: #7f6545;--sys-gray: #6c6c70;+ /* The readable orange/pink follow the contrast palette too. */+ --orange-text: var(--sys-orange);+ --pink-text: var(--sys-pink);}:root[data-nt-glass='on'] .term-node {border-width: 1.5px;diff --git a/src/renderer/styles.palette.test.ts b/src/renderer/styles.palette.test.tsindex 806e6f33f..bffda102f 100644--- a/src/renderer/styles.palette.test.ts+++ b/src/renderer/styles.palette.test.ts@@ -3,6 +3,7 @@ import { join } from 'node:path'import { describe, expect, it } from 'vitest'import { SYSTEM_COLORS } from './lib/palette'import { gitStatusColor } from './lib/gitStatusColors'+import { GLASS_CHIP_HUES } from './lib/glassContrast'// The semantic colour system (styles.css `--sys-*` palette + `--state-*` / `--git-*` roles): every// role resolves to a colour in every theme, the JS table and the CSS agree, and each meaning has@@ -254,3 +255,29 @@ describe('glass rim light', () => {expect(CSS).not.toContain('--glass-sheen')})})++describe('needs-you and priorities under glass', () => {+ it('every needs-you surface reads the attention role, never the warning one', () => {+ for (const sel of ['.kanban-badge--needs {', '.term-node__status--attention {', '.sessmem-row__dot--attention {']) {+ const r = CSS.slice(CSS.indexOf(sel))+ const body = r.slice(0, r.indexOf('}'))+ expect(body, sel).toMatch(/--(state-attention|attention-text)/)+ expect(body, sel).not.toMatch(/--warn|--state-warning/)+ }+ })++ it('kanban priorities: no two levels share a colour, with or without glass', () => {+ const levels = ['--caution', '--priority-high', '--danger', '--state-queued']+ for (const tokens of [DARK, LIGHT, GLASS_THEMES.dark, GLASS_THEMES.light]) {+ expect(new Set(levels.map((l) => literal(l, tokens))).size).toBe(levels.length)+ }+ expect(literal('--priority-high', GLASS_THEMES.dark)).not.toBe(literal('--state-attention', GLASS_THEMES.dark))+ })++ it('the glass chip hues cover every badge token (lib/glassContrast GLASS_CHIP_HUES)', () => {+ const badge = ['--success', '--agent-working', '--attention-text', '--danger', '--caution', '--state-queued', '--state-automation', '--state-unread']+ for (const tokens of [GLASS_THEMES.dark, GLASS_THEMES.light]) {+ for (const t of badge) expect(GLASS_CHIP_HUES, t).toContain(literal(t, tokens))+ }+ })+})