@@ -12,7 +12,7 @@ import { ICommandService } from '../../../../platform/commands/common/commands.j
12
12
import { ContextKeyExpr , ContextKeyExpression , IContextKeyService , RawContextKey } from '../../../../platform/contextkey/common/contextkey.js' ;
13
13
import { Disposable } from '../../../../base/common/lifecycle.js' ;
14
14
import { IUserDataSyncEnablementService } from '../../../../platform/userDataSync/common/userDataSync.js' ;
15
- import { IExtensionDescription } from '../../../../platform/extensions/common/extensions.js' ;
15
+ import { ExtensionIdentifier , IExtensionDescription } from '../../../../platform/extensions/common/extensions.js' ;
16
16
import { URI } from '../../../../base/common/uri.js' ;
17
17
import { joinPath } from '../../../../base/common/resources.js' ;
18
18
import { FileAccess } from '../../../../base/common/network.js' ;
@@ -34,6 +34,7 @@ import { checkGlobFileExists } from '../../../services/extensions/common/workspa
34
34
import { IWorkspaceContextService } from '../../../../platform/workspace/common/workspace.js' ;
35
35
import { CancellationTokenSource } from '../../../../base/common/cancellation.js' ;
36
36
import { DefaultIconPath } from '../../../services/extensionManagement/common/extensionManagement.js' ;
37
+ import { IProductService } from '../../../../platform/product/common/productService.js' ;
37
38
38
39
export const HasMultipleNewFileEntries = new RawContextKey < boolean > ( 'hasMultipleNewFileEntries' , false ) ;
39
40
@@ -154,7 +155,8 @@ export class WalkthroughsService extends Disposable implements IWalkthroughsServ
154
155
@IHostService private readonly hostService : IHostService ,
155
156
@IViewsService private readonly viewsService : IViewsService ,
156
157
@ITelemetryService private readonly telemetryService : ITelemetryService ,
157
- @IWorkbenchAssignmentService private readonly tasExperimentService : IWorkbenchAssignmentService
158
+ @IWorkbenchAssignmentService private readonly tasExperimentService : IWorkbenchAssignmentService ,
159
+ @IProductService private readonly productService : IProductService
158
160
) {
159
161
super ( ) ;
160
162
@@ -228,6 +230,15 @@ export class WalkthroughsService extends Disposable implements IWalkthroughsServ
228
230
} ) ;
229
231
230
232
this . _register ( this . extensionManagementService . onDidInstallExtensions ( ( result ) => {
233
+
234
+ if ( result . some ( e => ExtensionIdentifier . equals ( this . productService . gitHubEntitlement ?. extensionId , e . identifier . id ) && ! e ?. context ?. [ EXTENSION_INSTALL_SKIP_WALKTHROUGH_CONTEXT ] ) ) {
235
+ result . forEach ( e => {
236
+ this . sessionInstalledExtensions . add ( e . identifier . id . toLowerCase ( ) ) ;
237
+ this . progressByEvent ( `extensionInstalled:${ e . identifier . id . toLowerCase ( ) } ` ) ;
238
+ } ) ;
239
+ return ;
240
+ }
241
+
231
242
for ( const e of result ) {
232
243
const skipWalkthrough = e ?. context ?. [ EXTENSION_INSTALL_SKIP_WALKTHROUGH_CONTEXT ] || e ?. context ?. [ EXTENSION_INSTALL_DEP_PACK_CONTEXT ] ;
233
244
// If the window had last focus and the install didn't specify to skip the walkthrough
0 commit comments