From 72705e2dfcad760c5de7609891700aa11d767884 Mon Sep 17 00:00:00 2001 From: David Cui <53581635+davidcui-amzn@users.noreply.github.com> Date: Thu, 8 Jul 2021 12:56:46 -0700 Subject: [PATCH] Exclude time range from report details for Notebooks (#117) * exclude time range check for notebooks reports Signed-off-by: David Cui * use report source identifier over url partial match Signed-off-by: David Cui * add report details fix to release notes Signed-off-by: David Cui * add more bug fixes to release notes Signed-off-by: David Cui --- .../public/components/main/report_details/report_details.tsx | 2 +- .../opensearch-dashboards-reports.release-notes-1.0.0.0.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dashboards-reports/public/components/main/report_details/report_details.tsx b/dashboards-reports/public/components/main/report_details/report_details.tsx index e79988a3..8f46940e 100644 --- a/dashboards-reports/public/components/main/report_details/report_details.tsx +++ b/dashboards-reports/public/components/main/report_details/report_details.tsx @@ -211,7 +211,7 @@ export function ReportDetails(props) { source: reportParams.report_source, // TODO: we have all data needed, time_from, time_to, time_duration, // think of a way to better display - time_period: parseTimePeriod(queryUrl), + time_period: (reportParams.report_source !== 'Notebook') ? parseTimePeriod(queryUrl) : '', defaultFileFormat: coreParams.report_format, state: state, reportHeader: diff --git a/release-notes/opensearch-dashboards-reports.release-notes-1.0.0.0.md b/release-notes/opensearch-dashboards-reports.release-notes-1.0.0.0.md index 0e97519d..6a3d8d82 100644 --- a/release-notes/opensearch-dashboards-reports.release-notes-1.0.0.0.md +++ b/release-notes/opensearch-dashboards-reports.release-notes-1.0.0.0.md @@ -26,6 +26,9 @@ Compatible with OpenSearch 1.0.0 * Better support sorting for csv report based on saved search ([#86](https://github.com/opensearch-project/dashboards-reports/pull/86)) * bump dependency version ([#101](https://github.com/opensearch-project/dashboards-reports/pull/101)) * fix failed cypress integ-testing ([#106](https://github.com/opensearch-project/dashboards-reports/pull/106)) +* Fix notebooks context menu ([#109](https://github.com/opensearch-project/dashboards-reports/pull/109)) +* Update context menu download request body after schema change ([#115](https://github.com/opensearch-project/dashboards-reports/pull/115)) +* Exclude time range from report details for Notebooks ([#117](https://github.com/opensearch-project/dashboards-reports/pull/117)) ### Infrastructure