jupyterlab-contrib / jupyterlab-unfold

An IDE-like file browser for JupyterLab
BSD 3-Clause "New" or "Revised" License
80 stars 14 forks source link

Arrow left to collapse, arrow right to expand #29

Open krassowski opened 2 years ago

krassowski commented 2 years ago

Is your feature request related to a problem? Please describe.

We can already expand (unfold) the navigation tree by pressing enter, but it is not obvious how to close (collapse, fold) it.

Describe the solution you'd like

I would like the tree to expand/collapse when pressing arrow right/left as in https://github.com/jupyterlab/jupyterlab/pull/11615

Describe alternatives you've considered

Backspace could work for collapsing too, but arrows seem more natural in the tree context.

Additional context