Skip to content

fix(web): panel button keeps its counts until the tab that shows them is open - #207

Merged
badcuban merged 2 commits into
mainfrom
threadlines/show-panel-agent-indicators
Sep 3, 2026
Merged

fix(web): panel button keeps its counts until the tab that shows them is open#207
badcuban merged 2 commits into
mainfrom
threadlines/show-panel-agent-indicators

Conversation

@badcuban

@badcuban badcuban commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

The top-right panel button only showed the working-tree +/- counts, the behind-remote arrow and the live-agent dot while the whole sidebar was hidden. Opening the sidebar on the Agents tab alone dropped the +/- even though no Source tab was on screen, and the same in reverse.

The button now reads the sidebar's tab strip. The Source counts stay until a Source tab is in the strip, and the live-agent dot stays until an Agents tab is, since that tab draws its own dot. A tab in the strip counts as open even when another tab is in front.

Covered by the ChatHeader render tests; ChatView browser suite, web typecheck, lint and fmt are green.

… is open

The header's panel button only showed the working-tree diffstat, the
behind-remote count and the live-agent node while the whole sidebar was
hidden. Opening the sidebar on the Agents tab alone dropped the diffstat
even though no Source tab was on screen, and the same in reverse.

The button now reads the sidebar's tab strip. The Source counts stay until
a Source tab is in the strip, and the live node stays until an Agents tab
is, since that tab draws its own.
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
threadlines Ready Ready Preview Sep 3, 2026 5:37am UTC

Request Review

@github-actions github-actions Bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Sep 2, 2026
@badcuban
badcuban merged commit b389122 into main Sep 3, 2026
16 checks passed
@badcuban
badcuban deleted the threadlines/show-panel-agent-indicators branch September 3, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant