fix(sidebar): trim working badge label and name working agents in tooltip#1408
Merged
Conversation
Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
efafc06 to
5607c15
Compare
wesbillman
approved these changes
Jun 30, 2026
tellaho
pushed a commit
that referenced
this pull request
Jul 1, 2026
…-preview * origin/main: fix(relay): enable Redis TLS for rediss:// (ElastiCache) (#1417) chore(release): release Buzz Desktop version 0.3.40 (#1414) fix(desktop): stabilize channel-timeline scrollback with per-row height reserves (#1413) fix(sidebar): trim working badge label and name working agents in tooltip (#1408) Mobile tab bar polish (#1368) feat(desktop): let thread pane expand on ultrawide monitors (#1407) chore(release): release Buzz Desktop version 0.3.39 (#1410) fix: close cross-process keychain race and namespace dev-build nest (#1409) feat(relay): allow agent owners to edit/manage agent-owned content (#1403) fix(media): support IRSA/credential-chain S3 auth and configurable signing region (#1406) fix(desktop): fold baked build env into in-process model discovery (#1376) docs: link VISION_ACTIVITY from the VISION index (#1405)
tellaho
pushed a commit
that referenced
this pull request
Jul 1, 2026
…vity-embed * origin/main: fix(relay): enable Redis TLS for rediss:// (ElastiCache) (#1417) chore(release): release Buzz Desktop version 0.3.40 (#1414) fix(desktop): stabilize channel-timeline scrollback with per-row height reserves (#1413) fix(sidebar): trim working badge label and name working agents in tooltip (#1408) Mobile tab bar polish (#1368) feat(desktop): let thread pane expand on ultrawide monitors (#1407) chore(release): release Buzz Desktop version 0.3.39 (#1410) fix: close cross-process keychain race and namespace dev-build nest (#1409) feat(relay): allow agent owners to edit/manage agent-owned content (#1403) fix(media): support IRSA/credential-chain S3 auth and configurable signing region (#1406) fix(desktop): fold baked build env into in-process model discovery (#1376) docs: link VISION_ACTIVITY from the VISION index (#1405)
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.
Overview
Category:
improvementUser Impact: The sidebar "working" pill no longer crowds out the channel name, and hovering it now says in plain prose who's working — e.g.
Ned and 2 agents working.Problem: The sidebar channel-row working pill rendered a
Working · 3slabel that ate horizontal room, forcing the channel name to ellipsize too early (buzz-channel-indicat…). There was also no way to tell who was working without opening the channel.Solution: Trim the pill to a bare elapsed time (
3ssingle-agent,4m 3s (2)multi-agent) so the channel name keeps its room, and move the "who" into the native hover tooltip. The tooltip uses one cohesive prose rule — name at most one agent and count everyone else asagents— so it stays narrow no matter how many agents work or how long their names are, and reads naturally rather than as a list.File changes
desktop/src/features/sidebar/ui/SidebarSection.tsx
Trims the visible pill label to bare elapsed time and adds
formatWorkingTooltip, which drives the row'stitle. Implements the cohesive labeling rule: one resolved name max, thenN agent/N agentsfor everyone else (known overflow and unknowns alike).desktop/src/features/sidebar/lib/useActiveWorkingChannelsById.ts
Resolves working agent pubkeys to managed-agent names for the tooltip; unresolved pubkeys are dropped from the name list so they fold into the count rather than ever surfacing raw hex.
desktop/src/features/agents/activeAgentTurnsStore.ts
Surfaces the set of working-agent pubkeys per channel (
agentPubkeys) so the sidebar can resolve names — additive, no consumer impact.desktop/src/features/sidebar/ui/SidebarSection.test.mjs
Covers the six tooltip spec cases: one known, named+1 (singular), named+2+ (plural), all-unknown singular, all-unknown plural, and mixed known/unknown.
desktop/src/features/sidebar/lib/useActiveWorkingChannelsById.test.mjs
Covers the pubkey→name resolution path, including case-insensitive matching and the unresolved-drop behavior.
desktop/src/features/agents/activeAgentTurnsStore.test.mjs
Asserts
agentPubkeysis aggregated correctly per channel.Reproduction Steps
3s, or4m 3s (2)when multiple agents are working), and the channel name no longer ellipsizes early.Ned working,Ned and 1 agent working,Ned and 2 agents working, or3 agents workingwhen no name resolves.Notes
titleattribute, so it isn't DOM-renderable and can't be captured in a screenshot.Coordination: buzz://message?channel=e325a47e-d11d-4f16-8e2d-0c55a2d924bb&thread=a9d0d732b58d87849405cb38fc18efc9e75a03af273abf3bf4d94ae583a7b174