Repository navigation
thread-briefs: count only sidebar threads on the Briefs badge - #17
Merged
trotterdylan merged 1 commit intoOct 7, 2026
Conversation
The badge on the Briefs sidebar row counted every stored brief whose status was waiting-on-me, but archiving a thread keeps its brief, so an archived thread kept counting while the board — driven by the sidebar's threads — never drew it. The result was a "2" over a board showing nothing but Done. Count only signals whose thread is in the sidebar list, the same rule the board uses, so the badge and the page it opens agree. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
trotterdylan
deleted the
bb/the-briefs-sidebar-item-shows-2-indicator-but-ev-thr_p7h4wqf8rk
branch
October 7, 2026 14:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Briefs sidebar badge showed "2" while the board showed everything as Done.
waiting-on-me, straight off the server's kv scan.The badge now counts only signals whose thread is in the sidebar list, the same rule the board uses. Adds a regression test and a README sentence stating the rule.
Test plan
npm run typecheckinplugins/thread-briefsnpx vitest run: 406 passed, including the new "does not count a thread the sidebar is not showing" case🤖 Generated with Claude Code