-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shows wrong URL when using retrolab #25
Comments
I think jupyterlab-link-share/src/index.ts Line 61 in 761fec7
|
I think on retrolab, it should also give you a link that opens the exact same view the user has right now. |
Looking at https://github.com/jupyterlab/jupyterlab/blob/ee1436736daf6f856d99ab125cc2b83592f6d196/packages/coreutils/src/pageconfig.ts#L142, it primarily hnadles single document mode vs lab, and different workspaces. I think we'll just need to implement this separately for retro, and just use the current URL + token. |
Right I think a custom plugin for retro will be needed, and can be implemented in this link share extension. |
- Provides direct link to notebook / directory the user is currently viewing - Adds a JS dpeendency on @retrolab/application - I *think* this is the right way to detect if we are in retrolab? Alternatively we could check for app.name or similar. I'm hopefull this does not actually increase the built size of the extension too much? Fixes jupyterlab-contrib#25
- Provides direct link to notebook / directory the user is currently viewing - Adds a JS dpeendency on @retrolab/application - I *think* this is the right way to detect if we are in retrolab? Alternatively we could check for app.name or similar. I'm hopefull this does not actually increase the built size of the extension too much? Fixes jupyterlab-contrib#25
Description
When I access the dialog from retrolab, I expect the link it gives me to also point to retrolab. Instead, it points to regular lab: http://localhost:8000/user/test/lab?token=5be7a94945cf47fb92e8598d5abe7387
Reproduce
Context
This is running in latest released retrolab and current master (+ #24) of this repo.
The text was updated successfully, but these errors were encountered: