right now, a user need to be on a collapsible node to collapse it with a left arrow press.
If a user is on an already collapsed node or on a node that doesn't support collapsing (a file node), we should instead collapse the parent of where the user is at.
|parent
- child1
- >child2
- child3
user is on child 2, pressing left arrow should collapse parent (instead of trying to collapse child2 as it currently does)
right now, a user need to be on a collapsible node to collapse it with a left arrow press.
If a user is on an already collapsed node or on a node that doesn't support collapsing (a file node), we should instead collapse the parent of where the user is at.
user is on child 2, pressing left arrow should collapse parent (instead of trying to collapse child2 as it currently does)