{{ message }}
feat(site/src/pages/AgentsPage): surface subagents in the chat sidebar - #28234
Merged
Conversation
Add a subagent count indicator (bot icon) to parent chat rows and a "Show/Hide subagents" toggle to the chat actions menu (kebab and right-click), grouped under Rename chat. Includes a Storybook story with a play test for the menu toggle.
tracyjohnsonux
marked this pull request as ready for review
August 18, 2026 14:35
DanielleMaywood
approved these changes
Aug 18, 2026
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.

What
Makes subagents more discoverable in the agent chat sidebar, without disturbing the existing status icon or layout.
3 🤖) at the start of the metadata line, next to the diff stats. Only shown when a chat has subagents; uses lucideBotIcon, the same icon this codebase already uses to denote agents. Passive indicator (the leading status icon, timestamp, and kebab are untouched).Expansion still uses the existing sidebar expand state, so the hover chevron, the menu toggle, and the count all stay in sync.
Notes / decisions
ChatActionsMenuItems, so it appears in both the kebab and the right-click menu; the top-bar kebab intentionally does not pass the props, so it stays hidden there.N 🤖indicator is currently passive (clicking the row opens the chat as before). Can be made a click-to-expand control if wanted.Testing
Validated in Storybook (
ChatsSidebarstories) with 0 TypeScript errors. Added aSubagentsMenuTogglestory with aplayfunction asserting the label swaps between "Show subagents (3)" and "Hide subagents" and that children expand. ExistingChatsSidebar.test.tsxdoes not assert menu contents and is unaffected.This PR was generated by Coder Agents on behalf of @tracyjohnsonux.