Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@johnnyblasta
Copy link
Collaborator

Closes #2216

@Grammostola
Copy link
Contributor

Nice. It seems to work well, which includes turning on all layers in the selected search hit (group) and not including the layers of any subgroup. And it finds subgroups too.

  • For exclusive the last (bottom) layer of the group is activated (maybe the top layer would be more intuitive but I don't have a real opinion here).
  • For toggleAll: false subgroups, it activates all their layers. Have no opinion here either since the toggleAll button is gone and maybe that is the specific point of toggleAll: false

@johnnyblasta
Copy link
Collaborator Author

Noticed that a layer which the user hasn't access to, keypad icon, is tried to be set to visible and therefore the icon is changed to selected icon. Which makes it visual confussing since it looks like the layer is visible, which it isn't since the backend hinders it.

Copy link
Contributor

@steff-o steff-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

One could argue that if the first layer in an exclusive group is secure, no layer in the group will be selected, but it seems strange to have an exclusive group where you have access to some layers but not all . But the expected behavior in such case is not obvious anyway and could very well be that no layer should be visible.

@steff-o steff-o added the PR approved To highlight approved PR:s as it is not shown in list which are approved. label Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR approved To highlight approved PR:s as it is not shown in list which are approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Legend search should include groups

4 participants