jupyterlab-contrib/rise

Update notebook synchronously as slides are edited

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.

It appears that the RISE app saves edits made in the slides to the notebook every 2 minutes.

[I 2024-01-10 17:46:03.366 ServerApp] Saving file at /slides/notebook.ipynb
[I 2024-01-10 17:48:03.486 ServerApp] Saving file at /slides/notebook.ipynb

As a result when a cell is edited on a slide, there is a 2 minute wait until those changes are saved to the notebook. Also when the changes are saved they do not show in the notebook until it's re-opened.

If you try to make a change to the notebook without re-opening, a prompt will show asking whether to revert to or overwrite the notebook on disk.

Describe the solution you'd like

Ideally with the notebook opened side-by-side with the slideshow, any new edits made on the slides would be mirrored in the notebook. This was the behaviour in the Jupyter notebook version of RISE.

Describe alternatives you've considered

I am able to force a save of any slide edits by using Ctrl+s or Cmd+s keyboard shortcuts, but still have to re-open the notebook to have those edits appear.

Additional context

jupyter_client                8.4.0
jupyter_core                  5.4.0
jupyter-events                0.8.0
jupyter-lsp                   2.2.0
jupyter-resource-usage        1.0.1
jupyter_server                2.8.0
jupyter-server-mathjax        0.2.6
jupyter_server_terminals      0.4.4
jupyter-telemetry             0.1.0
jupyterhub                    4.0.2
jupyterlab                    4.0.7
jupyterlab_git                0.50.0
jupyterlab-pygments           0.2.2
jupyterlab_rise               0.42.0
jupyterlab_server             2.25.0
  • Python package version:
jupyterlab_rise               0.42.0
  • Extension version:
JupyterLab v4.0.7
/opt/conda/share/jupyter/labextensions
        jupyterlab_pygments v0.2.2 enabled  X (python, jupyterlab_pygments)
        jupyterlab-rise v0.42.0 enabled OK (python, jupyterlab_rise)
        nbdime-jupyterlab v3.0.1 enabled OK
        @jupyter-notebook/lab-extension v7.0.6 enabled OK
        @jupyterlab/git v0.50.0 enabled OK (python, jupyterlab-git)
        @jupyter-server/resource-usage v1.0.1 enabled OK (python, jupyter-resource-usage)
  • Operating System and its version: Ubuntu 22.04