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(updates): wire checking state to manual check; drop orphaned banner CSS
enes46c1787de141
diff --git a/src/renderer/components/SettingsPanel.tsx b/src/renderer/components/SettingsPanel.tsxindex 6880bccdd..18fe38e2f 100644--- a/src/renderer/components/SettingsPanel.tsx+++ b/src/renderer/components/SettingsPanel.tsx@@ -224,7 +224,10 @@ export function SettingsPanel({ onClose }: SettingsPanelProps) {</label><buttonclassName="set-btn"- onClick={() => window.nodeTerminal.updates.check()}+ onClick={() => {+ window.dispatchEvent(new CustomEvent('nodeterm:update-checking'))+ window.nodeTerminal.updates.check()+ }}>Check for updates</button>diff --git a/src/renderer/components/UpdateCard.tsx b/src/renderer/components/UpdateCard.tsxindex 9ce503c11..1076f0c8f 100644--- a/src/renderer/components/UpdateCard.tsx+++ b/src/renderer/components/UpdateCard.tsx@@ -51,6 +51,17 @@ export function UpdateCard(): JSX.Element | null {}}, [])+ // A manual check was triggered from Settings → show the checking state (unless an update+ // is already downloading or staged, which must not be overwritten).+ useEffect(() => {+ const onChecking = () => {+ setStatus((s) => (s.kind === 'available' || s.kind === 'downloaded' ? s : { kind: 'checking' }))+ setMinimized(false)+ }+ window.addEventListener('nodeterm:update-checking', onChecking)+ return () => window.removeEventListener('nodeterm:update-checking', onChecking)+ }, [])+// Dev-only: drive the card through its states from the console without packaging, e.g.// __simulateUpdate({ kind: 'available', version: '0.3.0', percent: 42 })useEffect(() => {diff --git a/src/renderer/styles.css b/src/renderer/styles.cssindex 0b1cb2a3c..bae5bf4aa 100644--- a/src/renderer/styles.css+++ b/src/renderer/styles.css@@ -1283,65 +1283,6 @@ body,pointer-events: auto;}-/* Auto-update notification strip, just below the tab bar. */-.update-banner {- display: flex;- align-items: center;- gap: 10px;- padding: 6px 8px 6px 14px;- background: rgba(40, 40, 42, 0.96);- border: 1px solid var(--accent);- border-radius: 10px;- box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);- font-size: 12.5px;- color: var(--text);-}--.update-banner__dot {- width: 8px;- height: 8px;- border-radius: 50%;- background: var(--accent);- box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.25);-}--.update-banner__text {- white-space: nowrap;-}--.update-banner__btn {- padding: 4px 12px;- background: var(--accent);- border: none;- border-radius: 7px;- color: #fff;- font-size: 12px;- font-weight: 600;- cursor: pointer;-}--.update-banner__btn:hover {- background: var(--accent-hover);-}--.update-banner__close {- width: 24px;- height: 24px;- display: inline-flex;- align-items: center;- justify-content: center;- background: transparent;- border: none;- border-radius: 6px;- color: var(--text-dim, rgba(255, 255, 255, 0.6));- font-size: 12px;- cursor: pointer;-}--.update-banner__close:hover {- background: rgba(255, 255, 255, 0.08);-}-/* Bottom-right auto-update card (download progress + restart). */.update-card {position: fixed;