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
feat(notebook): start jupyterlab servers from any branch and commit #472
Conversation
d5b35d7
to
c5aafd9
Compare
Currently, the |
c5aafd9
to
c14f384
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a few very minor changes.
First of all -- this is a great feature! I'm looking forward to making use of it! I should have tested it earlier, and I'm sorry these comments are coming so late.
On Safari, I see the followings in the console when I try to click on the settings popup:
This does not appear in Chrome. |
was there an autosave branch? That functionality may not take starting from arbitrary branches/commits into account properly. |
No, it was on master. I tried again with the latest version of the notebook component (renku/renku-notebooks:0.4.0-9d1a78b), but I still end up at the latest commit, even if I ask for an earlier one. |
yes, you started from master but was there an autosave branch present? |
Yes, there was an autosave branch. |
a2cdc1a
to
334f850
Compare
I updated the preview in https://lorenzotest.dev.renku.ch/
P.S. At the moment there is a limitation: if a notebook server starts for the combination |
@lorenzo-cavazzi the autosave problem that @ciyer encountered is a bug - the script that recovers from the autosave I believe only checks that it was made for the branch but not also for the commit. So if you have an autosave branch for Still, we should probably ask the user what they want to do with the autosave data... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The auto select of branch and commit works very nicely!
If the problems with the settings popup have their source in a reactstrap bug, then let us wait for that to get fixed there. No need to add extra code to solve a problem that will get fixed at the source, since it is more an annoyance than a blocker.
334f850
to
b7a403d
Compare
Add the possibility to start a Jupyterlab server form any branch and commit
If the server is already running, the user can connect directly from the launch page.
A preview is available here: https://lorenzotest.dev.renku.ch/
It already includes full URL paths from this PR: SwissDataScienceCenter/renku-notebooks#181
closes #416
addresses SwissDataScienceCenter/renku#437