feat: improve UI - larger monitor, cleaner close modal, remove toolbar buttons

- Monitor panel now 500px wide and 80vh max height
- Removed Copy, Clear, Monitor, Kill buttons from toolbar
- Redesigned close session modal with cleaner options:
  - "Remove Tab" keeps screen running
  - "Kill Claude" terminates completely
- Auto-switch to new session when created

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-19 04:55:51 +01:00
co-authored by Claude Opus 4.5
parent 0245f61c37
commit c058395c3e
4 changed files with 93 additions and 121 deletions
+2 -12
View File
@@ -763,20 +763,10 @@ class ClaudemanApp {
this.terminal.writeln(`\x1b[90m Created session ${i}/${tabCount}: ${sessionName}\x1b[0m`);
}
// Select the first session
// Auto-switch to the new session
if (firstSessionId) {
this.activeSessionId = firstSessionId;
await this.selectSession(firstSessionId);
this.loadQuickStartCases();
// Send resize
const dims = this.fitAddon.proposeDimensions();
if (dims) {
await fetch(`/api/sessions/${firstSessionId}/resize`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ cols: dims.cols, rows: dims.rows })
});
}
}
this.terminal.focus();