Content
View differences
Updated by Henriette Darge 27 days ago
# **Acceptance criteria**
* The `Primer::OpenProject::FilterableTreeView` Primer::OpenProject::FilterableTreeView should be extended for this to support async loading and filtering
* When filtering:
* all search results are shown, with their complete (parent) hierarchy being expanded
* When removing the filter:
* The previous collapsed/expand state is restored remembered
* The previous selection is restored remembered (multi selection mode)
* Mutli mutli selection mode:
* With include sub-items checked: when selecting a parent node, it activates **all children** not only the currently visible ones.
* The search bar is moved to the first position, then the segmented control, then the checkbox
**Project selector**
* The global project selector can expand/collapse hierarchy nodes
* Per defaullt, all nodes are collapsed
# **Technical notes**
* The limit for the project selector remains
# **Out of scope**
* Remembering what was collapsed and what was expanded after page reload
* The `Primer::OpenProject::FilterableTreeView`
* When filtering:
* all search results are shown, with their complete (parent) hierarchy being expanded
* When removing the filter:
* The previous collapsed/expand state is restored
* The previous selection is restored
* Mutli
* With include sub-items checked: when selecting a parent node, it activates **all children** not only the currently visible ones.
* The search bar is moved to the first position, then the segmented control, then the checkbox
**Project selector**
* The global project selector can expand/collapse hierarchy nodes
* Per defaullt, all nodes are collapsed
# **Technical notes**
* The limit for the project selector remains
# **Out of scope**
* Remembering what was collapsed and what was expanded after page reload