-
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
Restore close and shutdown confirmation dialog #7430
base: main
Are you sure you want to change the base?
Conversation
// Shut the kernel down, without confirmation | ||
await commands.execute('notebook:shutdown-kernel', { activate: false }); | ||
window.close(); | ||
const confirm = window.confirm( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sai-chand04 for working on this.
As discussed in #7398, the idea was to introduce a setting to let users override the default behavior. Which does not seem to be the case here for now.
@sai-chand04 just checking if you are still interested in finishing the PR? Otherwise it's fine, we can try to pick it up from there and add the handling of the settings. Thanks for working on this! |
issue: #7398
This pull request restore the close and shutdown confirmation dialog.