Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Remove reporting plugin page from kibana nav #302

Merged
merged 4 commits into from
Jan 15, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions kibana-reports/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,28 @@ export class OpendistroKibanaReportsPlugin
> {
public setup(core: CoreSetup): OpendistroKibanaReportsPluginSetup {
// Register an application into the side navigation menu
core.application.register({
id: PLUGIN_NAME,
title: 'Reporting',
category: {
id: 'odfe',
label: 'Open Distro for Elasticsearch',
order: 2000,
},
order: 2000,
async mount(params: AppMountParameters) {
// Load application bundle
const { renderApp } = await import('./application');
// Get start services as specified in kibana.json
const [coreStart, depsStart] = await core.getStartServices();
// Render the application
return renderApp(
coreStart,
depsStart as AppPluginStartDependencies,
params
);
},
});
// core.application.register({
// id: PLUGIN_NAME,
// title: 'Reporting',
// category: {
// id: 'odfe',
// label: 'Open Distro for Elasticsearch',
// order: 2000,
// },
// order: 2000,
// async mount(params: AppMountParameters) {
// // Load application bundle
// const { renderApp } = await import('./application');
// // Get start services as specified in kibana.json
// const [coreStart, depsStart] = await core.getStartServices();
// // Render the application
// return renderApp(
// coreStart,
// depsStart as AppPluginStartDependencies,
// params
// );
// },
// });

// Return methods that should be available to other plugins
return {};
Expand Down
320 changes: 131 additions & 189 deletions kibana-reports/target/public/.kbn-optimizer-cache

Large diffs are not rendered by default.

7,598 changes: 0 additions & 7,598 deletions kibana-reports/target/public/0.plugin.js

This file was deleted.

1 change: 0 additions & 1 deletion kibana-reports/target/public/0.plugin.js.map

This file was deleted.

4,301 changes: 0 additions & 4,301 deletions kibana-reports/target/public/1.plugin.js

This file was deleted.

1 change: 0 additions & 1 deletion kibana-reports/target/public/1.plugin.js.map

This file was deleted.

20,376 changes: 10,079 additions & 10,297 deletions kibana-reports/target/public/opendistro_kibana_reports.plugin.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.