feat: blinking tab alerts for sessions needing attention

- Red blink for action-required events (permission_prompt, elicitation_dialog)
- Yellow blink for idle sessions (idle_prompt)
- Alert clears when user clicks the tab or session starts working again
- Only blinks non-active tabs (active tab is already visible)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-24 03:49:19 +01:00
co-authored by Claude Opus 4.5
parent 66214478ff
commit 7add243f39
2 changed files with 49 additions and 1 deletions
+19
View File
@@ -182,6 +182,25 @@ body {
color: var(--green);
}
/* Tab alert animations */
.session-tab.tab-alert-action {
animation: tab-blink-red 1s infinite;
}
.session-tab.tab-alert-idle {
animation: tab-blink-yellow 1.5s infinite;
}
@keyframes tab-blink-red {
0%, 100% { background: transparent; border-color: transparent; }
50% { background: rgba(239, 68, 68, 0.15); border-color: var(--red); }
}
@keyframes tab-blink-yellow {
0%, 100% { background: transparent; border-color: transparent; }
50% { background: rgba(234, 179, 8, 0.12); border-color: var(--yellow); }
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }