Skip to content

Commit 9f73cd6

Browse files
committed
Adds topological selection mode to the Graph
- Disabled by default
1 parent c6543fd commit 9f73cd6

File tree

8 files changed

+365
-377
lines changed

8 files changed

+365
-377
lines changed

docs/telemetry-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ or
11561156
'context.config.minimap.additionalTypes': string,
11571157
'context.config.minimap.dataType': 'commits' | 'lines',
11581158
'context.config.minimap.enabled': boolean,
1159-
'context.config.multiselect': boolean,
1159+
'context.config.multiselect': boolean | 'simple' | 'topological',
11601160
'context.config.onlyFollowFirstParent': boolean,
11611161
'context.config.pageItemLimit': number,
11621162
'context.config.pullRequests.enabled': boolean,

package.json

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -956,9 +956,22 @@
956956
"order": 2
957957
},
958958
"gitlens.graph.multiselect": {
959-
"type": "boolean",
959+
"type": [
960+
"boolean",
961+
"string"
962+
],
963+
"enum": [
964+
false,
965+
true,
966+
"topological"
967+
],
968+
"enumDescriptions": [
969+
"Disallows selecting multiple commits",
970+
"Allows selecting multiple commits without restriction",
971+
"Allows selecting multiple commits topologically"
972+
],
960973
"default": true,
961-
"markdownDescription": "Specifies whether to allow selecting multiple commits in the _Commit Graph_",
974+
"markdownDescription": "Specifies whether to allow selecting multiple commits and whether to restrict the selection topologically in the _Commit Graph_",
962975
"scope": "window",
963976
"order": 10
964977
},
@@ -24388,7 +24401,7 @@
2438824401
"vscode:prepublish": "pnpm run bundle"
2438924402
},
2439024403
"dependencies": {
24391-
"@gitkraken/gitkraken-components": "13.0.0-vnext.4",
24404+
"@gitkraken/gitkraken-components": "13.0.0-vnext.7",
2439224405
"@gitkraken/provider-apis": "0.28.5",
2439324406
"@gitkraken/shared-web-components": "0.1.1-rc.15",
2439424407
"@gk-nzaytsev/fast-string-truncated-width": "1.1.0",
@@ -24425,10 +24438,10 @@
2442524438
"@custom-elements-manifest/analyzer": "^0.10.4",
2442624439
"@eamodio/eslint-lite-webpack-plugin": "0.2.0",
2442724440
"@eslint/compat": "1.3.1",
24428-
"@eslint/js": "9.30.1",
24441+
"@eslint/js": "9.31.0",
2442924442
"@playwright/test": "1.54.1",
2443024443
"@prettier/plugin-oxc": "0.0.4",
24431-
"@swc/core": "1.12.11",
24444+
"@swc/core": "1.12.14",
2443224445
"@twbs/fantasticon": "3.1.0",
2443324446
"@types/mocha": "10.0.10",
2443424447
"@types/node": "20.14.15",
@@ -24438,7 +24451,7 @@
2443824451
"@types/slug": "5.0.9",
2443924452
"@types/sortablejs": "1.15.8",
2444024453
"@types/vscode": "1.92.0",
24441-
"@typescript-eslint/parser": "8.36.0",
24454+
"@typescript-eslint/parser": "8.37.0",
2444224455
"@vscode/test-cli": "0.0.11",
2444324456
"@vscode/test-electron": "2.5.2",
2444424457
"@vscode/test-web": "0.0.71",
@@ -24450,12 +24463,12 @@
2445024463
"csp-html-webpack-plugin": "5.1.0",
2445124464
"css-loader": "7.1.2",
2445224465
"css-minimizer-webpack-plugin": "7.0.2",
24453-
"cssnano-preset-advanced": "7.0.7",
24466+
"cssnano-preset-advanced": "7.0.8",
2445424467
"esbuild": "0.25.6",
2445524468
"esbuild-loader": "4.3.0",
2445624469
"esbuild-node-externals": "1.18.0",
2445724470
"esbuild-sass-plugin": "3.3.1",
24458-
"eslint": "9.30.1",
24471+
"eslint": "9.31.0",
2445924472
"eslint-import-resolver-typescript": "4.4.4",
2446024473
"eslint-plugin-anti-trojan-source": "1.1.1",
2446124474
"eslint-plugin-import-x": "4.16.1",
@@ -24483,8 +24496,8 @@
2448324496
"terser-webpack-plugin": "5.3.14",
2448424497
"ts-loader": "9.5.2",
2448524498
"typescript": "5.8.3",
24486-
"typescript-eslint": "8.36.0",
24487-
"webpack": "5.100.1",
24499+
"typescript-eslint": "8.37.0",
24500+
"webpack": "5.100.2",
2448824501
"webpack-bundle-analyzer": "4.10.2",
2448924502
"webpack-cli": "6.0.1",
2449024503
"webpack-node-externals": "3.0.0",

0 commit comments

Comments
 (0)