Skip to content

Commit 6dc6554

Browse files
committed
Merge branch 'main' of https://github.com/microsoft/vscode-pull-request-github into rebornix/united-sloth
2 parents 1193e69 + bf27ddc commit 6dc6554

27 files changed

+497
-195
lines changed

package.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@
6767
"virtualWorkspaces": true
6868
},
6969
"contributes": {
70+
"chatSessions": [
71+
{
72+
"id": "copilot-swe-agent",
73+
"name": "copilot",
74+
"displayName": "GitHub Copilot Coding Agent",
75+
"description": "Chat session for GitHub Copilot coding agent"
76+
}
77+
],
7078
"remoteCodingAgents": [
7179
{
7280
"id": "githubCodingAgent",
@@ -1291,6 +1299,21 @@
12911299
"category": "%command.pull.request.category%",
12921300
"icon": "$(eye)"
12931301
},
1302+
{
1303+
"command": "pr.checkoutFromDescription",
1304+
"title": "%command.pr.checkoutFromDescription.title%",
1305+
"category": "%command.pull.request.category%"
1306+
},
1307+
{
1308+
"command": "pr.checkoutOnVscodeDevFromDescription",
1309+
"title": "%command.pr.checkoutOnVscodeDevFromDescription.title%",
1310+
"category": "%command.pull.request.category%"
1311+
},
1312+
{
1313+
"command": "pr.openSessionLogFromDescription",
1314+
"title": "%command.pr.openSessionLogFromDescription.title%",
1315+
"category": "%command.pull.request.category%"
1316+
},
12941317
{
12951318
"command": "review.diffWithPrHead",
12961319
"title": "%command.review.diffWithPrHead.title%",
@@ -1418,6 +1441,11 @@
14181441
"title": "%command.pr.copyVscodeDevPrLink.title%",
14191442
"category": "%command.issues.category%"
14201443
},
1444+
{
1445+
"command": "pr.copyPrLink",
1446+
"title": "%command.pr.copyPrLink.title%",
1447+
"category": "%command.issues.category%"
1448+
},
14211449
{
14221450
"command": "pr.refreshComments",
14231451
"title": "%command.pr.refreshComments.title%",
@@ -1953,6 +1981,18 @@
19531981
"command": "pr.toggleEditorCommentingOff",
19541982
"when": "false"
19551983
},
1984+
{
1985+
"command": "pr.checkoutFromDescription",
1986+
"when": "false"
1987+
},
1988+
{
1989+
"command": "pr.checkoutOnVscodeDevFromDescription",
1990+
"when": "false"
1991+
},
1992+
{
1993+
"command": "pr.openSessionLogFromDescription",
1994+
"when": "false"
1995+
},
19561996
{
19571997
"command": "review.suggestDiff",
19581998
"when": "false"
@@ -2113,6 +2153,10 @@
21132153
"command": "pr.copyVscodeDevPrLink",
21142154
"when": "github:inReviewMode && remoteName != codespaces && embedderIdentifier != github.dev"
21152155
},
2156+
{
2157+
"command": "pr.copyPrLink",
2158+
"when": "false"
2159+
},
21162160
{
21172161
"command": "pr.goToNextDiffInPr",
21182162
"when": "activeEditor == workbench.editors.textDiffEditor && resourcePath in github:unviewedFiles"
@@ -3273,7 +3317,30 @@
32733317
{
32743318
"command": "review.requestChangesOnDotComDescription",
32753319
"when": "webviewId == PullRequestOverview && github:reviewCommentMenu && github:reviewCommentRequestChangesOnDotCom"
3320+
},
3321+
{
3322+
"command": "pr.copyPrLink",
3323+
"when": "webviewId == PullRequestOverview && github:copyMenu"
3324+
},
3325+
{
3326+
"command": "pr.copyVscodeDevPrLink",
3327+
"when": "webviewId == PullRequestOverview && github:copyMenu"
3328+
},
3329+
{
3330+
"command": "pr.openChanges",
3331+
"group": "checkout@0",
3332+
"when": "webviewId == PullRequestOverview && github:checkoutMenu"
3333+
},
3334+
{
3335+
"command": "pr.checkoutOnVscodeDevFromDescription",
3336+
"group": "checkout@1",
3337+
"when": "webviewId == PullRequestOverview && github:checkoutMenu"
3338+
},
3339+
{
3340+
"command": "pr.openSessionLogFromDescription",
3341+
"when": "webviewId == PullRequestOverview && github:codingAgentMenu"
32763342
}
3343+
32773344
],
32783345
"chat/chatSessions": [
32793346
{

package.nls.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@
257257
"command.issues.category": "GitHub Issues",
258258
"command.issue.createIssueFromSelection.title": "Create Issue From Selection",
259259
"command.issue.createIssueFromClipboard.title": "Create Issue From Clipboard",
260-
"command.pr.copyVscodeDevPrLink.title": "Copy vscode.dev Pull Request Link",
260+
"command.pr.copyVscodeDevPrLink.title": "Copy vscode.dev Link",
261+
"command.pr.copyPrLink.title": "Copy Link",
261262
"command.pr.createPrMenuCreate.title": "Create",
262263
"command.pr.createPrMenuDraft.title": "Create Draft",
263264
"command.pr.createPrMenuSquash.title": "Create + Auto-Squash",
@@ -270,6 +271,9 @@
270271
"command.pr.closeRelatedEditors.title": "Close All Pull Request Editors",
271272
"command.pr.toggleEditorCommentingOn.title": "Toggle Editor Commenting On",
272273
"command.pr.toggleEditorCommentingOff.title": "Toggle Editor Commenting Off",
274+
"command.pr.checkoutFromDescription.title": "Checkout",
275+
"command.pr.checkoutOnVscodeDevFromDescription.title": "Checkout on vscode.dev",
276+
"command.pr.openSessionLogFromDescription.title": "View Session",
273277
"command.issue.openDescription.title": "View Issue Description",
274278
"command.issue.copyGithubDevLink.title": "Copy github.dev Link",
275279
"command.issue.copyGithubPermalink.title": "Copy GitHub Permalink",

resources/icons/copilot-error.svg

Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading

resources/icons/loading.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)