Skip to content
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

[Lens] Disable the click event for metrics that use the count() #153621

Closed
stratoula opened this issue Mar 24, 2023 · 1 comment · Fixed by #154212
Closed

[Lens] Disable the click event for metrics that use the count() #153621

stratoula opened this issue Mar 24, 2023 · 1 comment · Fixed by #154212
Assignees
Labels
enhancement New value added to drive a business result Feature:Lens impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects

Comments

@stratoula
Copy link
Contributor

Describe the feature:
In the new metric you can create a field: exists filter when you click the chart as long as the metric is using a field. In the case of count() there is no field so no filter is generated. In this scenario we would like to not be clickable

lens

@stratoula stratoula added enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Mar 24, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

@kibanamachine kibanamachine added this to Long-term goals in Lens Mar 24, 2023
@stratoula stratoula self-assigned this Apr 3, 2023
stratoula added a commit that referenced this issue Apr 3, 2023
## Summary

Closes #153621

In case metric is not filterable the cursor should not indicate that it
is.

![1](https://user-images.githubusercontent.com/17003240/229454467-32247bc7-e38f-4486-9dc1-833238c226b0.gif)

### 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Lens impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
No open projects
Lens
  
Long-term goals
Development

Successfully merging a pull request may close this issue.

2 participants