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

Configure Max Size for Dashboards API & Minor UI Changes #266

Conversation

davidcui1225
Copy link
Contributor

Issue #, if available:
#264
Description of changes:

  • Configured size of dashboard API to remove dashboard default limit of 10. Now it is set to DEFAULT_MAX_SIZE constant which is 10000.
  • Added external icon to cron help link in Report trigger
  • Removed extra EuiSpacer in Report settings to correct spacing
  • Updated snapshots

Screen Shot 2020-12-18 at 11 37 44 AM

Screen Shot 2020-12-18 at 11 52 07 AM

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

@@ -479,7 +479,7 @@ export function ReportTrigger(props: ReportTriggerProps) {
error={'Invalid cron expression.'}
labelAppend={
<EuiText size="xs">
<EuiLink href="https://opendistro.github.io/for-elasticsearch-docs/docs/alerting/cron/" target="_blank">
<EuiLink href="https://opendistro.github.io/for-elasticsearch-docs/docs/alerting/cron/" target="_blank" external={true}>
Copy link
Member

Choose a reason for hiding this comment

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

what does this addition attribute do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adds the external icon in the description screenshot

@codecov
Copy link

codecov bot commented Dec 18, 2020

Codecov Report

Merging #266 (00f2a97) into dev (c8b2dd0) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev     #266   +/-   ##
=======================================
  Coverage   74.87%   74.87%           
=======================================
  Files          32       32           
  Lines        1751     1751           
  Branches      341      341           
=======================================
  Hits         1311     1311           
  Misses        435      435           
  Partials        5        5           
Impacted Files Coverage Δ
...rt_definitions/report_settings/report_settings.tsx 74.59% <ø> (ø)
...port_definitions/report_trigger/report_trigger.tsx 73.07% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8b2dd0...00f2a97. Read the comment docs.

@davidcui1225 davidcui1225 merged commit e1fe9e2 into opendistro-for-elasticsearch:dev Dec 18, 2020
@davidcui1225 davidcui1225 deleted the dashboard-list-limit branch December 18, 2020 20:19
zhongnansu pushed a commit to zhongnansu/kibana-reports that referenced this pull request Dec 18, 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