Skip to content

Commit

Permalink
[Visualizations] Enables multiple values filtering on tooltip actions (
Browse files Browse the repository at this point in the history
…#148372)

## Summary

Enables tooltip actions on:
- Lens embeddables (as soon as the unified search bar exists)
- Lens
- Agg based (as they share the same renderer with Lens)

I am not enabling this in TSVB.


![lens](https://user-images.githubusercontent.com/17003240/210559313-3c36dab0-771d-415a-b9cd-fa2a8d48579e.gif)

Also the action is not enabled for Lens if:
- there are only series with metrics

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [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

Co-authored-by: Marco Vettorello <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
  • Loading branch information
3 people authored Jan 25, 2023
1 parent f3741b7 commit 5ec4bde
Show file tree
Hide file tree
Showing 24 changed files with 802 additions and 156 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const cleanUpFilter = (filter: Filter) => {
export function buildCombinedFilter(
relation: BooleanRelation,
filters: Filter[],
indexPattern: DataViewBase,
indexPattern: Pick<DataViewBase, 'id'>,
disabled: FilterMeta['disabled'] = false,
negate: FilterMeta['negate'] = false,
alias?: FilterMeta['alias'],
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5ec4bde

Please sign in to comment.