-
Notifications
You must be signed in to change notification settings - Fork 5k
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
File > Shutdown
in classic notebook ask if I want to shutdow JupyterLab
#7188
Comments
Thanks @Carreau for reporting. Is this with Notebook 6.5? |
Hello, I am new to open source contributions, and this will be my first attempt at one for Jupyter Notebook. Would this be a good issue to start with? Additionally, any guidance on how to approach this problem would be very much appreciated. |
I'm not a JupyterLab dev but I would try to:
Report your findings like: 'It looks like there are 5 places in src/blah/index.ts that needs "JupyterLab" to become a variable. I don't know how to pass the variable with the name into this, but it look like we have access to the "Config" variable, maybe that can hold the name of the current application'. Then we can iterate on what to do. |
Looks like this could be fixed upstream in JupyterLab. The message is currently defined here: return showDialog({
title: trans.__('Shutdown confirmation'),
body: trans.__('Please confirm you want to shut down JupyterLab.'),
buttons: [
Dialog.cancelButton(),
Dialog.warnButton({ label: trans.__('Shut Down') })
]
}) So instead of having "JupyterLab" hardcoded, maybe it could use |
Quite possible, I saw that a |
Notebook defines its name here: notebook/packages/application/src/app.ts Line 63 in f6a56f5
So @sawickid would you like to try opening a PR on the JupyterLab repo? https://github.com/jupyterlab/jupyterlab |
Absolutely, I'll do that ASAP. Thank you! |
Sidenote, there are a few other places that could be audited for review as to wheter "JupyterLab" should be hardcoded:
|
Super tiny issue, not important, but in notebook vs, when in a notebook if I go to "File" -> "Shut Down" is asks "Please confirm you want to shut down JupyterLab."
The text was updated successfully, but these errors were encountered: