Skip to content
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

Route to create notebook from template #83

Open
zac-yang opened this issue May 20, 2020 · 2 comments
Open

Route to create notebook from template #83

zac-yang opened this issue May 20, 2020 · 2 comments
Labels
tag: question Questions about use, potential features, or improvements type: feature Feature requests

Comments

@zac-yang
Copy link

Hi @timkpaine, we've been using the extension recently and loving it! Thanks for all the work creating this.
I'm wondering how feasible it would be to add a new route to the server extension that would create a new notebook from an existing template, and open it in JupyterLab?
The use case here would be an external page/web app that wants to get a user into JupyterLab with the templated notebook in one click, without requiring the user to click through the Launcher & modal, as is the case currently.

@vidartf
Copy link
Contributor

vidartf commented May 21, 2020

If you/we were to add code to the JS lab plugin to parse a query argument, you could make urls like http://<your_domain_here>/lab/?create_from_template=templatepath.ipynb&reset do what you want I think. I.e. changes to the server extension might not be needed.

@zac-yang
Copy link
Author

Thanks @vidartf for the input! (I was just pondering the server extension side as I saw existing routes there. Also as I'm far more familiar in python than javascript :))

@timkpaine timkpaine added type: feature Feature requests tag: question Questions about use, potential features, or improvements and removed feature labels Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: question Questions about use, potential features, or improvements type: feature Feature requests
Projects
None yet
Development

No branches or pull requests

3 participants