-
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
TSVB needs to display better UX message when default index pattern is non-time based #124341
Conversation
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
@@ -34,7 +35,11 @@ export function getIntervalAndTimefield( | |||
} | |||
|
|||
if (panel.use_kibana_indexes) { | |||
validateField(timeField!, index); | |||
if (timeField) { |
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 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.
LGTM! Thank you
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
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.
Tested and works as expected, LGTM
… non-time based (elastic#124341) Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit c299aab)
… non-time based (#124341) (#124937) Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit c299aab) Co-authored-by: Kibana Machine <[email protected]>
👏 as a new TSVB user, I ran into this several times. |
Closes #123863
Summary
Display an error message in case the time field wasn't specified.
For maintainers