Skip to content

Commit ed6205e

Browse files
Copilotalexr00
andcommitted
Add menu configuration for ContextDropdown in package.json
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent ab2d8ed commit ed6205e

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

package.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -981,6 +981,11 @@
981981
"title": "%command.pr.readyForReview.title%",
982982
"category": "%command.pull.request.category%"
983983
},
984+
{
985+
"command": "pr.readyForReviewAndMerge",
986+
"title": "%command.pr.readyForReviewAndMerge.title%",
987+
"category": "%command.pull.request.category%"
988+
},
984989
{
985990
"command": "pr.openPullRequestOnGitHub",
986991
"title": "%command.pr.openPullRequestOnGitHub.title%",
@@ -3527,6 +3532,14 @@
35273532
"command": "pr.copyVscodeDevPrLink",
35283533
"when": "webviewId == PullRequestOverview && github:copyMenu"
35293534
},
3535+
{
3536+
"command": "pr.readyForReview",
3537+
"when": "webviewId == PullRequestOverview && github:readyForReviewMenu"
3538+
},
3539+
{
3540+
"command": "pr.readyForReviewAndMerge",
3541+
"when": "webviewId == PullRequestOverview && github:readyForReviewMenu && github:readyForReviewMenuWithMerge"
3542+
},
35303543
{
35313544
"command": "pr.openChanges",
35323545
"group": "checkout@0",

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@
194194
"command.pr.markAllCopilotNotificationsAsRead.title": "Dismiss All Copilot Notifications",
195195
"command.pr.merge.title": "Merge Pull Request",
196196
"command.pr.readyForReview.title": "Mark Pull Request Ready For Review",
197+
"command.pr.readyForReviewAndMerge.title": "Mark Pull Request Ready, Approve, and Auto-Merge",
197198
"command.pr.openPullRequestOnGitHub.title": "Open Pull Request on GitHub",
198199
"command.pr.openAllDiffs.title": "Open All Diffs",
199200
"command.pr.refreshPullRequest.title": "Refresh Pull Request",

0 commit comments

Comments
 (0)