waltz
waltz copied to clipboard
Measurables: optimise search for large trees
Description
In measurable-tree
(used by measurable-category-list
) there is a bit of code which filters the hierarchy based on user input (vm.searchTermsChanged
) . If the search returns lots of hits the tree control attempts to redraw with the relevant paths open.
This kills the browser if there are too many 'hits'.
This issue should investigate using a notification back to the user (toaster or inline message) warning them that their search is too vague and needs refinement.
Resourcing
We intend to contribute this feature
Places needing fixing:
- [x] Measurable Category homepage
- [x] Measurable Category edit page
- [ ] Measurable rating editor
- [ ] Spindle (Entity Relationship Editor)