jupyterlab-contrib / rise

RISE: "Live" Reveal.js JupyterLab Slideshow Extension
BSD 3-Clause "New" or "Revised" License
157 stars 16 forks source link

Update notebook synchronously as slides are edited #68

Open briank-git opened 5 months ago

briank-git commented 5 months ago

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