From 31ef19a8abb4a50e89c4672f43b590b9234ae60f Mon Sep 17 00:00:00 2001 From: Yuanqi Zhu Date: Wed, 25 Nov 2020 11:22:16 -0800 Subject: [PATCH 1/2] change side bar position for anomly detection plugin --- public/plugin.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/public/plugin.ts b/public/plugin.ts index bb2394d9..09f3126f 100644 --- a/public/plugin.ts +++ b/public/plugin.ts @@ -40,8 +40,13 @@ export class AnomalyDetectionKibanaPlugin core.application.register({ id: 'opendistro-anomaly-detection-kibana', title: 'Anomaly Detection', - category: DEFAULT_APP_CATEGORIES.kibana, - order: 8030, + category: { + id: 'odfe', + label: 'Open Distro for Elasticsearch', + euiIconType: 'logoKibana', + order: 2000, + }, + order: 5000, mount: async (params: AppMountParameters) => { const { renderApp } = await import('./anomaly_detection_app'); const [coreStart, depsStart] = await core.getStartServices(); From 48207ad81614ea9d7ec4a915fcffa153dac9f8df Mon Sep 17 00:00:00 2001 From: Yuanqi Zhu Date: Wed, 25 Nov 2020 11:22:16 -0800 Subject: [PATCH 2/2] change side bar position for anomly detection plugin --- public/plugin.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/public/plugin.ts b/public/plugin.ts index 09f3126f..a1238636 100644 --- a/public/plugin.ts +++ b/public/plugin.ts @@ -19,7 +19,6 @@ import { CoreStart, Plugin, PluginInitializerContext, - DEFAULT_APP_CATEGORIES, } from '../../../src/core/public'; import { AnomalyDetectionKibanaPluginSetup,