Add multi-select + right click to add to stack in PRs view - #8998
Draft
Alex Ross (alexr00) wants to merge 2 commits into
Draft
Alex Ross (alexr00) wants to merge 2 commits into
Alex Ross (alexr00) wants to merge 2 commits into
Conversation
Alex Ross (alexr00)
force-pushed
the
alexr00/delighted-quail
branch
from
October 1, 2026 14:23
cdc768a to
d2aa822
Compare
Alex Ross (alexr00)
removed this pull request from stack #8993
October 1, 2026 14:33
Alex Ross (alexr00)
added this pull request to stack #9001
October 1, 2026 14:35
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Deleted branches can be offered as stackable, and concurrent stack changes can invalidate the confirmation semantics.
Review effort: Balanced
Findings: 2
Open (2)
What changed in this PR
Adds multi-selection and a context-menu workflow for creating or extending pull request stacks.
Changes:
- Enables multi-select in the Pull Requests tree and adds stack eligibility context.
- Validates, orders, confirms, and submits selected pull requests as a stack.
- Adds repository API support and tests for multi-PR stack operations.
| File | Description |
|---|---|
src/view/treeNodes/pullRequestNode.ts |
Marks eligible PR nodes as stackable. |
src/view/prsTreeDataProvider.ts |
Implements selection and stack command workflow. |
src/test/view/prsTree.test.ts |
Tests multi-selection configuration. |
src/test/github/pullRequestStack.test.ts |
Tests ordering and stack operations. |
src/test/github/pullRequestModel.test.ts |
Tests multi-PR API requests. |
src/github/pullRequestStack.ts |
Adds stack validation and orchestration. |
src/github/githubRepository.ts |
Supports adding multiple PRs per request. |
src/common/executeCommands.ts |
Defines the stack-action context key. |
package.nls.json |
Localizes the command title. |
package.json |
Registers the command and context menu. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Alex Ross (alexr00)
removed this pull request from stack #9001
October 2, 2026 18:51
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.

No description provided.