-
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] fix wrong labels, for values that are implicitly cast to false #103631
Conversation
Pinging @elastic/kibana-app (Team:KibanaApp) |
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.
@alexwizp thanx a ton for the finding and the quick fix. Code LGTM, I tested it locally and the regression is gone.
Feel free to merge in case of green ci
💚 Build Succeeded
Metrics [docs]Async chunks
To update your PR or re-run it, just comment with: cc @alexwizp |
…elastic#103631) * [TSVB] fix wrong labels, for values that are implicitly cast to false * getMeaningfulValueOrEmpty -> getValueOrEmpty * fix CI
…elastic#103631) * [TSVB] fix wrong labels, for values that are implicitly cast to false * getMeaningfulValueOrEmpty -> getValueOrEmpty * fix CI # Conflicts: # src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_vars.js # src/plugins/vis_type_timeseries/public/application/components/vis_with_splits.js # src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/index.js
…#103631) (#103689) * [TSVB] fix wrong labels, for values that are implicitly cast to false * getMeaningfulValueOrEmpty -> getValueOrEmpty * fix CI # Conflicts: # src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_vars.js # src/plugins/vis_type_timeseries/public/application/components/vis_with_splits.js # src/plugins/vis_type_timeseries/public/application/visualizations/views/timeseries/index.js
Regression of: #91838
Summary
The aforementioned PR resulted in a regression in showing a values that could be implicitly casted to
false
. As a result instead of0
andfalse
user see(empty)
which is not correctSteps to reproduce:
kibana_sample_data_ecommerce
indexTop N
tabActual result:
Expected result:
Instead of
(empty)
it should be0
Additional information:
The same valid for
Boolean
fields