Skip to content

fix: auto-clear unread for active session - #62

Merged
aterrylu merged 1 commit into
mainfrom
terry/auto-clear-unread
Mar 24, 2026
Merged

fix: auto-clear unread for active session#62
aterrylu merged 1 commit into
mainfrom
terry/auto-clear-unread

Conversation

@aterrylu

Copy link
Copy Markdown
Owner

Unread count now auto-clears for the session you're actively viewing. No more accumulating notifications for the terminal right in front of you.

Unread count now clears when you focus/interact with the session's
terminal, not on every 3-second poll. This lets you see the count
accumulate for background sessions while clearing it naturally when
you switch to and engage with a session.

- Terminal focus effect calls markNotificationsRead(sessionId)
- Reverted the auto-clear-on-poll approach (too aggressive)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@aterrylu
aterrylu force-pushed the terry/auto-clear-unread branch from 7e6e3e6 to a663b8d Compare March 24, 2026 09:59
@aterrylu
aterrylu merged commit c15b409 into main Mar 24, 2026
1 check passed
@aterrylu
aterrylu deleted the terry/auto-clear-unread branch March 24, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant