Skip to content

Commit 27ea979

Browse files
committed
Merge remote-tracking branch 'origin/main' into copilot/add-gear-icon-to-description
2 parents dae7922 + 3632c53 commit 27ea979

66 files changed

Lines changed: 3051 additions & 1569 deletions

Some content is hidden

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

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.124.1
4+
5+
### Fixes
6+
7+
- Want links to repo from recent agent sessions in empty workspace. https://github.com/microsoft/vscode/issues/281345
8+
39
## 0.124.0
410

511
### Changes

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: 105 additions & 11 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": [
@@ -340,11 +347,13 @@
340347
"type": "string",
341348
"enum": [
342349
"never",
343-
"ask"
350+
"ask",
351+
"always"
344352
],
345353
"enumDescriptions": [
346354
"%githubPullRequests.createOnPublishBranch.never%",
347-
"%githubPullRequests.createOnPublishBranch.ask%"
355+
"%githubPullRequests.createOnPublishBranch.ask%",
356+
"%githubPullRequests.createOnPublishBranch.always%"
348357
],
349358
"default": "ask",
350359
"description": "%githubPullRequests.createOnPublishBranch.description%"
@@ -353,11 +362,13 @@
353362
"type": "string",
354363
"enum": [
355364
"expandUnresolved",
356-
"collapseAll"
365+
"collapseAll",
366+
"collapsePreexisting"
357367
],
358368
"enumDescriptions": [
359369
"%githubPullRequests.commentExpandState.expandUnresolved%",
360-
"%githubPullRequests.commentExpandState.collapseAll%"
370+
"%githubPullRequests.commentExpandState.collapseAll%",
371+
"%githubPullRequests.commentExpandState.collapsePreexisting%"
361372
],
362373
"default": "expandUnresolved",
363374
"description": "%githubPullRequests.commentExpandState.description%"
@@ -612,6 +623,11 @@
612623
"markdownDescription": "%githubPullRequests.webviewRefreshInterval.description%",
613624
"default": 60
614625
},
626+
"githubPullRequests.devMode": {
627+
"type": "boolean",
628+
"markdownDescription": "%githubPullRequests.devMode.description%",
629+
"default": false
630+
},
615631
"githubIssues.ignoreMilestones": {
616632
"type": "array",
617633
"default": [],
@@ -711,6 +727,21 @@
711727
"default": "on",
712728
"markdownDescription": "%githubIssues.useBranchForIssues.markdownDescription%"
713729
},
730+
"githubIssues.workingBaseBranch": {
731+
"type": "string",
732+
"enum": [
733+
"currentBranch",
734+
"defaultBranch",
735+
"prompt"
736+
],
737+
"enumDescriptions": [
738+
"%githubIssues.workingBaseBranch.currentBranch%",
739+
"%githubIssues.workingBaseBranch.defaultBranch%",
740+
"%githubIssues.workingBaseBranch.prompt%"
741+
],
742+
"default": "currentBranch",
743+
"markdownDescription": "%githubIssues.workingBaseBranch.markdownDescription%"
744+
},
714745
"githubIssues.issueCompletionFormatScm": {
715746
"type": "string",
716747
"default": "${issueTitle}\nFixes ${issueNumberLabel}",
@@ -971,6 +1002,12 @@
9711002
"category": "%command.pull.request.category%",
9721003
"icon": "$(globe)"
9731004
},
1005+
{
1006+
"command": "pr.pickOnCodespaces",
1007+
"title": "%command.pr.pickOnCodespaces.title%",
1008+
"category": "%command.pull.request.category%",
1009+
"icon": "$(cloud)"
1010+
},
9741011
{
9751012
"command": "pr.exit",
9761013
"title": "%command.pr.exit.title%",
@@ -1033,6 +1070,11 @@
10331070
"title": "%command.pr.openFileOnGitHub.title%",
10341071
"category": "%command.pull.request.category%"
10351072
},
1073+
{
1074+
"command": "pr.revealFileInOS",
1075+
"title": "%command.pr.revealFileInOS.title%",
1076+
"category": "%command.pull.request.category%"
1077+
},
10361078
{
10371079
"command": "pr.copyCommitHash",
10381080
"title": "%command.pr.copyCommitHash.title%",
@@ -1417,6 +1459,11 @@
14171459
"title": "%command.pr.checkoutOnVscodeDevFromDescription.title%",
14181460
"category": "%command.pull.request.category%"
14191461
},
1462+
{
1463+
"command": "pr.checkoutOnCodespacesFromDescription",
1464+
"title": "%command.pr.checkoutOnCodespacesFromDescription.title%",
1465+
"category": "%command.pull.request.category%"
1466+
},
14201467
{
14211468
"command": "pr.openSessionLogFromDescription",
14221469
"title": "%command.pr.openSessionLogFromDescription.title%",
@@ -1538,6 +1585,12 @@
15381585
"title": "%command.issue.openDescription.title%",
15391586
"category": "%command.issues.category%"
15401587
},
1588+
{
1589+
"command": "issue.openIssueOnGitHub",
1590+
"title": "%command.issue.openIssueOnGitHub.title%",
1591+
"category": "%command.issues.category%",
1592+
"icon": "$(globe)"
1593+
},
15411594
{
15421595
"command": "issue.createIssueFromSelection",
15431596
"title": "%command.issue.createIssueFromSelection.title%",
@@ -2014,6 +2067,12 @@
20142067
"mac": "cmd+k m",
20152068
"command": "pr.makeSuggestion",
20162069
"when": "commentEditorFocused"
2070+
},
2071+
{
2072+
"key": "ctrl+r",
2073+
"mac": "cmd+r",
2074+
"command": "pr.refreshDescription",
2075+
"when": "activeWebviewPanelId == 'PullRequestOverview'"
20172076
}
20182077
],
20192078
"menus": {
@@ -2050,6 +2109,10 @@
20502109
"command": "pr.pickOnVscodeDev",
20512110
"when": "false"
20522111
},
2112+
{
2113+
"command": "pr.pickOnCodespaces",
2114+
"when": "false"
2115+
},
20532116
{
20542117
"command": "pr.exit",
20552118
"when": "github:inReviewMode"
@@ -2118,6 +2181,10 @@
21182181
"command": "pr.openFileOnGitHub",
21192182
"when": "false"
21202183
},
2184+
{
2185+
"command": "pr.revealFileInOS",
2186+
"when": "false"
2187+
},
21212188
{
21222189
"command": "pr.openOriginalFile",
21232190
"when": "false"
@@ -2849,6 +2916,11 @@
28492916
"when": "view == pr:github && viewItem =~ /pullrequest(:local)?:nonactive/ && (!isWeb || remoteName != codespaces && virtualWorkspace != vscode-vfs)",
28502917
"group": "1_pullrequest@2"
28512918
},
2919+
{
2920+
"command": "pr.pickOnCodespaces",
2921+
"when": "view == pr:github && viewItem =~ /pullrequest(:local)?:nonactive/ && (!isWeb || remoteName != codespaces && virtualWorkspace != vscode-vfs)",
2922+
"group": "1_pullrequest@3"
2923+
},
28522924
{
28532925
"command": "pr.openChanges",
28542926
"when": "view =~ /(pr|prStatus):github/ && viewItem =~ /(pullrequest|description)/ && config.multiDiffEditor.experimental.enabled",
@@ -2963,15 +3035,20 @@
29633035
"when": "view =~ /(pr|prStatus):github/ && viewItem =~ /filechange/",
29643036
"group": "0_open@0"
29653037
},
3038+
{
3039+
"command": "pr.revealFileInOS",
3040+
"when": "view =~ /(pr|prStatus):github/ && viewItem =~ /filechange(?!:ADD)/",
3041+
"group": "0_open@1"
3042+
},
29663043
{
29673044
"command": "pr.openOriginalFile",
29683045
"when": "view =~ /(pr|prStatus):github/ && viewItem =~ /filechange:MODIFY/",
2969-
"group": "0_open@1"
3046+
"group": "0_open@2"
29703047
},
29713048
{
29723049
"command": "pr.openModifiedFile",
29733050
"when": "view =~ /(pr|prStatus):github/ && viewItem =~ /filechange:MODIFY/",
2974-
"group": "0_open@2"
3051+
"group": "0_open@3"
29753052
},
29763053
{
29773054
"command": "review.diffWithPrHead",
@@ -3602,6 +3679,11 @@
36023679
"group": "checkout@1",
36033680
"when": "webviewId == PullRequestOverview && github:checkoutMenu"
36043681
},
3682+
{
3683+
"command": "pr.checkoutOnCodespacesFromDescription",
3684+
"group": "checkout@2",
3685+
"when": "webviewId == PullRequestOverview && github:checkoutMenu"
3686+
},
36053687
{
36063688
"command": "pr.openSessionLogFromDescription",
36073689
"when": "webviewId == PullRequestOverview && github:codingAgentMenu"
@@ -3632,11 +3714,11 @@
36323714
"chat/multiDiff/context": [
36333715
{
36343716
"command": "pr.checkoutFromDescription",
3635-
"when": "chatSessionType == copilot-cloud-agent"
3717+
"when": "chatSessionType == copilot-cloud-agent && workspaceFolderCount > 0"
36363718
},
36373719
{
36383720
"command": "pr.applyChangesFromDescription",
3639-
"when": "chatSessionType == copilot-cloud-agent"
3721+
"when": "chatSessionType == copilot-cloud-agent && workspaceFolderCount > 0"
36403722
}
36413723
]
36423724
},
@@ -3671,6 +3753,16 @@
36713753
},
36723754
"description": "The color used for indicating that an issue is closed."
36733755
},
3756+
{
3757+
"id": "github.issues.closed",
3758+
"defaults": {
3759+
"dark": "pullRequests.merged",
3760+
"light": "pullRequests.merged",
3761+
"highContrast": "editor.foreground",
3762+
"highContrastLight": "editor.foreground"
3763+
},
3764+
"description": "The color used for indicating that an issue is closed. Duplicates issues.closed because there's another extension that uses this identifier."
3765+
},
36743766
{
36753767
"id": "pullRequests.merged",
36763768
"defaults": {
@@ -4351,6 +4443,7 @@
43514443
"@shikijs/monaco": "^3.7.0",
43524444
"@types/chai": "^4.1.4",
43534445
"@types/glob": "7.1.3",
4446+
"@types/js-yaml": "^4.0.9",
43544447
"@types/lru-cache": "^5.1.0",
43554448
"@types/marked": "^0.7.2",
43564449
"@types/mocha": "^8.2.2",
@@ -4432,6 +4525,7 @@
44324525
"debounce": "^1.2.1",
44334526
"events": "3.2.0",
44344527
"fast-deep-equal": "^3.1.3",
4528+
"js-yaml": "^4.1.1",
44354529
"jsonc-parser": "^3.3.1",
44364530
"jszip": "^3.10.1",
44374531
"lru-cache": "6.0.0",
@@ -4452,4 +4546,4 @@
44524546
"string_decoder": "^1.3.0"
44534547
},
44544548
"license": "MIT"
4455-
}
4549+
}

0 commit comments

Comments
 (0)