-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Lens] Legend Statistics feature (#182357)
## Summary Fixes #183887 <img width="959" alt="Screenshot 2024-06-09 at 21 11 33" src="https://github.com/elastic/kibana/assets/4283304/950a92cb-a70a-4413-9358-f4a8a5b7da5d"> <img width="513" alt="Screenshot 2024-06-09 at 21 11 38" src="https://github.com/elastic/kibana/assets/4283304/36d8fe9d-fa40-4721-ac24-db0599076b9c"> - [x] popover width = 500 px - [x] new combobox legend values component added - [x] switch show value removed - [x] location and alignment is in a single for row - [x] auto legend width option to allow users to have the legend automatically size based its contents - not there yet - [x] no limit imposed of the number of values - [x] when a value is selected, list or table appears - [x] when the list is selected, label truncations is not offered and legend items should be forced to have truncation on and clamped to a single line. - [x] adds telemetry too - adds events on save if the legend statistics change: `lens_legend_stats`- triggered if any stats is in legend `lens_legend_stats_${TYPE}` - triggered for specific types, if user has 2 statistics (eg. AVG and MIN) two events are triggered. and counting how many they use `lens_legend_stats_amount_1` `lens_legend_stats_amount_2` `lens_legend_stats_amount_3` `lens_legend_stats_amount_4_7` `lens_legend_stats_amount_above_8` --------- Co-authored-by: Nick Partridge <[email protected]> Co-authored-by: Marco Vettorello <[email protected]>
- Loading branch information
1 parent
57891ff
commit 2f4997c
Showing
46 changed files
with
953 additions
and
347 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.