Skip to content

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

@mz8i

Description

@mz8i

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions