mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-04 22:49:41 +02:00
- Finding 2: unify the pop-out icon and tab-click paths via _raiseDetached(). After a dashboard reload (no owned WindowProxy ref), clicking the pop-out icon no longer re-runs window.open() — which reloaded the live popup's terminal — and instead raises it via the channel, matching the tab-click behavior. - Finding 3: debounce channel-driven redock. A popup *reload* emits redocked->detached in quick succession; a 1.5s grace lets the re-announce cancel the redock so the dashboard badge no longer blips on popup refresh. - Finding 4: periodic liveness reconcile. A popup hard-killed without a 'pagehide' (crash / OS kill) while the dashboard holds no ref would leave its tab stuck "detached". The dashboard now re-roll-calls every 5s and re-docks any channel-only tab that stays silent. Frontend-only; validated with node --check (app.js is outside the ts/lint/prettier gates). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>