-
Notifications
You must be signed in to change notification settings - Fork 34
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
Tree widget: Hierarchical categories tree #1126
Comments
@laurynas111, could you please describe the hierarchy structure you'd like to see? Specifically, I'm interested in:
|
@laurynas111, as part of this change, we'll want to add icons to nodes, to make sure users can tell the difference between containers, categories and subcategories. Generally, we use icons from here: https://itwin.github.io/iTwinUI-icons/, and for |
I think we should be consistent with the Design Review. |
Design Review doesn't have icons in Categories tree, but that's not that big of a problem there, because it always shows Categories as root nodes and SubCategories as children. Now, we'll start seeing Categories mixed with DefinitionContainers at the same hierarchy level, at which point being able to distinguish them visually becomes much more important. @VeroniqueVezina, thoughts? |
At the moment the Categories tree component renders the categories as a flat list, and each category may have its SubCategories as children.
Some iTwin.js applications are starting to group Categories under
bis.DefinitionContainer
elements and would like to see that represented in the Categories tree. The exact structure is TBD.Things to take into account:
bis.Category
is only one of the subclasses. A container may contain other types as well, but we only want to show container that have categories. - needs to be confirmed - is this also the case for editing cases?The text was updated successfully, but these errors were encountered: