Skip to content

Commit

Permalink
[New Platform Migration]: Management - Implement NP API
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed May 15, 2020
1 parent 4deb1b2 commit 353708f
Show file tree
Hide file tree
Showing 40 changed files with 574 additions and 1,863 deletions.
17 changes: 2 additions & 15 deletions src/legacy/core_plugins/kibana/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ import { exportApi } from './server/routes/api/export';
import { getUiSettingDefaults } from './server/ui_setting_defaults';
import { registerCspCollector } from './server/lib/csp_usage_collector';
import { injectVars } from './inject_vars';
import { i18n } from '@kbn/i18n';
import { DEFAULT_APP_CATEGORIES } from '../../../../src/core/server';

import { kbnBaseUrl } from '../../../plugins/kibana_legacy/server';

const mkdirAsync = promisify(Fs.mkdir);
Expand Down Expand Up @@ -59,19 +58,7 @@ export default function(kibana) {
main: 'plugins/kibana/kibana',
},
styleSheetPaths: resolve(__dirname, 'public/index.scss'),
links: [
{
id: 'kibana:stack_management',
title: i18n.translate('kbn.managementTitle', {
defaultMessage: 'Stack Management',
}),
order: 9003,
url: `${kbnBaseUrl}#/management`,
euiIconType: 'managementApp',
linkToLastSubUrl: false,
category: DEFAULT_APP_CATEGORIES.management,
},
],
links: [],

injectDefaultVars(server, options) {
const mapConfig = server.config().get('map');
Expand Down
83 changes: 0 additions & 83 deletions src/legacy/core_plugins/kibana/public/.eslintrc.js

This file was deleted.

Empty file.
2 changes: 1 addition & 1 deletion src/legacy/core_plugins/kibana/public/kibana.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import 'uiExports/shareContextMenuExtensions';
import 'uiExports/interpreter';

import 'ui/autoload/all';
import './management';

import { localApplicationService } from './local_application_service';

npSetup.plugins.kibanaLegacy.registerLegacyAppAlias('doc', 'discover', { keepPrefix: true });
Expand Down

This file was deleted.

4 changes: 0 additions & 4 deletions src/legacy/core_plugins/kibana/public/management/app.html

This file was deleted.

166 changes: 0 additions & 166 deletions src/legacy/core_plugins/kibana/public/management/index.js

This file was deleted.

4 changes: 1 addition & 3 deletions src/legacy/core_plugins/kibana/public/management/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
// mgtChart__legend--small
// mgtChart__legend-isLoading

@import 'hacks';

// Core
@import 'management_app';
@import '../../../../../plugins/advanced_settings/public/index';

@import 'sections/index_patterns/index';
3 changes: 0 additions & 3 deletions src/legacy/core_plugins/kibana/public/management/landing.html

This file was deleted.

Loading

0 comments on commit 353708f

Please sign in to comment.