Repository navigation
sessions: show contextual composer guidance - #337505
Merged
Megan Rogge (meganrogge) merged 7 commits intoSep 23, 2026
Merged
Megan Rogge (meganrogge) merged 7 commits into
Megan Rogge (meganrogge) merged 7 commits into
Conversation
Render the effective session type icon as a decorative visual lead while keeping the existing harness picker as the interactive control. Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The icon must react to resolved session-type changes even when selected pick IDs remain unchanged.
Get a fresh assessment by requesting another Copilot review.
Review effort: Balanced
Findings: 1
Open (2)
What changed in this PR
Adds a decorative harness icon above the experimental new-session composer while retaining the accessible picker.
Changes:
- Exposes and displays the effective selected session type.
- Updates icon styling, tests, and light/dark fixtures.
| File | Review |
|---|---|
src/vs/sessions/contrib/chat/test/browser/sessionTypePicker.test.ts |
Tests effective session-type resolution. |
src/vs/sessions/contrib/chat/test/browser/newChatWidget.test.ts |
Tests icon states, but not picker-event integration. |
src/vs/sessions/contrib/chat/test/browser/newChatWidget.fixture.ts |
Adds themed experimental composer fixtures. |
src/vs/sessions/contrib/chat/browser/sessionTypePicker.ts |
Exposes the resolved selected session type. |
src/vs/sessions/contrib/chat/browser/newChatWidget.ts |
Adds the icon, but it can become stale when available types change without pick IDs changing. |
src/vs/sessions/contrib/chat/browser/media/chatWidget.css |
Styles the icon; scaling arbitrary codicons to 64px is discouraged. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Megan Rogge (meganrogge)
marked this pull request as draft
September 23, 2026 17:41
Contributor
Screenshot ChangesBase: Changed (1)1 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details. Added (4) |
Treat the prominent mark as product branding while leaving the existing Copilot harness picker unchanged. Co-authored-by: Copilot <[email protected]>
Replace the standalone brand icon with deterministic text that highlights parallel work when another agent session is running. Fixes #337542 Co-authored-by: Copilot <[email protected]>
Use the full session model instead of visible grid slots so an in-progress session continues to trigger the parallel-work message after opening the new-session composer. Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Use a single sentence-case heading with the larger regular-weight type role so the composer stays calm while preserving a clear focal point. Co-authored-by: Copilot <[email protected]>
Megan Rogge (meganrogge)
marked this pull request as ready for review
September 23, 2026 21:25
Megan Rogge (meganrogge)
enabled auto-merge (squash)
September 23, 2026 21:25
Dmitriy Vasyura (dmitrivMS)
approved these changes
Sep 23, 2026
Megan Rogge (meganrogge)
deleted the
agents/experimental-session-composer-icon-launch
branch
September 23, 2026 22:08
Megan Rogge (meganrogge)
added a commit
that referenced
this pull request
Sep 24, 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.


Summary
Fixes #337542
Validation
npm run compilenpm run typecheck-clientnpm run test-browser -- --grep "NewChatWidget"(58 passing)