Skip to content

Remove 'View all changes' button from the Changes panel#308277

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/issue-307710-implementation
Draft

Remove 'View all changes' button from the Changes panel#308277
Copilot wants to merge 2 commits intomainfrom
copilot/issue-307710-implementation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 7, 2026

The "View All Changes" button in the Changes panel toolbar is redundant—selecting any file in the list already opens the diff modal, and you're already looking at a list of changes. Removing it also frees space for primary/secondary action buttons.

  • Gate ViewAllSessionChangesAction menu entry with when: IsSessionsWindowContext.negate() so it no longer appears in the sessions window Changes panel (still available in the workbench chat widget)
  • Remove dead _getButtonConfiguration branch for chatEditing.viewAllSessionChanges in ChangesButtonBarWidget
Original prompt

Implement issue #307710 from the vscode repo

Created from VS Code.

Copilot AI requested review from Copilot and removed request for Copilot April 7, 2026 17:51
Add `when: IsSessionsWindowContext.negate()` to ViewAllSessionChangesAction
menu registration so the button doesn't appear in the sessions window Changes
panel, where it's redundant. Also clean up the dead button configuration code.

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/576513b7-522e-4db9-9719-05157b727797

Co-authored-by: jo-oikawa <[email protected]>
Copilot AI requested review from Copilot and removed request for Copilot April 7, 2026 17:59
Copilot AI changed the title [WIP] Implement issue #307710 from vscode repo Remove 'View all changes' button from the Changes panel Apr 7, 2026
Copilot AI requested a review from jo-oikawa April 7, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants