From bc619317a15db3ac004b0907498a9282f1b6930f Mon Sep 17 00:00:00 2001 From: Liza Katz Date: Tue, 16 Apr 2019 17:04:45 +0300 Subject: [PATCH] Comment out imports --- .../core_plugins/kibana/public/dashboard/dashboard_app.js | 3 ++- .../kibana/public/discover/controllers/discover.js | 3 ++- .../core_plugins/kibana/public/visualize/editor/editor.js | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/legacy/core_plugins/kibana/public/dashboard/dashboard_app.js b/src/legacy/core_plugins/kibana/public/dashboard/dashboard_app.js index 085b0256ef23..cf8dabeb322e 100644 --- a/src/legacy/core_plugins/kibana/public/dashboard/dashboard_app.js +++ b/src/legacy/core_plugins/kibana/public/dashboard/dashboard_app.js @@ -25,7 +25,6 @@ import chrome from 'ui/chrome'; import { wrapInI18nContext } from 'ui/i18n'; import { toastNotifications } from 'ui/notify'; -import 'plugins/data'; import 'ui/listen'; import 'ui/apply_filters'; @@ -59,6 +58,8 @@ import { getUnhashableStatesProvider } from 'ui/state_management/state_hashing'; import { DashboardViewportProvider } from './viewport/dashboard_viewport_provider'; +// import 'plugins/data'; + const app = uiModules.get('app/dashboard', [ 'elasticsearch', 'ngRoute', diff --git a/src/legacy/core_plugins/kibana/public/discover/controllers/discover.js b/src/legacy/core_plugins/kibana/public/discover/controllers/discover.js index 6244996ed22c..3f1f0aaa06cb 100644 --- a/src/legacy/core_plugins/kibana/public/discover/controllers/discover.js +++ b/src/legacy/core_plugins/kibana/public/discover/controllers/discover.js @@ -30,7 +30,6 @@ import { getSort } from '../doc_table/lib/get_sort'; import * as columnActions from '../doc_table/actions/columns'; import * as filterActions from '../doc_table/actions/filter'; -import 'plugins/data'; import 'ui/listen'; import 'ui/visualize'; import 'ui/fixed_scroll'; @@ -70,6 +69,8 @@ import { getRootBreadcrumbs, getSavedSearchBreadcrumbs } from '../breadcrumbs'; import { buildVislibDimensions } from 'ui/visualize/loader/pipeline_helpers/build_pipeline'; import 'ui/capabilities/route_setup'; +// import { data } from 'plugins/data'; + const fetchStatuses = { UNINITIALIZED: 'uninitialized', LOADING: 'loading', diff --git a/src/legacy/core_plugins/kibana/public/visualize/editor/editor.js b/src/legacy/core_plugins/kibana/public/visualize/editor/editor.js index e0028b4dc7ee..3cc5cc6ed802 100644 --- a/src/legacy/core_plugins/kibana/public/visualize/editor/editor.js +++ b/src/legacy/core_plugins/kibana/public/visualize/editor/editor.js @@ -20,7 +20,6 @@ import _ from 'lodash'; import '../saved_visualizations/saved_visualizations'; import './visualization_editor'; -import 'plugins/data'; import 'ui/vis/editors/default/sidebar'; import 'ui/visualize'; import 'ui/collapsible_sidebar'; @@ -55,6 +54,8 @@ import { showSaveModal } from 'ui/saved_objects/show_saved_object_save_modal'; import { SavedObjectSaveModal } from 'ui/saved_objects/components/saved_object_save_modal'; import { getEditBreadcrumbs, getCreateBreadcrumbs } from '../breadcrumbs'; +// import 'plugins/data'; + uiRoutes .when(VisualizeConstants.CREATE_PATH, { template: editorTemplate,