-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
valuesInLegend:true
as legendStats:['value']
in prepa…
…ration for legend statistics (elastic#181953) ## Summary To the code owners, This PR updates the saved object of Lens with the following changes: the property `valuesInLegend: boolean` is converted to the new property `legendStats: ["currentAndLastValue"]` (cartesian) or `legendStats: ["value"]`(partition) to accommodate displaying additional legend statistics in the future. There are no user-facing changes introduced. I have updated all saved object shapes in the code to adhere to the new structure. While the old structure will continue to function properly, this update ensures cleaner code. Fixes elastic#181035 (phase 2). It's is a continuation of elastic#180917. In comparison to the phase 1, we've removed the conversion of legendStats to valuesInLegend which was initially added in the previous PR to ensure backward compatibility for serverless applications. <img width="807" alt="Screenshot 2024-04-25 at 10 51 50" src="https://github.com/elastic/kibana/assets/4283304/6c23d035-f64d-4fb1-96c6-d30392ae6752"> I won't merge till the end of the week as it has to be released separately from phase 1. --------- Co-authored-by: Cauê Marcondes <[email protected]> Co-authored-by: Alex Szabo <[email protected]>
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.