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
Warning message when restarting Kernel #8021
Comments
We've talked about following the common pattern of a checkbox that says "Don't show me this warning again" on such dialog boxes. CC @tgeorgeux |
Of note, the dialogs now support chekboxes (https://jupyterlab.readthedocs.io/en/stable/extension/ui_helpers.html) and "Do not ask me again" is implemented for prompt for renaming file on save and closing files without saving: jupyterlab/packages/docmanager-extension/src/index.tsx Lines 905 to 942 in 82051a9
jupyterlab/packages/docmanager/src/widgetmanager.ts Lines 414 to 435 in 82051a9
And kernel selection dialog has "Always start the preferred kernel": jupyterlab/packages/apputils/src/sessioncontext.tsx Lines 1350 to 1378 in 82051a9
|
Select 'Kernel'
Choose either:
Result:
Expected result:
Do not show the warning message.
I find that restarting the Kernel (and rerunning all code), is a frequent action when working with a notebook. After iterating back and forth, you want to restart with a clean slate once in a while.
As it's a frequent and common action, it believe this does not really require a warning message.
Furthermore, restarting the Kernel is not a destructive action. All code is preserved, and can be recreated by a simple rerun.
There is also the 'checkpoints' feature, if you want to revisit older code and/or results.
Can this be disabled in settings? (i've not found any option so far)
How do others feel about disabling this message by default?
The text was updated successfully, but these errors were encountered: