Skip to content

Commit fcd013c

Browse files
committed
Improves branch context menu grouping
1 parent cb06b36 commit fcd013c

File tree

2 files changed

+81
-81
lines changed

2 files changed

+81
-81
lines changed

contributions.json

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,8 +1464,8 @@
14641464
"webview/context": [
14651465
{
14661466
"when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
1467-
"group": "1_gitlens_actions",
1468-
"order": 8
1467+
"group": "1_gitlens_actions_2",
1468+
"order": 1
14691469
}
14701470
]
14711471
}
@@ -1932,8 +1932,8 @@
19321932
"webview/context": [
19331933
{
19341934
"when": "webviewItem =~ /gitlens:branch\\b/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
1935-
"group": "1_gitlens_actions_",
1936-
"order": 7
1935+
"group": "1_gitlens_actions_3",
1936+
"order": 1
19371937
},
19381938
{
19391939
"when": "webviewItem =~ /gitlens:commit\\b/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
@@ -1979,8 +1979,8 @@
19791979
"webview/context": [
19801980
{
19811981
"when": "webviewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/ && gitlens:action:createPullRequest && gitlens:repos:withRemotes",
1982-
"group": "1_gitlens_actions_",
1983-
"order": 10
1982+
"group": "1_gitlens_actions_3",
1983+
"order": 4
19841984
}
19851985
]
19861986
}
@@ -1993,8 +1993,8 @@
19931993
"webview/context": [
19941994
{
19951995
"when": "webviewItem =~ /gitlens:branch\\b/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
1996-
"group": "1_gitlens_actions_",
1997-
"order": 8
1996+
"group": "1_gitlens_actions_3",
1997+
"order": 2
19981998
},
19991999
{
20002000
"when": "webviewItem =~ /gitlens:commit\\b/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
@@ -2012,8 +2012,8 @@
20122012
"webview/context": [
20132013
{
20142014
"when": "webviewItem =~ /gitlens:branch\\b/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
2015-
"group": "1_gitlens_actions_",
2016-
"order": 9
2015+
"group": "1_gitlens_actions_3",
2016+
"order": 3
20172017
}
20182018
]
20192019
}
@@ -2026,8 +2026,8 @@
20262026
"webview/context": [
20272027
{
20282028
"when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+(current|checkedout)\\b)/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
2029-
"group": "1_gitlens_actions",
2030-
"order": 7
2029+
"group": "1_gitlens_actions_2",
2030+
"order": 3
20312031
}
20322032
]
20332033
}
@@ -2144,8 +2144,8 @@
21442144
"webview/context": [
21452145
{
21462146
"when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
2147-
"group": "1_gitlens_actions",
2148-
"order": 4
2147+
"group": "1_gitlens_actions_1",
2148+
"order": 1
21492149
}
21502150
]
21512151
}
@@ -2439,8 +2439,8 @@
24392439
"webview/context": [
24402440
{
24412441
"when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
2442-
"group": "1_gitlens_actions",
2443-
"order": 5
2442+
"group": "1_gitlens_actions_1",
2443+
"order": 2
24442444
}
24452445
]
24462446
}
@@ -2465,8 +2465,8 @@
24652465
"webview/context": [
24662466
{
24672467
"when": "webviewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)(?=.*?\\b\\+tracking\\b)/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
2468-
"group": "1_gitlens_actions",
2469-
"order": 5
2468+
"group": "1_gitlens_actions_1",
2469+
"order": 2
24702470
}
24712471
]
24722472
}
@@ -2491,8 +2491,8 @@
24912491
"webview/context": [
24922492
{
24932493
"when": "webviewItem =~ /gitlens:branch\\b/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
2494-
"group": "1_gitlens_actions",
2495-
"order": 6
2494+
"group": "1_gitlens_actions_2",
2495+
"order": 2
24962496
}
24972497
]
24982498
}
@@ -2568,8 +2568,8 @@
25682568
"webview/context": [
25692569
{
25702570
"when": "webviewItem =~ /gitlens:branch\\b/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
2571-
"group": "1_gitlens_actions",
2572-
"order": 4
2571+
"group": "1_gitlens_actions_1",
2572+
"order": 3
25732573
}
25742574
]
25752575
}
@@ -4832,8 +4832,8 @@
48324832
"view/item/context": [
48334833
{
48344834
"when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
4835-
"group": "1_gitlens_actions",
4836-
"order": 8
4835+
"group": "1_gitlens_actions_2",
4836+
"order": 1
48374837
}
48384838
]
48394839
}
@@ -6191,7 +6191,7 @@
61916191
"view/item/context": [
61926192
{
61936193
"when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
6194-
"group": "1_gitlens_actions_",
6194+
"group": "1_gitlens_actions_3",
61956195
"order": 7
61966196
},
61976197
{
@@ -6234,7 +6234,7 @@
62346234
},
62356235
{
62366236
"when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && gitlens:action:createPullRequest && gitlens:repos:withRemotes",
6237-
"group": "1_gitlens_actions_",
6237+
"group": "1_gitlens_actions_3",
62386238
"order": 10
62396239
},
62406240
{
@@ -6265,7 +6265,7 @@
62656265
"view/item/context": [
62666266
{
62676267
"when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
6268-
"group": "1_gitlens_actions_",
6268+
"group": "1_gitlens_actions_3",
62696269
"order": 8
62706270
},
62716271
{
@@ -6299,7 +6299,7 @@
62996299
"view/item/context": [
63006300
{
63016301
"when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
6302-
"group": "1_gitlens_actions_",
6302+
"group": "1_gitlens_actions_3",
63036303
"order": 9
63046304
},
63056305
{
@@ -6323,8 +6323,8 @@
63236323
"view/item/context": [
63246324
{
63256325
"when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
6326-
"group": "1_gitlens_actions",
6327-
"order": 7
6326+
"group": "1_gitlens_actions_2",
6327+
"order": 3
63286328
}
63296329
]
63306330
}
@@ -6337,8 +6337,8 @@
63376337
"view/item/context": [
63386338
{
63396339
"when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+(current|checkedout)\\b)(?!.*?\\b\\+closed\\b)/ && listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
6340-
"group": "1_gitlens_actions",
6341-
"order": 7
6340+
"group": "1_gitlens_actions_2",
6341+
"order": 3
63426342
}
63436343
]
63446344
}
@@ -7271,8 +7271,8 @@
72717271
"view/item/context": [
72727272
{
72737273
"when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
7274-
"group": "1_gitlens_actions",
7275-
"order": 4
7274+
"group": "1_gitlens_actions_1",
7275+
"order": 1
72767276
}
72777277
]
72787278
}
@@ -8160,8 +8160,8 @@
81608160
"view/item/context": [
81618161
{
81628162
"when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
8163-
"group": "1_gitlens_actions",
8164-
"order": 5
8163+
"group": "1_gitlens_actions_1",
8164+
"order": 2
81658165
}
81668166
]
81678167
}
@@ -8193,8 +8193,8 @@
81938193
"view/item/context": [
81948194
{
81958195
"when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)(?=.*?\\b\\+tracking\\b)(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
8196-
"group": "1_gitlens_actions",
8197-
"order": 5
8196+
"group": "1_gitlens_actions_1",
8197+
"order": 2
81988198
}
81998199
]
82008200
}
@@ -8459,8 +8459,8 @@
84598459
"view/item/context": [
84608460
{
84618461
"when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
8462-
"group": "1_gitlens_actions",
8463-
"order": 6
8462+
"group": "1_gitlens_actions_2",
8463+
"order": 2
84648464
}
84658465
]
84668466
}
@@ -8982,8 +8982,8 @@
89828982
"view/item/context": [
89838983
{
89848984
"when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+rebase\\b)/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
8985-
"group": "1_gitlens_actions",
8986-
"order": 4
8985+
"group": "1_gitlens_actions_1",
8986+
"order": 3
89878987
}
89888988
]
89898989
}

0 commit comments

Comments
 (0)