Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] [Reporting] Wholesale moves client to newest-platform (#58945) #60437

Merged
merged 2 commits into from
Mar 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import { connect } from 'react-redux';
import { compose, withProps } from 'recompose';
import * as jobCompletionNotifications from '../../../../../reporting/public/lib/job_completion_notifications';
import { jobCompletionNotifications } from '../../../../../../../plugins/reporting/public';
// @ts-ignore Untyped local
import { getWorkpad, getPages } from '../../../state/selectors/workpad';
// @ts-ignore Untyped local
Expand Down
16 changes: 1 addition & 15 deletions x-pack/legacy/plugins/reporting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { resolve } from 'path';
import { PLUGIN_ID, UI_SETTINGS_CUSTOM_PDF_LOGO } from './common/constants';
import { config as reportingConfig } from './config';
import { legacyInit } from './server/legacy';
import { ReportingConfigOptions, ReportingPluginSpecOptions } from './types';
import { ReportingPluginSpecOptions } from './types';

const kbToBase64Length = (kb: number) => {
return Math.floor((kb * 1024 * 8) / 6);
Expand All @@ -25,20 +25,6 @@ export const reporting = (kibana: any) => {
config: reportingConfig,

uiExports: {
shareContextMenuExtensions: [
'plugins/reporting/share_context_menu/register_csv_reporting',
'plugins/reporting/share_context_menu/register_reporting',
],
embeddableActions: ['plugins/reporting/panel_actions/get_csv_panel_action'],
home: ['plugins/reporting/register_feature'],
managementSections: ['plugins/reporting/views/management'],
injectDefaultVars(server: Legacy.Server, options?: ReportingConfigOptions) {
const config = server.config();
return {
reportingPollConfig: options ? options.poll : {},
enablePanelActionDownload: config.get('xpack.reporting.csv.enablePanelActionDownload'),
};
},
uiSettingDefaults: {
[UI_SETTINGS_CUSTOM_PDF_LOGO]: {
name: i18n.translate('xpack.reporting.pdfFooterImageLabel', {
Expand Down

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions x-pack/legacy/plugins/reporting/public/constants/job_statuses.tsx

This file was deleted.

23 changes: 0 additions & 23 deletions x-pack/legacy/plugins/reporting/public/lib/download_report.ts

This file was deleted.

89 changes: 0 additions & 89 deletions x-pack/legacy/plugins/reporting/public/lib/job_queue_client.ts

This file was deleted.

37 changes: 0 additions & 37 deletions x-pack/legacy/plugins/reporting/public/lib/reporting_client.ts

This file was deleted.

27 changes: 0 additions & 27 deletions x-pack/legacy/plugins/reporting/public/register_feature.ts

This file was deleted.

This file was deleted.

This file was deleted.

59 changes: 0 additions & 59 deletions x-pack/legacy/plugins/reporting/public/views/management/jobs.js

This file was deleted.

Loading