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

Bug Fixes in UI #241

Conversation

davidcui1225
Copy link
Contributor

Issue #, if available:
N/A
Description of changes:
Addressed low severity bug fixes.

  • Report details and Report definition details display a dash line for header and footer like all other blank fields instead of showing nothing
  • In-context menu text was changed to be more extensible for all report sources
  • Cron help link in Report trigger opens in a new tab

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -336,10 +336,10 @@ export function ReportDefinitionDetails(props) {
// TODO: need better display
timePeriod: moment.duration(timeDuration).humanize(),
fileFormat: reportFormat,
reportHeader: reportParams.core_params.hasOwnProperty('header')
reportHeader: reportParams.core_params.hasOwnProperty('header') && reportParams.core_params.header != ""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a note it's better to use !== in general so no implicit conversion is done, although in this case it doesn't seem to matter

@davidcui1225 davidcui1225 merged commit 6a9f1b7 into opendistro-for-elasticsearch:dev Dec 3, 2020
@davidcui1225 davidcui1225 deleted the low-sev-bug-fixes branch December 3, 2020 20:20
zhongnansu pushed a commit to zhongnansu/kibana-reports that referenced this pull request Dec 4, 2020
zhongnansu pushed a commit to zhongnansu/kibana-reports that referenced this pull request Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants