-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Duration Formatting for TSVB #13337
Conversation
Fixes #12718 |
There was a problem hiding this 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() { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
* Adding duration formatter * Adding decimal places * Fixing bug with decimals * Relaxing the duration format test
* Adding duration formatter * Adding decimal places * Fixing bug with decimals * Relaxing the duration format test
This PR adds duration formatting to TSVB