File tree 3 files changed +16
-1
lines changed
3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,12 @@ export class DashboardPlugin
367
367
defaultPath : `#${ DashboardConstants . LANDING_PAGE_PATH } ` ,
368
368
updater$ : this . appStateUpdater ,
369
369
category : DEFAULT_APP_CATEGORIES . opensearchDashboards ,
370
- workspaceTemplate : [ DEFAULT_WORKSPACE_TEMPLATES . search ] ,
370
+ workspaceTemplate : [
371
+ DEFAULT_WORKSPACE_TEMPLATES . search ,
372
+ DEFAULT_WORKSPACE_TEMPLATES . general_analysis ,
373
+ DEFAULT_WORKSPACE_TEMPLATES . observability ,
374
+ DEFAULT_WORKSPACE_TEMPLATES . security_analytics ,
375
+ ] ,
371
376
mount : async ( params : AppMountParameters ) => {
372
377
const [ coreStart , pluginsStart , dashboardStart ] = await core . getStartServices ( ) ;
373
378
this . currentHistory = params . history ;
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ import {
38
38
AppUpdater ,
39
39
CoreSetup ,
40
40
CoreStart ,
41
+ DEFAULT_WORKSPACE_TEMPLATES ,
41
42
Plugin ,
42
43
PluginInitializerContext ,
43
44
} from 'opensearch-dashboards/public' ;
@@ -315,6 +316,10 @@ export class DiscoverPlugin
315
316
euiIconType : 'inputOutput' ,
316
317
defaultPath : '#/' ,
317
318
category : DEFAULT_APP_CATEGORIES . opensearchDashboards ,
319
+ workspaceTemplate : [
320
+ DEFAULT_WORKSPACE_TEMPLATES . search ,
321
+ DEFAULT_WORKSPACE_TEMPLATES . general_analysis ,
322
+ ] ,
318
323
mount : async ( params : AppMountParameters ) => {
319
324
if ( ! this . initializeServices ) {
320
325
throw Error ( 'Discover plugin method initializeServices is undefined' ) ;
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ import {
37
37
AppUpdater ,
38
38
CoreSetup ,
39
39
CoreStart ,
40
+ DEFAULT_WORKSPACE_TEMPLATES ,
40
41
Plugin ,
41
42
PluginInitializerContext ,
42
43
ScopedHistory ,
@@ -155,6 +156,10 @@ export class VisualizePlugin
155
156
euiIconType : 'inputOutput' ,
156
157
defaultPath : '#/' ,
157
158
category : DEFAULT_APP_CATEGORIES . opensearchDashboards ,
159
+ workspaceTemplate : [
160
+ DEFAULT_WORKSPACE_TEMPLATES . search ,
161
+ DEFAULT_WORKSPACE_TEMPLATES . general_analysis ,
162
+ ] ,
158
163
updater$ : this . appStateUpdater . asObservable ( ) ,
159
164
// remove all references to visualize
160
165
mount : async ( params : AppMountParameters ) => {
You can’t perform that action at this time.
0 commit comments