jupyterlab-contrib/jupyterlab-unfold

Improve integration with jupyter-git extension

Opened this issue · 3 comments

ebw44 commented

jupyterlab 3.2.1
jupyterlab-git 0.33.0
jupyterlab-server 1.2.0
jupyterlab-unfold 0.1.6

It seems that this great extension is not fully compatible with another great extension jupyter-git.
jupyter-git requires the user to select an "active folder" in the FileBrowser that is a git repository. But jupyterlab-unfold doesn't allow to change the "active folder".
One solution is to start jupyter lab in a git repository but it prevent browsing files outside of that repository.
It would be great if the "active folder" could be changed by a double-click or a right click.

ebw44 commented

I'm not sure how to remove the "bug" label from this issue, but it is definitively not a bug.
Also there is a mention of that problem in jupyter-git. So feel free to close this one if you believe the way to go is the PR in jupyter-git

Hi all,

I just came across this extension, which I consider a really good idea.
It was a cold shower noticing the issue with jupyter-git...

I might be wrong, but I am not sure if the problem is in jupyter-git.
Personally, I would expect the "base path" to be the most downstream directory selected by the user.

What do you say? Is there any suggestion from your side to get past the problem?
Thanks!

Thanks both for reaching out. I think the best path forward is to allow the jupyterlab git extension to handle is own active folder. If you want to contribute, I can help you rebooting that PR.