From 922a302438a399400e391727c430bda8ce38d0c5 Mon Sep 17 00:00:00 2001 From: Alan Potter Date: Wed, 30 Oct 2024 04:43:04 -0400 Subject: [PATCH] fix: show Navie instead of walkthrough When sign in is required, open a Navie tab instead of showing the walkthrough. Also, include a link to the walkthrough at the bottom of the Documentation view. --- src/services/signInManager.ts | 3 +-- src/tree/linkTreeDataProvider.ts | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/services/signInManager.ts b/src/services/signInManager.ts index da06ab2b..ec010884 100644 --- a/src/services/signInManager.ts +++ b/src/services/signInManager.ts @@ -57,7 +57,6 @@ export default class SignInManager { this.shouldShowSignIn() ); - if (!this.shouldShowSignIn()) - vscode.commands.executeCommand('workbench.action.openWalkthrough', 'navie.walkthrough'); + if (this.shouldShowSignIn()) vscode.commands.executeCommand('appmap.explain'); } } diff --git a/src/tree/linkTreeDataProvider.ts b/src/tree/linkTreeDataProvider.ts index 0859a165..b8f10885 100644 --- a/src/tree/linkTreeDataProvider.ts +++ b/src/tree/linkTreeDataProvider.ts @@ -83,6 +83,14 @@ export class LinkTreeDataProvider implements vscode.TreeDataProvider