Skip to content

Commit ae7ecaf

Browse files
authored
Merge branch 'main' into main
2 parents 8cb86b8 + e0a0136 commit ae7ecaf

Some content is hidden

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

52 files changed

+2694
-1091
lines changed

.vscode/tasks.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,13 @@
2020
"type": "npm",
2121
"script": "build",
2222
"group": "build",
23-
"problemMatcher": [
24-
"$ts-checker-webpack",
25-
"$ts-checker-eslint-webpack"
26-
]
23+
"problemMatcher": ["$ts-checker-webpack", "$ts-checker-eslint-webpack"]
2724
},
2825
{
2926
"type": "npm",
3027
"script": "lint",
3128
"group": "build",
32-
"problemMatcher": [
33-
"$eslint-stylish"
34-
]
29+
"problemMatcher": ["$eslint-stylish"]
3530
},
3631
{
3732
"type": "npm",
@@ -44,10 +39,7 @@
4439
"presentation": {
4540
"group": "watchers"
4641
},
47-
"problemMatcher": [
48-
"$ts-checker-webpack-watch",
49-
"$ts-checker-eslint-webpack-watch"
50-
]
42+
"problemMatcher": ["$ts-checker-webpack-watch", "$ts-checker-eslint-webpack-watch"]
5143
},
5244
{
5345
"label": "Run (local web)",

CHANGELOG.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,18 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
66

77
## [Unreleased]
88

9+
## [14.2.0] - 2023-08-04
10+
911
### Added
1012

11-
- Improve support for opening files from other branches — thanks to [PR #2825](https://github.com/gitkraken/vscode-gitlens/pull/2825) by Victor Hallberg ([@mogelbrod](https://github.com/mogelbrod))
13+
- Improves the _Focus_ view experience
14+
- Unifies pull requests and issues into a single view
15+
- Adds tabs to switch between showing Pull Requests, Issues, or All
16+
- Adds a filter/search box to quickly find pull request or issues by title
17+
- Adds ability to click on a branch name to show the branch on the _Commit Graph_
18+
- Adds a new command _Open Changed & Close Unchanged Files..._ to the command palette, the context menu of the _Commit Graph_ work-in-progress (WIP) row, and the SCM group context menu to open all changed files and close all unchanged files.
19+
- Adds a new command _Reset Current Branch to Tip..._ to branch context menus in the _Commit Graph_ and in GitLens views to reset the current branch to the commit at the chosen branch's tip.
20+
- Improve support for opening files from other branches — thanks to [PR #2825](https://github.com/gitkraken/vscode-gitlens/pull/2825) by Victor Hallberg ([@mogelbrod](https://github.com/mogelbrod))
1221
- Open any file using new _Open File by Revision..._ command
1322
- Improve _Open File at Revision..._ commands by prompting user for file to open when the requested path doesn't exist in the specified revision
1423

@@ -21,6 +30,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
2130
### Fixed
2231

2332
- Fixes [#2823](https://github.com/gitkraken/vscode-gitlens/issues/2823) - Handle stdout/stderr Buffers in shell run() — thanks to [PR #2824](https://github.com/gitkraken/vscode-gitlens/pull/2824) by Victor Hallberg ([@mogelbrod](https://github.com/mogelbrod))
33+
- Fixes issues with missing worktrees breaking the Worktrees view and Worktree quick pick menus
2434

2535
## [14.1.1] - 2023-07-18
2636

@@ -4895,7 +4905,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
48954905

48964906
- Initial release but still heavily a work in progress.
48974907

4898-
[unreleased]: https://github.com/gitkraken/vscode-gitlens/compare/v14.1.1...HEAD
4908+
[unreleased]: https://github.com/gitkraken/vscode-gitlens/compare/v14.2.0...HEAD
4909+
[14.2.0]: https://github.com/gitkraken/vscode-gitlens/compare/v14.1.1...gitkraken:v14.2.0
48994910
[14.1.1]: https://github.com/gitkraken/vscode-gitlens/compare/v14.1.0...gitkraken:v14.1.1
49004911
[14.1.0]: https://github.com/gitkraken/vscode-gitlens/compare/v14.0.1...gitkraken:v14.1.0
49014912
[14.0.1]: https://github.com/gitkraken/vscode-gitlens/compare/v14.0.0...gitkraken:v14.0.1

ThirdPartyNotices.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ This project incorporates components from the projects listed below.
77
2. @microsoft/fast-react-wrapper version 0.3.18 (https://github.com/Microsoft/fast)
88
3. @octokit/core version 4.2.4 (https://github.com/octokit/core.js)
99
4. @opentelemetry/api version 1.4.1 (https://github.com/open-telemetry/opentelemetry-js)
10-
5. @opentelemetry/exporter-trace-otlp-http version 0.41.0 (https://github.com/open-telemetry/opentelemetry-js)
11-
6. @opentelemetry/sdk-trace-base version 1.15.0 (https://github.com/open-telemetry/opentelemetry-js)
10+
5. @opentelemetry/exporter-trace-otlp-http version 0.41.1 (https://github.com/open-telemetry/opentelemetry-js)
11+
6. @opentelemetry/sdk-trace-base version 1.15.1 (https://github.com/open-telemetry/opentelemetry-js)
1212
7. @vscode/codicons version 0.0.33 (https://github.com/microsoft/vscode-codicons)
1313
8. @vscode/webview-ui-toolkit version 1.2.2 (https://github.com/microsoft/vscode-webview-ui-toolkit)
1414
9. ansi-regex version 6.0.1 (https://github.com/chalk/ansi-regex)
15-
10. billboard.js version 3.9.0 (https://github.com/naver/billboard.js)
15+
10. billboard.js version 3.9.1 (https://github.com/naver/billboard.js)
1616
11. https-proxy-agent version 5.0.1 (https://github.com/TooTallNate/node-https-proxy-agent)
1717
12. iconv-lite version 0.6.3 (https://github.com/ashtuchkin/iconv-lite)
1818
13. lit version 2.7.6 (https://github.com/lit/lit)

package.json

Lines changed: 98 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "gitlens",
33
"displayName": "GitLens — Git supercharged",
44
"description": "Supercharge Git within VS Code — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more",
5-
"version": "14.1.1",
5+
"version": "14.2.0",
66
"engines": {
77
"vscode": "^1.78.0"
88
},
@@ -4268,14 +4268,23 @@
42684268
}
42694269
},
42704270
{
4271-
"id": "gitlens.decorations.worktreeView.hasUncommittedChangesForegroundColor",
4271+
"id": "gitlens.decorations.worktreeHasUncommittedChangesForegroundColor",
42724272
"description": "Specifies the decoration foreground color for worktrees that have uncommitted changes",
42734273
"defaults": {
42744274
"light": "#895503",
42754275
"dark": "#E2C08D",
42764276
"highContrast": "#E2C08D"
42774277
}
42784278
},
4279+
{
4280+
"id": "gitlens.decorations.worktreeMissingForegroundColor",
4281+
"description": "Specifies the decoration foreground color for worktrees cannot be found on disk",
4282+
"defaults": {
4283+
"light": "#ad0707",
4284+
"dark": "#c74e39",
4285+
"highContrast": "#c74e39"
4286+
}
4287+
},
42794288
{
42804289
"id": "gitlens.graphLane1Color",
42814290
"description": "Specifies the color for the first commit lane of the _Commit Graph_ visualization",
@@ -5279,6 +5288,11 @@
52795288
"title": "Open Changed Files",
52805289
"category": "GitLens"
52815290
},
5291+
{
5292+
"command": "gitlens.openOnlyChangedFiles",
5293+
"title": "Open Changed & Close Unchanged Files",
5294+
"category": "GitLens"
5295+
},
52825296
{
52835297
"command": "gitlens.openBranchesOnRemote",
52845298
"title": "Open Branches on Remote",
@@ -5873,6 +5887,11 @@
58735887
"title": "Open Files at Revision",
58745888
"category": "GitLens"
58755889
},
5890+
{
5891+
"command": "gitlens.views.openOnlyChangedFiles",
5892+
"title": "Open Changed & Close Unchanged Files",
5893+
"category": "GitLens"
5894+
},
58765895
{
58775896
"command": "gitlens.views.applyChanges",
58785897
"title": "Apply Changes",
@@ -6097,6 +6116,12 @@
60976116
"category": "GitLens",
60986117
"enablement": "!operationInProgress"
60996118
},
6119+
{
6120+
"command": "gitlens.views.resetToTip",
6121+
"title": "Reset Current Branch to Tip...",
6122+
"category": "GitLens",
6123+
"enablement": "!operationInProgress"
6124+
},
61006125
{
61016126
"command": "gitlens.views.revert",
61026127
"title": "Revert Commit...",
@@ -7324,6 +7349,12 @@
73247349
"category": "GitLens",
73257350
"enablement": "!operationInProgress"
73267351
},
7352+
{
7353+
"command": "gitlens.graph.resetToTip",
7354+
"title": "Reset Current Branch to Tip...",
7355+
"category": "GitLens",
7356+
"enablement": "!operationInProgress"
7357+
},
73277358
{
73287359
"command": "gitlens.graph.revert",
73297360
"title": "Revert Commit...",
@@ -7454,6 +7485,11 @@
74547485
"title": "Open Files at Revision",
74557486
"category": "GitLens"
74567487
},
7488+
{
7489+
"command": "gitlens.graph.openOnlyChangedFiles",
7490+
"title": "Open Changed & Close Unchanged Files",
7491+
"category": "GitLens"
7492+
},
74577493
{
74587494
"command": "gitlens.graph.addAuthor",
74597495
"title": "Add as Co-author",
@@ -8391,6 +8427,10 @@
83918427
"command": "gitlens.openChangedFiles",
83928428
"when": "gitlens:enabled"
83938429
},
8430+
{
8431+
"command": "gitlens.openOnlyChangedFiles",
8432+
"when": "gitlens:enabled"
8433+
},
83948434
{
83958435
"command": "gitlens.openBranchesOnRemote",
83968436
"when": "gitlens:hasRemotes"
@@ -8767,6 +8807,10 @@
87678807
"command": "gitlens.views.openChangedFileRevisions",
87688808
"when": "false"
87698809
},
8810+
{
8811+
"command": "gitlens.views.openOnlyChangedFiles",
8812+
"when": "false"
8813+
},
87708814
{
87718815
"command": "gitlens.views.applyChanges",
87728816
"when": "false"
@@ -8899,6 +8943,10 @@
88998943
"command": "gitlens.views.resetToCommit",
89008944
"when": "false"
89018945
},
8946+
{
8947+
"command": "gitlens.views.resetToTip",
8948+
"when": "false"
8949+
},
89028950
{
89038951
"command": "gitlens.views.revert",
89048952
"when": "false"
@@ -9775,6 +9823,10 @@
97759823
"command": "gitlens.graph.resetToCommit",
97769824
"when": "false"
97779825
},
9826+
{
9827+
"command": "gitlens.graph.resetToTip",
9828+
"when": "false"
9829+
},
97789830
{
97799831
"command": "gitlens.graph.revert",
97809832
"when": "false"
@@ -9859,6 +9911,10 @@
98599911
"command": "gitlens.graph.openChangedFileRevisions",
98609912
"when": "false"
98619913
},
9914+
{
9915+
"command": "gitlens.graph.openOnlyChangedFiles",
9916+
"when": "false"
9917+
},
98629918
{
98639919
"command": "gitlens.graph.addAuthor",
98649920
"when": "false"
@@ -10228,7 +10284,7 @@
1022810284
},
1022910285
{
1023010286
"command": "gitlens.focus.refresh",
10231-
"when": "gitlens:focus:focused",
10287+
"when": "gitlens:webview:focus:active",
1023210288
"group": "navigation@-98"
1023310289
}
1023410290
],
@@ -10386,6 +10442,11 @@
1038610442
"command": "gitlens.closeUnchangedFiles",
1038710443
"when": "gitlens:enabled && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/ && config.gitlens.menus.scmGroup.openClose",
1038810444
"group": "3_gitlens@2"
10445+
},
10446+
{
10447+
"command": "gitlens.openOnlyChangedFiles",
10448+
"when": "gitlens:enabled && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/ && config.gitlens.menus.scmGroup.openClose",
10449+
"group": "3_gitlens@2"
1038910450
}
1039010451
],
1039110452
"scm/resourceState/context": [
@@ -11565,6 +11626,11 @@
1156511626
"when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:commit\\b/",
1156611627
"group": "1_gitlens_actions@4"
1156711628
},
11629+
{
11630+
"command": "gitlens.views.resetToTip",
11631+
"when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:branch\\b/",
11632+
"group": "1_gitlens_actions@4"
11633+
},
1156811634
{
1156911635
"command": "gitlens.views.resetCommit",
1157011636
"when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:commit\\b/",
@@ -12731,6 +12797,11 @@
1273112797
"when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b/",
1273212798
"group": "1_gitlens_actions@4"
1273312799
},
12800+
{
12801+
"command": "gitlens.graph.resetToTip",
12802+
"when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b/",
12803+
"group": "1_gitlens_actions@4"
12804+
},
1273412805
{
1273512806
"command": "gitlens.graph.resetCommit",
1273612807
"when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b/",
@@ -13116,6 +13187,10 @@
1311613187
{
1311713188
"command": "gitlens.views.openChangedFileRevisions",
1311813189
"group": "2_gitlens@2"
13190+
},
13191+
{
13192+
"command": "gitlens.views.openOnlyChangedFiles",
13193+
"group": "2_gitlens@3"
1311913194
}
1312013195
],
1312113196
"gitlens/graph/commit/changes": [
@@ -13135,6 +13210,10 @@
1313513210
{
1313613211
"command": "gitlens.graph.openChangedFileRevisions",
1313713212
"group": "2_gitlens@2"
13213+
},
13214+
{
13215+
"command": "gitlens.graph.openOnlyChangedFiles",
13216+
"group": "2_gitlens@3"
1313813217
}
1313913218
],
1314013219
"gitlens/commit/file/commit": [
@@ -14613,6 +14692,7 @@
1461314692
"package": "vsce package --yarn",
1461414693
"package-pre": "yarn run patch-pre && yarn run package --pre-release",
1461514694
"patch-pre": "node ./scripts/applyPreReleasePatch.js",
14695+
"prep-release": "node ./scripts/prep-release.js",
1461614696
"pretty": "prettier --config .prettierrc --log-level warn --write .",
1461714697
"pub": "vsce publish --yarn",
1461814698
"pub-pre": "vsce publish --yarn --pre-release",
@@ -14635,16 +14715,17 @@
1463514715
},
1463614716
"dependencies": {
1463714717
"@gitkraken/gitkraken-components": "10.1.9",
14718+
"@gitkraken/shared-web-components": "^0.1.1-rc.6",
1463814719
"@microsoft/fast-element": "1.12.0",
1463914720
"@microsoft/fast-react-wrapper": "0.3.18",
1464014721
"@octokit/core": "4.2.4",
1464114722
"@opentelemetry/api": "1.4.1",
14642-
"@opentelemetry/exporter-trace-otlp-http": "0.41.0",
14643-
"@opentelemetry/sdk-trace-base": "1.15.0",
14723+
"@opentelemetry/exporter-trace-otlp-http": "0.41.1",
14724+
"@opentelemetry/sdk-trace-base": "1.15.1",
1464414725
"@vscode/codicons": "0.0.33",
1464514726
"@vscode/webview-ui-toolkit": "1.2.2",
1464614727
"ansi-regex": "6.0.1",
14647-
"billboard.js": "3.9.0",
14728+
"billboard.js": "3.9.1",
1464814729
"https-proxy-agent": "5.0.1",
1464914730
"iconv-lite": "0.6.3",
1465014731
"lit": "2.7.6",
@@ -14662,11 +14743,11 @@
1466214743
"@types/react-dom": "17.0.17",
1466314744
"@types/sortablejs": "1.15.1",
1466414745
"@types/vscode": "1.78.1",
14665-
"@typescript-eslint/eslint-plugin": "6.0.0",
14666-
"@typescript-eslint/parser": "6.0.0",
14667-
"@vscode/test-electron": "2.3.3",
14746+
"@typescript-eslint/eslint-plugin": "6.2.1",
14747+
"@typescript-eslint/parser": "6.2.1",
14748+
"@vscode/test-electron": "2.3.4",
1466814749
"@vscode/test-web": "0.0.44",
14669-
"@vscode/vsce": "2.19.0",
14750+
"@vscode/vsce": "2.20.0",
1467014751
"circular-dependency-plugin": "5.2.2",
1467114752
"clean-webpack-plugin": "4.0.0",
1467214753
"concurrently": "8.2.0",
@@ -14678,13 +14759,14 @@
1467814759
"esbuild": "0.17.19",
1467914760
"esbuild-loader": "3.0.1",
1468014761
"esbuild-sass-plugin": "2.10.0",
14681-
"eslint": "8.44.0",
14762+
"eslint": "8.46.0",
1468214763
"eslint-cli": "1.1.1",
14683-
"eslint-config-prettier": "8.8.0",
14764+
"eslint-config-prettier": "8.9.0",
1468414765
"eslint-import-resolver-typescript": "3.5.5",
1468514766
"eslint-plugin-anti-trojan-source": "1.1.1",
14686-
"eslint-plugin-import": "2.27.5",
14767+
"eslint-plugin-import": "2.28.0",
1468714768
"eslint-plugin-lit": "1.8.3",
14769+
"eslint-plugin-wc": "1.5.0",
1468814770
"fantasticon": "1.2.3",
1468914771
"fork-ts-checker-webpack-plugin": "6.5.3",
1469014772
"glob": "10.3.3",
@@ -14696,16 +14778,16 @@
1469614778
"mini-css-extract-plugin": "2.7.6",
1469714779
"mocha": "10.2.0",
1469814780
"prettier": "3.0.0",
14699-
"sass": "1.63.6",
14781+
"sass": "1.64.2",
1470014782
"sass-loader": "13.3.2",
1470114783
"schema-utils": "4.2.0",
14702-
"sharp": "0.32.2",
14784+
"sharp": "0.32.4",
1470314785
"svgo": "3.0.2",
1470414786
"terser-webpack-plugin": "5.3.9",
1470514787
"ts-loader": "9.4.4",
1470614788
"tsc-alias": "1.8.7",
1470714789
"typescript": "5.2.0-beta",
14708-
"webpack": "5.88.1",
14790+
"webpack": "5.88.2",
1470914791
"webpack-bundle-analyzer": "4.9.0",
1471014792
"webpack-cli": "5.1.4",
1471114793
"webpack-node-externals": "3.0.0",

0 commit comments

Comments
 (0)