jupyter_app_launcher icon indicating copy to clipboard operation
jupyter_app_launcher copied to clipboard

Feature Request: Ensure Voila Render Copies Notebook to Current Working Directory

Open RDWimmers opened this issue 5 months ago • 0 comments

Description: When using the "Open a predefined notebook" option, a copy of the notebook is created in the current working directory (cwd). However, when using the "Open a notebook with Voila" option, no new file is created. Instead, the working directory is changed to the location of the template, which is inconsistent with the behavior of the predefined notebook option.

Desired Behavior: I would like the behavior of the "Open a notebook with Voila" option to be consistent with the "Open a predefined notebook" option. Specifically, when a user opens a notebook with Voila, a copy of the template should be created in the cwd. The Voila rendering should use this copied notebook, ensuring that the cwd remains unchanged.

Current Behavior: "Open a predefined notebook" creates a copy of the notebook in the CWD, maintaining the CWD as expected. "Open a notebook with Voila" renders the template without creating a copy and changes the working directory to the location of the template.

This feature would enhance the usability of Voila when used with predefined notebooks and reduce confusion around changing working directories.

Thank you for considering this feature request and thank you for this package - it makes JupyterLab even more accessible to less experienced users.

I'm happy to create a PR and implement this feature if you agree with the request.

RDWimmers avatar Sep 18 '24 07:09 RDWimmers