From e755c437b5ff81bb7c9c1e3d9073d28084d41acf Mon Sep 17 00:00:00 2001 From: Zhongnan Su Date: Tue, 17 Nov 2020 17:13:18 -0800 Subject: [PATCH] disable notification feature from UI (#198) --- .../report_definition_details.test.tsx.snap | 222 ------------------ .../report_definition_details.tsx | 4 +- .../report_details.test.tsx.snap | 164 ------------- .../main/report_details/report_details.tsx | 4 +- .../__snapshots__/delivery.test.tsx.snap | 2 + .../report_definitions/delivery/delivery.tsx | 2 +- .../target/public/.kbn-optimizer-cache | 12 +- kibana-reports/target/public/1.plugin.js | 25 +- kibana-reports/target/public/1.plugin.js.map | 2 +- 9 files changed, 18 insertions(+), 419 deletions(-) diff --git a/kibana-reports/public/components/main/report_definition_details/__tests__/__snapshots__/report_definition_details.test.tsx.snap b/kibana-reports/public/components/main/report_definition_details/__tests__/__snapshots__/report_definition_details.test.tsx.snap index 4b8007fe..ca84b5ee 100644 --- a/kibana-reports/public/components/main/report_definition_details/__tests__/__snapshots__/report_definition_details.test.tsx.snap +++ b/kibana-reports/public/components/main/report_definition_details/__tests__/__snapshots__/report_definition_details.test.tsx.snap @@ -390,80 +390,6 @@ exports[` panel render 5 hours recurring definition d
-

- Notification settings -

-
-
-
-
-
- Email recipients -
-
-
-
-
-
-
- Email subject -
-
-
-
-
-
-
- Optional message -
-
-
-
-
-
-
-
-
-
-
panel render disabled daily definition, cli
-

- Notification settings -

-
-
-
-
-
- Email recipients -
-
-
-
-
-
-
- Email subject -
-
-
-
-
-
-
- Optional message -
-
-
-
-
-
-
-
-
-
-
panel render on demand definition details 1
-

- Notification settings -

-
-
-
-
-
- Email recipients -
-
-
-
-
-
-
- Email subject -
-
-
-
-
-
-
- Optional message -
-
-
-
-
-
-
-
-
-
-
{triggerSection} - + {/*

Notification settings

@@ -644,7 +644,7 @@ export function ReportDefinitionDetails(props) { )} /> - + */} panel render 5 hours recurring component 1`] = `
-

- Notification settings -

-
-
-
-
-
- Email recipient(s) -
-
- — -
-
-
-
-
-
- Email subject -
-
- — -
-
-
-
-
-
- Optional message -
-
-

- — -

-
-
-
-
-
-
-
-
-
-
panel render on-demand component 1`] = `
-

- Notification settings -

-
-
-
-
-
- Email recipient(s) -
-
- — -
-
-
-
-
-
- Email subject -
-
- — -
-
-
-
-
-
- Optional message -
-
-

- — -

-
-
-
-
-
-
-
-
-
-
- + {/*

Notification settings

@@ -371,7 +371,7 @@ export function ReportDetails(props) { )} /> - + */} panel render create component 1`] = `