fix(chat): ID-based grouped session dropdown + UI alignment, scroll, multi-agent nav#503
Merged
shanselman merged 2 commits intoMay 22, 2026
Conversation
Replace title-based session dropdown with ID-based selection to fix sessions with identical DisplayNames being collapsed by .Distinct(). - Remove .Distinct() on channel titles that silently dropped sessions - Group sessions by agent (main/assistant) with disabled header items - Build ComboBox directly with ComboBoxItem objects for grouped layout - InlinePill flyout also shows grouped channel sections - Add BuildSessionTitle() for human-readable disambiguation - Exclude cron sessions from dropdown via :cron: key filter Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Cache last-known chat state (title/model) for pre-connection UI - Sort 'main' agent first in session dropdown - Fix assistant bubble alignment for continuation messages (invisible spacer) - Fix user message clipping behind scrollbar (right margin 8→20px) - Suppress auto-scroll when expanding/collapsing tool call cards - Reduce dropdown header whitespace for symmetry - Per-agent workspace file cache to avoid re-fetching on tab switch - Fix agents nav not showing agents that arrived before HubWindow opened - Request agents list on connect in GatewayService - Thread-safe agent files cache with lock Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
shanselman
added a commit
that referenced
this pull request
May 22, 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 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
UI polish and multi-agent fixes for the companion app chat surface.
Changes
Testing