-
-
Notifications
You must be signed in to change notification settings - Fork 415
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
Very early Jupyterlab extension prototype #381
base: master
Are you sure you want to change the base?
Conversation
…_rise extension plus a helper npm package
Looking forward to get RISE in jupyterlab ! |
@parmentelat @athornton, please let me know if you are playing with this... Next week, I will probably spend some time on the extension since I will be colocated with Jupyter/JupyterLab devs at the annual team meeting which I hope help leverage and accelerate the ongoing thing 😉 |
Hello Damian; nope, I have not had the time to look into this any deeper so far, sorry |
I am not going to get to it before next week; I've been pulled sideways to work on horizontal scalability of some of our components and haven't had time to do much upstream work. |
I don't know what's wrong with me today, but this again should not have been closed, re-opening |
Thank you for you effort guys! I am looking forwards to seeing this implemented. CheersThank you for you effort guys! I am looking forwards to seeing this implemented. Cheers |
Starting to poke at it a little today. I'm also on the hook to support a workshop we're hosting, so I don't know how much time I will really have today and tomorrow, but just wanted to say that I've at least got a story to work on it in my project cycle that starts tomorrow. |
…ction only considering slides-type cells
…to jupyterlab_extension
@athornton @parmentelat I have made a commit cleaning all the historical comments and pushing a little |
Awesome! Thank you. I will try to play some this weekend before getting sucked into setting up for the LSST Europe conference next week. |
Hi, first of all, congrats on this, I find the prospect of using Jupyter-lab for blended presentations with code and content exciting! I was wondering if you have an idea, when do you expect to have a minimum stable version (or should I stick to jupyter for now)? I plan to use it in my course, i think it would it really help students understand things better. Best, |
I would expect to have some minimal stable version by August, meaning main functionality but without all the niceties of the current RISE implementation. |
Does this truly require jupyterlab < 0.17? |
I have it working with jupyterlab 0.32.1 |
https://github.com/lsst-sqre/RISE has a version that builds against 0.34 but it is untested. Feel free to grab it though. |
@athornton: is your patch just a matter of doing this on an existing rise-5.4.2 ?
|
Jupyterlab-1.0 is coming (apparently in october). Is there an alternative in Jupyterlab, if this is not available ? |
Strongly looking forward to the extension supporting jupyterlab XD |
Strongly looking forward to having time to work on this 😉 |
Hi! I tried today (windows 10, jupyter-lab 0.35.3), followed the instructions for installing in a dev environment (conda). I had to change the dependencies settings in the json file to allow for jupyter-lab > 0.16.2 (see below). "dependencies": {
"@jupyterlab/application": ">=0.16.2",
"@jupyterlab/notebook": ">=0.16.2",
"reveal.js": "^3.6.0",
"reveal_rise": "^1.0.0"
}, The install went smoothly (no error at least). However the button for RISE lost its content and is almost invisible. Looking at the HTML code for the button, I got: <button class="myButton jp-ToolbarButtonComponent" title="RISE me"></button> It seems that the icon is missing. However (bis), nothing happens when I click on the button Any idea what is happening? |
Almost the entire PyHEP conference was given as notebook talks; but mostly just scrolling JupyterLab pages. It would be fantastic if RISE would come back for JupyterLab! |
…d reveal.js under node_modules
Hey @damianavila many thanks for taking the time to clean all that up; I just gave that a try running jupyter lab on our so I understand this is a rough sketch; plus, this is my first time ever, so I may be misusing something; but could you please write in (even short) words what is expected to work or not at this point ? thanks again ! |
This is a rough sketch... working with some local notebook without any subslides... let me just push that notebook in the lab directory as well... Currently exploring several ideas before going straight with the porting... |
I was able to do some work on packaging some other jupyterlab extensions recently so once we have this enough OK for a MVP, I want to ship it to get early feedback and keep iterating... Btw, I just pushed the notebook I am using now for testing purposes... |
@damianavila I just bought you a star on ko-fi. Looking forward to this feature! |
OK, finding interesting issues/problems along the way... you can see this video where I described what I have written below + showing some real stuff you may find interesting (spoiler: dual-mode). The multiple tabs experience JupyterLab provides is actually bringing us some issues at the time to use I currently foresee two main alternatives:
I will keep researching and trying stuff... this is actually fun 😉 Btw, pushing again as soon as I have something others can successfully try... |
JupyterLab 3.0, which was released just before Christmas, has an improved extension mechanism (so I read). With JL 3.0 it is possible to distribute extensions separately (so-called prebuilt extensions) and to install them (e.g. through Will that make things easier for providing RISE to JupyterLab users? I am eagerly looking forward to using RISE under JL. It is the last missing feature that blocks the transition from Classic to JL in my teaching. |
Note that simple mode in 3.0 also looks to be potentially useful, as it simplifies the structure quite a bit, dropping the multiple tabs. |
It will make things easy at the time to deliver the RISE experience because we should be able to have just ONE package to install classic RISE AND jupyterlab RISE at the same time... |
cc'ing from #270
|
Consider using ipyslides with full control over how content is displayed, no need of metadata editing. Although there are limitations as author (myself) is not a frontend expert. It is based on ipywidgets mechanism, so you can live display content like |
5e2531e
to
6d81041
Compare
Hey folks, particularly @parmentelat and @athornton who were interested in this issue, this is what I have today... in fact is something I did several months ago and I did not have time to continue working on it. But, it will give you ideas about how to port RISE to a jupyterlab extension.
I tested this with the latest jupyterlab and it seems to work OK.
Some things I would like to highlight:
Open with...
option (right click over the notebook file) and something at the menu level is better... in that way, we should only migrate the parts that convert from the notebook view into the slideshow view. The steps going from the slide to the notebook view, it does not make sense in anOpen with...
scenario, I think.I have already pushed the helper into the npm site, but I wanted to give you some context about it.
Finally, if we can work together on this, I believe we can have a better prototype, much closer to RISE in a few weeks. Let's see how it goes!
Let me know if you have questions or any other things to discuss...