feat: add confirmation dialog for session close

Shows a confirmation modal when clicking "x" on session tabs to warn
the user that the Claude session and running processes will be
terminated. Users can cancel or confirm the close action.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkonandClaude Opus 4.5 committed 2026-01-19 02:10:44 +01:00
1 parent 5f29455bbb
commit 885e9dc729
3 files changed
+67 -1

No files matched your search

+16
View File
@@ -745,6 +745,22 @@ body {
max-width: 320px;
}
.modal-warning-text {
color: var(--text-dim);
font-size: 0.85rem;
margin-bottom: 0.5rem;
}
.modal-session-name {
font-family: 'SF Mono', Monaco, monospace;
font-size: 0.8rem;
color: var(--accent-hover);
background: var(--bg-input);
padding: 0.5rem 0.75rem;
border-radius: 4px;
border: 1px solid var(--border);
}
.session-dir-display {
padding: 0.5rem 0.75rem;
background: var(--bg-input);