Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

feat(sidebar): unread shows as a pulsing accent-blue check in the status slot

enes7ef5836cd444
diff --git a/src/renderer/components/SessionRow.tsx b/src/renderer/components/SessionRow.tsx
index 150384bae..b7d47cc6c 100644
--- a/src/renderer/components/SessionRow.tsx
+++ b/src/renderer/components/SessionRow.tsx
@@ -70,16 +70,23 @@ export function SessionRow({
}}
onDragEnd={onDragEnd}
>
- {row.statusKind === 'done' ? (
- // REF-style completion glyph: a check icon scans better than one more dot.
- <span className="ss-check" title={row.stateLabel}>
- <IconCircleCheck />
- </span>
- ) : row.statusKind === 'attention' ? (
+ {row.statusKind === 'attention' ? (
// Needs-you rings a bell — louder than one more colored dot.
<span className="ss-bell" title={row.stateLabel}>
<IconBellFilled />
</span>
+ ) : row.statusKind !== 'working' && row.unread ? (
+ // Finished (or reset to idle) while the user wasn't looking: the SAME check glyph,
+ // but accent-blue and pulsing until they visit the node. Working/attention win —
+ // a new turn or a permission prompt is more urgent than an old unread mark.
+ <span className="ss-check ss-check--unread" title="Finished — new for you">
+ <IconCircleCheck />
+ </span>
+ ) : row.statusKind === 'done' ? (
+ // REF-style completion glyph: a check icon scans better than one more dot.
+ <span className="ss-check" title={row.stateLabel}>
+ <IconCircleCheck />
+ </span>
) : (
<span className={`ss-dot ss-dot--${row.statusKind}`} title={row.stateLabel} />
)}
@@ -111,9 +118,6 @@ export function SessionRow({
{row.title}
</span>
)}
- {row.unread && (
- <span className="ss-unread-dot" title="Unread — finished while you weren't looking" />
- )}
{row.session && <span className="ss-chip">{row.session}</span>}
{row.loop && (
<span className="ss-loop">
diff --git a/src/renderer/styles.css b/src/renderer/styles.css
index cd7e950d9..e606dbbb4 100644
--- a/src/renderer/styles.css
+++ b/src/renderer/styles.css
@@ -4165,6 +4165,8 @@ body,
.ss-dot--idle { background: rgba(160, 160, 160, 0.4); }
/* done renders as a check icon (ss-check), not a dot — see SessionRow. */
.ss-check { color: #30d158; margin-top: 2px; flex: 0 0 auto; line-height: 0; }
+/* Unread: the same check, accent-blue and pulsing until the user visits the node. */
+.ss-check--unread { color: var(--accent); animation: nt-pulse 1.1s ease-in-out infinite; }
.ss-check svg { width: 13px; height: 13px; }
/* attention renders as a red bell (ss-bell) — "it's ringing for you". Gentle pulse,
same cadence as the header badge dot. */
@@ -4182,9 +4184,6 @@ body,
.ss-mark { width: 9px; height: 9px; border-radius: 3px; flex: 0 0 auto; }
.ss-title { font-size: 12.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-title.is-unread { font-weight: 600; }
-/* Unread bullet next to the title (semibold alone is invisible at 12.5px). Accent blue —
- deliberately NOT a status color (green/red/yellow), it means "new for you", not a state. */
-.ss-unread-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.ss-title-input { font-size: 12.5px; background: var(--panel); color: var(--text); border: 1px solid var(--accent); border-radius: 4px; padding: 1px 4px; }
.ss-chip { font-size: 10px; color: var(--text); opacity: 0.7; background: var(--panel-header); border-radius: 4px; padding: 0 5px; max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 0 auto; }
.ss-loop { font-size: 9.5px; color: #ffd60a; border: 1px solid rgba(255, 214, 10, 0.4); border-radius: 4px; padding: 0 4px; flex: 0 0 auto; }