-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Lens] Fixes the partition legend actions header format problem (#149114
) ## Summary Closes #149019 This PR fixes 2 bugs that are related. - The first one is unreleased and is described on the issue. It happens only if you try to open the legend actions with a partition chart with custom interval breakdown. The problem was that the title we were giving on the ContextMenu was not a string but an Object - The second one exists on 8.6 (haven't checked the prior versions) and has to do with the title of the legend action popover. It was not formatted correctly so you can see a title like that: <img width="658" alt="image" src="https://user-images.githubusercontent.com/17003240/213172686-b8f1a4d1-c245-4211-bc2e-534d7ed6b473.png"> or <img width="400" alt="image" src="https://user-images.githubusercontent.com/17003240/213172759-015998fc-38d1-46fd-a6f8-294ca113442a.png"> This PR fixes both problems: <img width="824" alt="image" src="https://user-images.githubusercontent.com/17003240/213172863-d088359e-89ab-4d7e-9bdd-5d9d8181e482.png"> ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
- Loading branch information
Showing
3 changed files
with
60 additions
and
17 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