andi-nl / ANDI-frontend

Advanced Neuropsychological Diagnostics Infrastructure frontend
1 stars 4 forks source link

Search field tree expansion #24

Closed anandgavai closed 8 years ago

anandgavai commented 8 years ago

On clicking on the search field the tree should be expanded automatically.

mkuzak commented 8 years ago

Can you explain why should the tree expand after clicking on the search field?

JAvRZ commented 8 years ago

I think the issue was that if you type in a (partial) name of a variable in the search field, this matches leaf nodes, while you only see root nodes if you did not expand yet. So I think the goal was to see the leaf nodes that you matched (so auto-expand the tree if need be).

mkuzak commented 8 years ago

This sometimes works and sometimes not.

mkuzak commented 8 years ago

We need more testing on that, because it seams to be quite hard to reproduce.

mkuzak commented 8 years ago

This seems to be working now.