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

[Bug fix] in-context menu download UI #219

Merged
merged 2 commits into from
Nov 25, 2020

Conversation

zhongnansu
Copy link
Member

Issue #, if available:

  1. If user adds some filters to dashboard, then save dashboard, then download report from there. It will fail. But visualization doesn't have the same issue.
  2. report failed for certain type of visualization. The one I tried is TVSB

Description of changes:

  1. refactor the url processing logic
  2. replace with a more generic selector for visualization page

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

@zhongnansu zhongnansu changed the title in-context menu download UI bug fix [Bug fix] in-context menu download UI Nov 25, 2020
url.lastIndexOf('time:'),
url.lastIndexOf('))')
let [, fromDateString, toDateString] = url.match(
/time:\(from:(.+),to:(.+?)\)/
Copy link
Contributor

Choose a reason for hiding this comment

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

+1

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice, forgot to make this change in context menu too 👍

@zhongnansu zhongnansu marked this pull request as ready for review November 25, 2020 04:15
@zhongnansu zhongnansu merged commit 41acf8a into opendistro-for-elasticsearch:dev Nov 25, 2020
zhongnansu added a commit to zhongnansu/kibana-reports that referenced this pull request Dec 4, 2020
zhongnansu added a commit to zhongnansu/kibana-reports that referenced this pull request Dec 7, 2020
zhongnansu added a commit to zhongnansu/kibana-reports that referenced this pull request Dec 8, 2020
zhongnansu added a commit to zhongnansu/kibana-reports that referenced this pull request Dec 8, 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.

4 participants