File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
src/vs/workbench/contrib/welcomeGettingStarted/browser Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,7 @@ export class GettingStartedPage extends EditorPane {
242
242
}
243
243
} ) ) ;
244
244
245
+ this . _register ( this . gettingStartedService . onDidAddBuiltInWalkthrough ( rerender ) ) ;
245
246
this . _register ( this . gettingStartedService . onDidAddWalkthrough ( rerender ) ) ;
246
247
this . _register ( this . gettingStartedService . onDidRemoveWalkthrough ( rerender ) ) ;
247
248
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ export interface IWalkthroughsService {
97
97
readonly onDidRemoveWalkthrough : Event < string > ;
98
98
readonly onDidChangeWalkthrough : Event < IResolvedWalkthrough > ;
99
99
readonly onDidProgressStep : Event < IResolvedWalkthroughStep > ;
100
+ readonly onDidAddBuiltInWalkthrough : Event < void > ;
100
101
101
102
readonly installedExtensionsRegistered : Promise < void > ;
102
103
@@ -134,6 +135,9 @@ export class WalkthroughsService extends Disposable implements IWalkthroughsServ
134
135
private readonly _onDidProgressStep = new Emitter < IResolvedWalkthroughStep > ( ) ;
135
136
readonly onDidProgressStep : Event < IResolvedWalkthroughStep > = this . _onDidProgressStep . event ;
136
137
138
+ private readonly _onDidAddBuiltInWalkthrough = new Emitter < void > ( ) ;
139
+ readonly onDidAddBuiltInWalkthrough : Event < void > = this . _onDidAddBuiltInWalkthrough . event ;
140
+
137
141
private memento : Memento ;
138
142
private stepProgress : Record < string , StepProgress | undefined > ;
139
143
@@ -255,6 +259,8 @@ export class WalkthroughsService extends Disposable implements IWalkthroughsServ
255
259
} )
256
260
} ) ;
257
261
} ) ;
262
+
263
+ this . _onDidAddBuiltInWalkthrough . fire ( ) ;
258
264
}
259
265
260
266
private updateWalkthroughContent ( walkthrough : BuiltinGettingStartedCategory , experimentTreatment : WalkthroughTreatment ) : BuiltinGettingStartedCategory {
You can’t perform that action at this time.
0 commit comments