Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duration Formatting for TSVB #13337

Merged
merged 6 commits into from
Aug 18, 2017
Merged

Conversation

simianhacker
Copy link
Member

This PR adds duration formatting to TSVB

image

@simianhacker simianhacker added Feature:TSVB TSVB (Time Series Visual Builder) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) labels Aug 4, 2017
@simianhacker
Copy link
Member Author

Fixes #12718

Copy link
Contributor

@thomasneirynck thomasneirynck left a comment

Choose a reason for hiding this comment

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

see initial comment here. only thing so far that jumped out.

});
};
}

render() {
Copy link
Contributor

Choose a reason for hiding this comment

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

there's somewhat of a weird issue where the duration option becomes unavailable.

Steps:

  • just use default chart (default Count metric)
  • in options, select the duration Data Formatter
  • change some settings (e.g format from weeks to milliseconds)
  • remove the decimal places entry so the textbox is empty -> the form bounces back to the custom data formatter.
  • try and go back to the Duration Formatter -> it won't let you, always bouncing back to the default custom data formatter

Copy link
Member Author

Choose a reason for hiding this comment

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

I think I addressed this with relaxing the duration format test.

@thomasneirynck thomasneirynck self-requested a review August 10, 2017 19:12
@simianhacker simianhacker merged commit 7fb2d7f into elastic:master Aug 18, 2017
simianhacker added a commit that referenced this pull request Aug 18, 2017
* Adding duration formatter

* Adding decimal places

* Fixing bug with decimals

* Relaxing the duration format test
simianhacker added a commit that referenced this pull request Aug 18, 2017
* Adding duration formatter

* Adding decimal places

* Fixing bug with decimals

* Relaxing the duration format test
@simianhacker
Copy link
Member Author

Back ported to 6.0 with e589ad4
Back ported to 6.x with e99ebe3

@simianhacker simianhacker deleted the tsvb-duration branch April 17, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:TSVB TSVB (Time Series Visual Builder) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) review v6.0.0-rc1 v6.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants