{{ message }}
feat(site/src/pages/AgentsPage/components/ChatsSidebar): move PR icon to diff line, center unread dot, persist kebab - #28326
Merged
Conversation
… to diff line, center unread dot, persist kebab The linked pull request icon (open, draft, merged, closed) now renders on the second line next to the diff stats in both the sidebar tree and the chat search results, instead of replacing the status icon when idle. The unread dot is centered on the kebab axis so it stops jumping when the actions trigger swaps in. The row actions trigger stays visible on the selected chat without hovering, and the timestamp is hidden there. Cherry-picked from #28317 without the subagent status icon variants.
…ent count badge from chat row metadata line The count and bot icon added in #28234 no longer render on the second line, making room for the PR icon and diff stats. The "Show subagents" menu toggle and expand behavior are unchanged.
DanielleMaywood
approved these changes
Aug 19, 2026
…ant comments in ChatTreeNode
tracyjohnsonux
enabled auto-merge (squash)
August 19, 2026 20:50
…tDisplayConfig doc comment
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.

Three chat-sidebar row updates cherry-picked from #28317 (that PR stays open as the full riff), plus one removal:
+additions -deletionsstats, in both the sidebar tree and the chat search results, regardless of chat status.N+ bot icon added to the metadata line in feat(site/src/pages/AgentsPage): surface subagents in the chat sidebar #28234 no longer renders, making room for the PR icon and diff stats. The "Show subagents" menu toggle and expand behavior are unchanged.Status and PR icons carry
role="img"with accessible labels ("Idle", "Pull request merged", ...).Implementation notes
statusConfig.ts:getChatDisplayConfig(chat)now returns the status icon plus a separateprIconconfig (icon, className, accessible label) instead of letting the PR icon take precedence over the status. Labels added for all status and PR states.ChatTreeNode.tsx/ChatSearchResults.tsx: renderprIconon the second line before the line stats.isActiveChatvalue:opacity-100on the trigger,hiddenon the timestamp for the active row.ChatTreeNode.tsx: the on-row subagent count badge (childIDs.length+BotIcon) is removed; theSubagentsMenuTogglestory only asserts the menu toggle, so it still passes.CheckCheckIcon/SubagentsLoaderIcon, thehasSubagentsparam, and theWithSubagentStatusIconsstory).Validation:
pnpm run lint(biome, tsc, knip, circular deps, compiler): passWithPRStateIconslabel assertions and the newActiveChatKebabPersistentstorymake pre-commit(via git hook): passGenerated by Coder Agents on behalf of @tracyjohnsonux.