Hi all,
I am reposting my question here from GitHub issues because I am not sure if this is a bug/regression or a feature request. To me it looks more like the former…
I have a JupyterHub plus JupyterLab installation using docker images based on the docker-stacks images.
I have a bunch of notebooks loaded in the image, the same image for all users, and I have an HTML page with an index of these notebooks with links to them in JupyterLab.
With JupyterLab 1.x I can open the first notebook clicking on the index page and having a second browser tab opening with the following URL:
https://<server:port>/<hub-location>/user/test/lab/tree/path/to/notebook1.ipynb
then I can open a second notebook in the same JL tab by clicking on a second link in the index page:
https://<server:port>/<hub-location>/user/test/lab/tree/path/to/notebook2.ipynb
wit the result of having 2 notebooks open in the same JL page and with notebook2.ipynb selected.
Both links will open in the same browser tab by setting the same target for all links in the index page.
I upgraded my images based on the latest docker-stacks jupyter/scipy-notebook image and with JupyterLab 3.0.14 the above behavior does not work.
I read the documentation about JupyterLab URLs and I tried to change the links adding the clone query string like this
https://<server:port>/<hub-location>/user/test/lab/tree/path/to/notebook2.ipynb?clone
but it does not work, instead I get JupyterLab reloaded with all tabs closed.
I then tried to use workspaces using the following 2 URLs but it does not work either:
https://<server:port>/<hub-location>/user/test/lab/workspaces/foo/tree/path/to/notebook1.ipynb
https://<server:port>/<hub-location>/user/test/lab/workspaces/foo/tree/path/to/notebook2.ipynb?clone=foo
To me this is a regression.
What am I missing here?
How can I get the same behavior I had with JupyterLab 1.x using the latest version?
Thank you,
Matteo