diff --git a/src/web/public/app.js b/src/web/public/app.js index b636f9fc..66462bf4 100644 --- a/src/web/public/app.js +++ b/src/web/public/app.js @@ -610,6 +610,12 @@ class ClaudemanApp { } container.innerHTML = parts.join(''); + + // Auto-focus: if there's exactly one session and none is active, select it + if (this.sessions.size === 1 && !this.activeSessionId) { + const [sessionId] = this.sessions.keys(); + this.selectSession(sessionId); + } } getSessionName(session) { @@ -2007,7 +2013,7 @@ class ClaudemanApp { panel.style.width = ''; panel.style.height = ''; if (detachBtn) { - detachBtn.innerHTML = '↗'; // Detach icon + detachBtn.innerHTML = '⧉'; // Detach icon (two overlapping squares) detachBtn.title = 'Detach panel'; } } else { @@ -2017,7 +2023,7 @@ class ClaudemanApp { this.innerStatePanelCollapsed = false; panel.classList.remove('collapsed'); if (detachBtn) { - detachBtn.innerHTML = '↙'; // Attach icon + detachBtn.innerHTML = '⊞'; // Attach icon (squared plus - dock back) detachBtn.title = 'Attach panel'; } // Setup drag functionality diff --git a/src/web/public/index.html b/src/web/public/index.html index d7603cf0..482d2829 100644 --- a/src/web/public/index.html +++ b/src/web/public/index.html @@ -90,7 +90,6 @@ Idle -
⏱0m @@ -100,7 +99,7 @@ ▶
- +