File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1465
1465
},
1466
1466
"gitlens.getStarted": {
1467
1467
"label": "Get Started",
1468
- "commandPalette": true ,
1468
+ "commandPalette": "gitlens:walkthroughSupported" ,
1469
1469
"menus": {
1470
1470
"extension/context": [
1471
1471
{
1472
- "when": "extension =~ /^eamodio.gitlens?$/ && extensionStatus == installed",
1472
+ "when": "extension =~ /^eamodio.gitlens?$/ && extensionStatus == installed && gitlens:walkthroughSupported ",
1473
1473
"group": "9_gitlens",
1474
1474
"order": 1
1475
1475
}
Original file line number Diff line number Diff line change 11033
11033
"command": "gitlens.fetchRepositories",
11034
11034
"when": "gitlens:repos:withRemotes && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders"
11035
11035
},
11036
+ {
11037
+ "command": "gitlens.getStarted",
11038
+ "when": "gitlens:walkthroughSupported"
11039
+ },
11036
11040
{
11037
11041
"command": "gitlens.ghpr.views.openOrCreateWorktree",
11038
11042
"when": "false"
14200
14204
"extension/context": [
14201
14205
{
14202
14206
"command": "gitlens.getStarted",
14203
- "when": "extension =~ /^eamodio.gitlens?$/ && extensionStatus == installed",
14207
+ "when": "extension =~ /^eamodio.gitlens?$/ && extensionStatus == installed && gitlens:walkthroughSupported ",
14204
14208
"group": "9_gitlens@1"
14205
14209
},
14206
14210
{
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ export type ContextKeys = {
60
60
'gitlens:views:scm:grouped:welcome' : boolean ;
61
61
'gitlens:vsls' : boolean | 'host' | 'guest' ;
62
62
'gitlens:window:annotated' : AnnotationStatus ;
63
+ 'gitlens:walkthroughSupported' : boolean ;
63
64
} & Record < `gitlens:action:${string } `, number > &
64
65
Record < `gitlens:feature:unsupported:${Features } `, boolean > &
65
66
Record < `gitlens:key:${Keys } `, boolean > &
Original file line number Diff line number Diff line change @@ -162,6 +162,8 @@ export class WalkthroughStateProvider implements Disposable {
162
162
private subscriptionState : SubscriptionState | undefined ;
163
163
164
164
constructor ( private readonly container : Container ) {
165
+ void setContext ( 'gitlens:walkthroughSupported' , true ) ;
166
+
165
167
this . disposables . push (
166
168
this . _onDidChangeProgress ,
167
169
this . container . usage . onDidChange ( this . onUsageChanged , this ) ,
You can’t perform that action at this time.
0 commit comments