Skip to content

Commit 89dc0f4

Browse files
committed
Merge remote-tracking branch 'origin/main' into copilot/map-metadata-to-newissue-md
2 parents eb988e2 + 4c47a03 commit 89dc0f4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+2258
-995
lines changed

common/views.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export interface CreateParamsNew {
130130

131131
creating: boolean;
132132
reviewing: boolean;
133+
usingTemplate: boolean;
133134
}
134135

135136
export interface ChooseRemoteAndBranchArgs {

package.json

Lines changed: 101 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"treeItemMarkdownLabel",
4141
"treeViewMarkdownMessage"
4242
],
43-
"version": "0.122.0",
43+
"version": "0.124.0",
4444
"publisher": "GitHub",
4545
"engines": {
4646
"vscode": "^1.107.0"
@@ -146,12 +146,14 @@
146146
"enum": [
147147
"template",
148148
"commit",
149+
"branchName",
149150
"none",
150151
"Copilot"
151152
],
152153
"enumDescriptions": [
153154
"%githubPullRequests.pullRequestDescription.template%",
154155
"%githubPullRequests.pullRequestDescription.commit%",
156+
"%githubPullRequests.pullRequestDescription.branchName%",
155157
"%githubPullRequests.pullRequestDescription.none%",
156158
"%githubPullRequests.pullRequestDescription.copilot%"
157159
],
@@ -243,7 +245,7 @@
243245
"default": [
244246
{
245247
"label": "%githubPullRequests.queries.copilotOnMyBehalf%",
246-
"query": "repo:${owner}/${repository} is:open author:copilot involves:${user}"
248+
"query": "repo:${owner}/${repository} is:open author:copilot assignee:${user}"
247249
},
248250
{
249251
"label": "Local Pull Request Branches",
@@ -321,6 +323,11 @@
321323
"default": true,
322324
"description": "%githubPullRequests.defaultDeletionMethod.selectRemote.description%"
323325
},
326+
"githubPullRequests.deleteBranchAfterMerge": {
327+
"type": "boolean",
328+
"default": false,
329+
"description": "%githubPullRequests.deleteBranchAfterMerge.description%"
330+
},
324331
"githubPullRequests.terminalLinksHandler": {
325332
"type": "string",
326333
"enum": [
@@ -353,11 +360,13 @@
353360
"type": "string",
354361
"enum": [
355362
"expandUnresolved",
356-
"collapseAll"
363+
"collapseAll",
364+
"collapsePreexisting"
357365
],
358366
"enumDescriptions": [
359367
"%githubPullRequests.commentExpandState.expandUnresolved%",
360-
"%githubPullRequests.commentExpandState.collapseAll%"
368+
"%githubPullRequests.commentExpandState.collapseAll%",
369+
"%githubPullRequests.commentExpandState.collapsePreexisting%"
361370
],
362371
"default": "expandUnresolved",
363372
"description": "%githubPullRequests.commentExpandState.description%"
@@ -612,6 +621,11 @@
612621
"markdownDescription": "%githubPullRequests.webviewRefreshInterval.description%",
613622
"default": 60
614623
},
624+
"githubPullRequests.devMode": {
625+
"type": "boolean",
626+
"markdownDescription": "%githubPullRequests.devMode.description%",
627+
"default": false
628+
},
615629
"githubIssues.ignoreMilestones": {
616630
"type": "array",
617631
"default": [],
@@ -711,6 +725,21 @@
711725
"default": "on",
712726
"markdownDescription": "%githubIssues.useBranchForIssues.markdownDescription%"
713727
},
728+
"githubIssues.workingBaseBranch": {
729+
"type": "string",
730+
"enum": [
731+
"currentBranch",
732+
"defaultBranch",
733+
"prompt"
734+
],
735+
"enumDescriptions": [
736+
"%githubIssues.workingBaseBranch.currentBranch%",
737+
"%githubIssues.workingBaseBranch.defaultBranch%",
738+
"%githubIssues.workingBaseBranch.prompt%"
739+
],
740+
"default": "currentBranch",
741+
"markdownDescription": "%githubIssues.workingBaseBranch.markdownDescription%"
742+
},
714743
"githubIssues.issueCompletionFormatScm": {
715744
"type": "string",
716745
"default": "${issueTitle}\nFixes ${issueNumberLabel}",
@@ -971,6 +1000,12 @@
9711000
"category": "%command.pull.request.category%",
9721001
"icon": "$(globe)"
9731002
},
1003+
{
1004+
"command": "pr.pickOnCodespaces",
1005+
"title": "%command.pr.pickOnCodespaces.title%",
1006+
"category": "%command.pull.request.category%",
1007+
"icon": "$(cloud)"
1008+
},
9741009
{
9751010
"command": "pr.exit",
9761011
"title": "%command.pr.exit.title%",
@@ -1033,6 +1068,11 @@
10331068
"title": "%command.pr.openFileOnGitHub.title%",
10341069
"category": "%command.pull.request.category%"
10351070
},
1071+
{
1072+
"command": "pr.revealFileInOS",
1073+
"title": "%command.pr.revealFileInOS.title%",
1074+
"category": "%command.pull.request.category%"
1075+
},
10361076
{
10371077
"command": "pr.copyCommitHash",
10381078
"title": "%command.pr.copyCommitHash.title%",
@@ -1417,6 +1457,11 @@
14171457
"title": "%command.pr.checkoutOnVscodeDevFromDescription.title%",
14181458
"category": "%command.pull.request.category%"
14191459
},
1460+
{
1461+
"command": "pr.checkoutOnCodespacesFromDescription",
1462+
"title": "%command.pr.checkoutOnCodespacesFromDescription.title%",
1463+
"category": "%command.pull.request.category%"
1464+
},
14201465
{
14211466
"command": "pr.openSessionLogFromDescription",
14221467
"title": "%command.pr.openSessionLogFromDescription.title%",
@@ -1538,6 +1583,12 @@
15381583
"title": "%command.issue.openDescription.title%",
15391584
"category": "%command.issues.category%"
15401585
},
1586+
{
1587+
"command": "issue.openIssueOnGitHub",
1588+
"title": "%command.issue.openIssueOnGitHub.title%",
1589+
"category": "%command.issues.category%",
1590+
"icon": "$(globe)"
1591+
},
15411592
{
15421593
"command": "issue.createIssueFromSelection",
15431594
"title": "%command.issue.createIssueFromSelection.title%",
@@ -2014,6 +2065,12 @@
20142065
"mac": "cmd+k m",
20152066
"command": "pr.makeSuggestion",
20162067
"when": "commentEditorFocused"
2068+
},
2069+
{
2070+
"key": "ctrl+r",
2071+
"mac": "cmd+r",
2072+
"command": "pr.refreshDescription",
2073+
"when": "activeWebviewPanelId == 'PullRequestOverview'"
20172074
}
20182075
],
20192076
"menus": {
@@ -2050,6 +2107,10 @@
20502107
"command": "pr.pickOnVscodeDev",
20512108
"when": "false"
20522109
},
2110+
{
2111+
"command": "pr.pickOnCodespaces",
2112+
"when": "false"
2113+
},
20532114
{
20542115
"command": "pr.exit",
20552116
"when": "github:inReviewMode"
@@ -2118,6 +2179,10 @@
21182179
"command": "pr.openFileOnGitHub",
21192180
"when": "false"
21202181
},
2182+
{
2183+
"command": "pr.revealFileInOS",
2184+
"when": "false"
2185+
},
21212186
{
21222187
"command": "pr.openOriginalFile",
21232188
"when": "false"
@@ -2849,6 +2914,11 @@
28492914
"when": "view == pr:github && viewItem =~ /pullrequest(:local)?:nonactive/ && (!isWeb || remoteName != codespaces && virtualWorkspace != vscode-vfs)",
28502915
"group": "1_pullrequest@2"
28512916
},
2917+
{
2918+
"command": "pr.pickOnCodespaces",
2919+
"when": "view == pr:github && viewItem =~ /pullrequest(:local)?:nonactive/ && (!isWeb || remoteName != codespaces && virtualWorkspace != vscode-vfs)",
2920+
"group": "1_pullrequest@3"
2921+
},
28522922
{
28532923
"command": "pr.openChanges",
28542924
"when": "view =~ /(pr|prStatus):github/ && viewItem =~ /(pullrequest|description)/ && config.multiDiffEditor.experimental.enabled",
@@ -2963,15 +3033,20 @@
29633033
"when": "view =~ /(pr|prStatus):github/ && viewItem =~ /filechange/",
29643034
"group": "0_open@0"
29653035
},
3036+
{
3037+
"command": "pr.revealFileInOS",
3038+
"when": "view =~ /(pr|prStatus):github/ && viewItem =~ /filechange(?!:ADD)/",
3039+
"group": "0_open@1"
3040+
},
29663041
{
29673042
"command": "pr.openOriginalFile",
29683043
"when": "view =~ /(pr|prStatus):github/ && viewItem =~ /filechange:MODIFY/",
2969-
"group": "0_open@1"
3044+
"group": "0_open@2"
29703045
},
29713046
{
29723047
"command": "pr.openModifiedFile",
29733048
"when": "view =~ /(pr|prStatus):github/ && viewItem =~ /filechange:MODIFY/",
2974-
"group": "0_open@2"
3049+
"group": "0_open@3"
29753050
},
29763051
{
29773052
"command": "review.diffWithPrHead",
@@ -3602,6 +3677,11 @@
36023677
"group": "checkout@1",
36033678
"when": "webviewId == PullRequestOverview && github:checkoutMenu"
36043679
},
3680+
{
3681+
"command": "pr.checkoutOnCodespacesFromDescription",
3682+
"group": "checkout@2",
3683+
"when": "webviewId == PullRequestOverview && github:checkoutMenu"
3684+
},
36053685
{
36063686
"command": "pr.openSessionLogFromDescription",
36073687
"when": "webviewId == PullRequestOverview && github:codingAgentMenu"
@@ -3632,11 +3712,11 @@
36323712
"chat/multiDiff/context": [
36333713
{
36343714
"command": "pr.checkoutFromDescription",
3635-
"when": "chatSessionType == copilot-cloud-agent"
3715+
"when": "chatSessionType == copilot-cloud-agent && workspaceFolderCount > 0"
36363716
},
36373717
{
36383718
"command": "pr.applyChangesFromDescription",
3639-
"when": "chatSessionType == copilot-cloud-agent"
3719+
"when": "chatSessionType == copilot-cloud-agent && workspaceFolderCount > 0"
36403720
}
36413721
]
36423722
},
@@ -3671,6 +3751,16 @@
36713751
},
36723752
"description": "The color used for indicating that an issue is closed."
36733753
},
3754+
{
3755+
"id": "github.issues.closed",
3756+
"defaults": {
3757+
"dark": "pullRequests.merged",
3758+
"light": "pullRequests.merged",
3759+
"highContrast": "editor.foreground",
3760+
"highContrastLight": "editor.foreground"
3761+
},
3762+
"description": "The color used for indicating that an issue is closed. Duplicates issues.closed because there's another extension that uses this identifier."
3763+
},
36743764
{
36753765
"id": "pullRequests.merged",
36763766
"defaults": {
@@ -4351,6 +4441,7 @@
43514441
"@shikijs/monaco": "^3.7.0",
43524442
"@types/chai": "^4.1.4",
43534443
"@types/glob": "7.1.3",
4444+
"@types/js-yaml": "^4.0.9",
43544445
"@types/lru-cache": "^5.1.0",
43554446
"@types/marked": "^0.7.2",
43564447
"@types/mocha": "^8.2.2",
@@ -4432,6 +4523,7 @@
44324523
"debounce": "^1.2.1",
44334524
"events": "3.2.0",
44344525
"fast-deep-equal": "^3.1.3",
4526+
"js-yaml": "^4.1.1",
44354527
"jsonc-parser": "^3.3.1",
44364528
"jszip": "^3.10.1",
44374529
"lru-cache": "6.0.0",
@@ -4452,4 +4544,4 @@
44524544
"string_decoder": "^1.3.0"
44534545
},
44544546
"license": "MIT"
4455-
}
4547+
}

0 commit comments

Comments
 (0)