Implement action for branch picker with uncommitted files - #333334
Open
Ladislau Szomoru (lszomoru) wants to merge 2 commits into
Open
Implement action for branch picker with uncommitted files#333334Ladislau Szomoru (lszomoru) wants to merge 2 commits into
Ladislau Szomoru (lszomoru) wants to merge 2 commits into
Conversation
Ladislau Szomoru (lszomoru)
enabled auto-merge
August 29, 2026 13:25
Copilot started reviewing on behalf of
Ladislau Szomoru (lszomoru)
August 29, 2026 13:25
View session
Ladislau Szomoru (lszomoru)
disabled auto-merge
August 29, 2026 13:26
Contributor
There was a problem hiding this comment.
Copilot review overview
Review tier: Balanced
Findings: 1
New issues introduced by this change (1)
| Severity | Finding |
|---|---|
src/vs/platform/actionWidget/browser/actionWidget.css — visibility: hidden keeps this flex toolbar in layout, so it is already included in the row's… |
What changed in this PR
Adds a dirty-branch action that opens the session’s Changes UI while stabilizing picker-row layout.
Changes:
- Adds Show Changes to dirty checked-out branches.
- Opens the Changes editor/view in the correct order.
- Adds action and layout regression tests.
| File | Description |
|---|---|
agentHostSessionConfigPicker.ts |
Adds and handles the branch action. |
agentHostSessionConfigPicker.test.ts |
Tests visibility and navigation. |
actionList.ts |
Marks rows containing detail text. |
actionWidget.css |
Reserves toolbar space. |
actionList.test.ts |
Tests stable toolbar geometry. |
Suppressed comments (1)
src/vs/platform/actionWidget/browser/actionWidget.css:471
- This computes to
10px, but the new regression test assertstoolbarMarginRight === '6px'in both states, so the test will deterministically fail with this stylesheet loaded. Align the implementation with the asserted geometry.
margin-right: 10px;
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Dmitriy Vasyura (dmitrivMS)
approved these changes
Aug 29, 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.

This pull request implements an action for the branch picker in the agents window that is displayed only when the current branch has uncommitted files. The action allows users to reveal the auxiliary bar and focus on the Changes view.
Key changes include:
Validation: All relevant tests passed, including layout and regression tests.