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 @@ -372,7 +372,12 @@ export class DashboardPlugin
372
372
defaultPath : `#${ DashboardConstants . LANDING_PAGE_PATH } ` ,
373
373
updater$ : this . appStateUpdater ,
374
374
category : DEFAULT_APP_CATEGORIES . opensearchDashboards ,
375
- workspaceTemplate : [ DEFAULT_WORKSPACE_TEMPLATES . search ] ,
375
+ workspaceTemplate : [
376
+ DEFAULT_WORKSPACE_TEMPLATES . search ,
377
+ DEFAULT_WORKSPACE_TEMPLATES . general_analysis ,
378
+ DEFAULT_WORKSPACE_TEMPLATES . observability ,
379
+ DEFAULT_WORKSPACE_TEMPLATES . security_analytics ,
380
+ ] ,
376
381
mount : async ( params : AppMountParameters ) => {
377
382
const [ coreStart , pluginsStart , dashboardStart ] = await core . getStartServices ( ) ;
378
383
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 ,
@@ -157,6 +158,10 @@ export class VisualizePlugin
157
158
euiIconType : 'inputOutput' ,
158
159
defaultPath : '#/' ,
159
160
category : DEFAULT_APP_CATEGORIES . opensearchDashboards ,
161
+ workspaceTemplate : [
162
+ DEFAULT_WORKSPACE_TEMPLATES . search ,
163
+ DEFAULT_WORKSPACE_TEMPLATES . general_analysis ,
164
+ ] ,
160
165
updater$ : this . appStateUpdater . asObservable ( ) ,
161
166
// remove all references to visualize
162
167
mount : async ( params : AppMountParameters ) => {
You can’t perform that action at this time.
0 commit comments