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

Fix reporting download button visibility issue for dashboard and visualization #294

Merged

Conversation

zhongnansu
Copy link
Member

Issue #, if available:
For creating a new dashboard or visualization, the reporting download button should be disabled. Currently it's enabled and of course it leads to error download report, becuase the saved object hasn't been created yet

Description of changes:
Somehow discover page doesn't have this issue, so I copied the logic of in-context menu from Discover to apply.
image

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

@codecov
Copy link

codecov bot commented Jan 8, 2021

Codecov Report

Merging #294 (8a7be38) into dev (1bf159c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev     #294   +/-   ##
=======================================
  Coverage   77.61%   77.61%           
=======================================
  Files          32       32           
  Lines        1800     1800           
  Branches      356      356           
=======================================
  Hits         1397     1397           
  Misses        398      398           
  Partials        5        5           

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 1bf159c...8a7be38. Read the comment docs.

Copy link
Contributor

@davidcui1225 davidcui1225 left a comment

Choose a reason for hiding this comment

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

LGTM- thanks for the fix

@anirudha anirudha merged commit a5edf89 into opendistro-for-elasticsearch:dev Jan 8, 2021
zhongnansu added a commit to zhongnansu/kibana-reports that referenced this pull request Jan 8, 2021
…alization (opendistro-for-elasticsearch#294)

* fix reporting download button visibility issue

* update height px

* update height px
zhongnansu added a commit that referenced this pull request Jan 8, 2021
…alization (#294)

* fix reporting download button visibility issue

* update height px

* update height px
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

4 participants