From 87657ef0a68225e153c5f4b1a2450dc8572830a5 Mon Sep 17 00:00:00 2001 From: Sarat Date: Tue, 25 Aug 2020 13:36:55 -0700 Subject: [PATCH 1/3] Adding support for Kibana 7.9.0 --- package.json | 5 +- public/app.js | 2 - .../__snapshots__/AlertsFlyout.test.tsx.snap | 4 +- .../__snapshots__/ListControls.test.tsx.snap | 1 + .../__snapshots__/ListFilters.test.tsx.snap | 1 + .../DetectorsList/containers/List/List.tsx | 2 +- .../AggregationSelector.test.tsx.snap | 16 +- .../CustomAggregation.test.tsx.snap | 8 +- .../__snapshots__/DetectorInfo.test.tsx.snap | 12 +- .../CreateDetector.test.tsx.snap | 46 +- yarn.lock | 2650 ++++++++++------- 11 files changed, 1540 insertions(+), 1207 deletions(-) diff --git a/package.json b/package.json index b70f8518..9aee6a09 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "opendistro-anomaly-detection-kibana", - "version": "1.9.0.0", + "version": "1.10.0.0", "description": "Open Distro for Elasticsearch Anomaly Detection Kibana plugin", "main": "index.js", "kibana": { - "version": "7.8.0", + "version": "7.9.0", "templateVersion": "1.0.0" }, "scripts": { @@ -37,6 +37,7 @@ "@babel/preset-typescript": "^7.3.3", "@elastic/eslint-config-kibana": "link:../../packages/eslint-config-kibana", "@elastic/eslint-import-resolver-kibana": "link:../../packages/kbn-eslint-import-resolver-kibana", + "@elastic/eui": "^22.3.1", "@kbn/config-schema": "link:../../packages/kbn-config-schema", "@kbn/plugin-helpers": "link:../../packages/kbn-plugin-helpers", "@testing-library/jest-dom": "^4.0.0", diff --git a/public/app.js b/public/app.js index a3690ebb..7b921788 100644 --- a/public/app.js +++ b/public/app.js @@ -21,8 +21,6 @@ import { Main } from './pages/main'; import { HashRouter as Router, Route } from 'react-router-dom'; import { Provider } from 'react-redux'; -import 'ui/autoload/styles'; - import configureStore from './redux/configureStore'; import { darkModeEnabled } from './utils/kibanaUtils'; diff --git a/public/pages/AnomalyCharts/components/AlertsFlyout/__tests__/__snapshots__/AlertsFlyout.test.tsx.snap b/public/pages/AnomalyCharts/components/AlertsFlyout/__tests__/__snapshots__/AlertsFlyout.test.tsx.snap index b87cf21d..a6550fc3 100644 --- a/public/pages/AnomalyCharts/components/AlertsFlyout/__tests__/__snapshots__/AlertsFlyout.test.tsx.snap +++ b/public/pages/AnomalyCharts/components/AlertsFlyout/__tests__/__snapshots__/AlertsFlyout.test.tsx.snap @@ -22,7 +22,7 @@ exports[` spec Alerts Flyout renders component with monitor 1`] tabindex="0" >