Skip to content

Add multi-select + right click to add to stack in PRs view - #8998

Draft
Alex Ross (alexr00) wants to merge 2 commits into
mainfrom
alexr00/delighted-quail
Draft

Alex Ross (alexr00) wants to merge 2 commits into
mainfrom
alexr00/delighted-quail

Conversation

@alexr00

Copy link
Copy Markdown
Member

No description provided.

@alexr00 Alex Ross (alexr00) self-assigned this Oct 1, 2026
@alexr00
Alex Ross (alexr00) added this pull request to stack #8993 October 1, 2026 10:01
Base automatically changed from alexr00/opposite-ermine to main October 1, 2026 14:23
@alexr00
Alex Ross (alexr00) removed this pull request from stack #8993 October 1, 2026 14:33
@alexr00
Alex Ross (alexr00) added this pull request to stack #9001 October 1, 2026 14:35
@alexr00
Alex Ross (alexr00) requested a balanced review from Copilot October 1, 2026 14:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 Medium severity

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.

Comment thread src/github/pullRequestStack.ts Outdated
Comment thread src/view/prsTreeDataProvider.ts Outdated
@alexr00
Alex Ross (alexr00) removed this pull request from stack #9001 October 2, 2026 18:51
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