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

When switching visibility of a nested layer in the sidebar to visible, ensure all the ancestor nodes are also visible #37

Open
mz8i opened this issue Nov 24, 2023 · 0 comments

Comments

@mz8i
Copy link
Contributor

mz8i commented Nov 24, 2023

In the hierarchical layer selection sidebar, it is possible to turn on the visibility of a nested section, such as Vulnerability > People > Human Development - while some of the ancestor nodes (Vulnerability or Poeple in this case) are not visible. This would mean that Human Development is effectively still not visible if any of the ancestor nodes is set to not visible.

Upon such an action, the app should recursively ensure that all the ancestor nodes of the layer are also switched to visible - otherwise, this leads to a confusing situation where the user wants to see a layer but can miss the fact that ancestors are hidden, and cannot understand why they're not seeing anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant