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 14651465 },
14661466 "gitlens.getStarted": {
14671467 "label": "Get Started",
1468- "commandPalette": true ,
1468+ "commandPalette": "gitlens:walkthroughSupported" ,
14691469 "menus": {
14701470 "extension/context": [
14711471 {
1472- "when": "extension =~ /^eamodio.gitlens?$/ && extensionStatus == installed",
1472+ "when": "extension =~ /^eamodio.gitlens?$/ && extensionStatus == installed && gitlens:walkthroughSupported ",
14731473 "group": "9_gitlens",
14741474 "order": 1
14751475 }
Original file line number Diff line number Diff line change 1103311033 "command": "gitlens.fetchRepositories",
1103411034 "when": "gitlens:repos:withRemotes && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders"
1103511035 },
11036+ {
11037+ "command": "gitlens.getStarted",
11038+ "when": "gitlens:walkthroughSupported"
11039+ },
1103611040 {
1103711041 "command": "gitlens.ghpr.views.openOrCreateWorktree",
1103811042 "when": "false"
1420014204 "extension/context": [
1420114205 {
1420214206 "command": "gitlens.getStarted",
14203- "when": "extension =~ /^eamodio.gitlens?$/ && extensionStatus == installed",
14207+ "when": "extension =~ /^eamodio.gitlens?$/ && extensionStatus == installed && gitlens:walkthroughSupported ",
1420414208 "group": "9_gitlens@1"
1420514209 },
1420614210 {
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ export type ContextKeys = {
6060 'gitlens:views:scm:grouped:welcome' : boolean ;
6161 'gitlens:vsls' : boolean | 'host' | 'guest' ;
6262 'gitlens:window:annotated' : AnnotationStatus ;
63+ 'gitlens:walkthroughSupported' : boolean ;
6364} & Record < `gitlens:action:${string } `, number > &
6465 Record < `gitlens:feature:unsupported:${Features } `, boolean > &
6566 Record < `gitlens:key:${Keys } `, boolean > &
Original file line number Diff line number Diff line change @@ -162,6 +162,8 @@ export class WalkthroughStateProvider implements Disposable {
162162 private subscriptionState : SubscriptionState | undefined ;
163163
164164 constructor ( private readonly container : Container ) {
165+ void setContext ( 'gitlens:walkthroughSupported' , true ) ;
166+
165167 this . disposables . push (
166168 this . _onDidChangeProgress ,
167169 this . container . usage . onDidChange ( this . onUsageChanged , this ) ,
You can’t perform that action at this time.
0 commit comments