Skip to content

Fix merge queue support in focus view#8400

Merged
alexr00 merged 1 commit intomainfrom
alexr00/given-whitefish
Jan 19, 2026
Merged

Fix merge queue support in focus view#8400
alexr00 merged 1 commit intomainfrom
alexr00/given-whitefish

Conversation

@alexr00
Copy link
Copy Markdown
Member

@alexr00 alexr00 commented Jan 19, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 19, 2026 13:19
@alexr00 alexr00 enabled auto-merge (squash) January 19, 2026 13:19
@alexr00 alexr00 self-assigned this Jan 19, 2026
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 19, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds merge queue support to the focus view (activity bar view) for pull requests. The implementation ensures that when a repository has a merge queue enabled for the base branch, users can add the PR to the merge queue from the simplified merge UI.

Changes:

  • Adds merge queue button to the MergeSimple component when mergeQueueMethod is available
  • Fetches and passes mergeQueueMethod to the activity bar view provider context
  • Fixes redundant variable assignment for better code style

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
webviews/components/merge.tsx Adds merge queue support to MergeSimple component by extracting enqueue from context and conditionally rendering "Add to Merge Queue" button
src/github/pullRequestOverview.ts Simplifies property assignment by removing redundant variable name in object literal
src/github/activityBarViewProvider.ts Fetches mergeQueueMethod via Promise.all and includes it in the PR context passed to the webview

@alexr00 alexr00 merged commit 570f9ef into main Jan 19, 2026
12 checks passed
@alexr00 alexr00 deleted the alexr00/given-whitefish branch January 19, 2026 13:41
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.

3 participants