iTwin / itwinjs-core

Monorepo for iTwin.js Library
https://www.itwinjs.org
MIT License
617 stars 210 forks source link

[ModelsTree]: Investigate category node visibility change handling #4006

Closed saskliutas closed 2 years ago

saskliutas commented 2 years ago

Need to investigate category node visibility handling. There might be situations where element nodes shown in deeper hierarchy levels under some category node are from the different categories. In this case changing category node visibility does not affect those elements.

saskliutas commented 2 years ago

It should be possible to find different categories of the child elements and change visibility, but this won't solve the problem because that would affect visibility of the child elements that are nested under another parent node. That would also cause visibility change of the sibling categories in the categories hierarchy level.

Proper solution required refactor of the ModelsTree. Closing this issue in favor of iTwin/itwinjs-backlog#123