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] Add an option to hide a layer or a dimension #134315

Open
Tracked by #57706
stratoula opened this issue Jun 14, 2022 · 3 comments
Open
Tracked by #57706

[Lens] Add an option to hide a layer or a dimension #134315

stratoula opened this issue Jun 14, 2022 · 3 comments
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

Comments

@stratoula
Copy link
Contributor

stratoula commented Jun 14, 2022

Describe the feature:
I think that hiding a lens layer or a dimension can be quite handy in Lens.

Imagine that you have added a breakdown dimension in Lens and you have changed the configuration (non default size for terms, non default palette, format etc) and you want to experiment with another breakdown for example but without losing your current work. It would be super useful to be able to hide this dimension, experiment with another and decide if you want to keep them both or only one of them. I imagine a hide icon next to the delete dimension icon.

This can be also useful when we enable the color by terms. The users do not want to lose their work, they might want to hide the dimension for a while to explore their aggregations/data and make decisions.
image

Another useful usage is to hide an entire layer. This is also supported on TSVB and I find it very useful. The users might want to configure multiple layers but to enable only some of them but without losing the other ones.
I imagine a hide icon next to the delete layer one
image

This is also relevant with this #130580. As a user I want to be able to hide the annotations/reference lines that are relevant to a layer.

@stratoula stratoula added enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Jun 14, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@mbondyra mbondyra self-assigned this Jul 1, 2022
@mbondyra mbondyra removed their assignment Sep 20, 2022
@stratoula stratoula added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label Jan 4, 2023
@dej611
Copy link
Contributor

dej611 commented Apr 4, 2023

Follow up from #151749 (comment)

Layer panel design:

Screenshot 2023-04-04 at 11 21 56

Layer settings panel design:

Screenshot 2023-04-04 at 11 22 29

@drewdaemon
Copy link
Contributor

Two thoughts

Ambiguous meaning of "hidden"

The idea of hidden dimensions and hidden layers as expressed here is the inverse of the current hidden layers construct.

Here, we're talking about hiding the portions of the visualization that correspond to a particular dimension or layer. The current hidden layer concept (used for metric trendlines) does the opposite: hides the layer UI but keeps the portion of the visualization in the workspace visible.

Overlap with #144906

The purposes of these two issues are different, but the immediate outcome (removing portions of the Lens config before rendering) and the technical implementation could be identical.

Basically #144906 could become a request to "auto-hide" invalid portions of the Lens config.

@stratoula stratoula added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. and removed impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. labels Apr 13, 2023
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
None yet
Development

No branches or pull requests

5 participants