Open datadavev opened 2 years ago
The UI seems to be similar to us, and it also supports hierarchical display by the expanding the arrows. The maximum depth is not that deep to compared to ours, and instead of instantly showing the result of display there is an "apply" button to use after finalizing the search conditions. https://member-frost-com.ezproxy3.library.arizona.edu/landing/home
This taxonomy database uses a tree to display the hierarchical structure of the terms. It first shows the whole tree. When you click the specific label it shows the tree expands and shows the subcategories. When you click the number of samples, it means you selected that term. It updates the term as selected and shows only the subtree of selection.
In the case we have a deep level of hierarchy, I think it might be helpful to also allow the user to select the rank level that they want to view. This allows this by the "expand ranks to show" and "hide ranks above" option.
This is kind of similar to the second example. It uses a tree to display the hierarchical relationship. I find it more easier to navigate as you can expand / collapse using the (+/-). When you are in the deepest level this icon disappears.
This allows the user to select the category and based on that it updates the drop down list options. The UI would be more simple, but if the hierarchy is not that deep than we would be unused components.
@hyunssong How many levels do you think we will have? We might adjust the pane width because of the deeper levels and term names.
@qgan7125 Yes, it seems that we might need to adjust the width. I checked SESAR and OPENCONTEXT, and it seems that the maximum depth is 5.
This is another way, where it just shows the subcategories under the selected category as a list. You can navigate to the parent category by clicking the hierarchy link that is located at the top of the page, which will refresh the page and show the new list of categories.
https://github.com/isamplesorg/solr-faceted-search-react/blob/develop/src/components/list-facet/index.js This is the file that we might overwrite to add the hierarchical structure.
https://reactjsexample.com/a-simple-and-configurable-tree-view-control-for-react/ Do you think this library is good? This is a very simple react library.
https://mui.com/material-ui/react-tree-view/ Material UI provides more features.
a-simple-and-configurable-tree-view-control-for-react
is a bit too simple.
react-tree-view
is much nicer for user experience. I find the keyboard support to be very useful.
This issue is for capturing notes, screenshots, and so forth for designing the UI components for taxonomy navigation.
The basic requirements of the UI component include:
Add examples, including links, brief description and observation, and screen shots by responding to this issue below.