You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The label in kernel selection dialog is more useful, explaining what "preference" means; maybe it should not say "preferred kernel" but "selected kernel". Maybe it should not say "Always" but "for the duration of this session" (in my understanding the setting is persisted forever, but the "preference" is not)
The setting description should explain the behaviour in more detail
Context
JupyterLab version: 4.2.0
The text was updated successfully, but these errors were encountered:
…g from "preferred" to "selected", and from "always" to "from the duration of this session". Chages can be seen when clicking on the Kernel tab, then selecting "Change Kernel...".
Description
the code name uses "default" but the user-facing strings say "preferred"
it is not explained anywhere what "preferred" means:
jupyterlab/packages/notebook-extension/schema/tracker.json
Lines 696 to 700 in 44b82c8
jupyterlab/packages/apputils/src/sessioncontext.tsx
Lines 1357 to 1363 in 44b82c8
the preference seems to refer to "default" designation in
IKernelSearch.options.preference
which isISessionContext.IKernelPreference
jupyterlab/packages/apputils/src/sessioncontext.tsx
Lines 1504 to 1557 in 44b82c8
the
kernelPreference
seems to be an in-memory variable:jupyterlab/packages/apputils/src/sessioncontext.tsx
Line 348 in 44b82c8
jupyterlab/packages/apputils/src/sessioncontext.tsx
Lines 463 to 476 in 44b82c8
only
autoStartDefaultKernel
but not the id of the default/preferred kernel gets stored in settingsjupyterlab/packages/notebook-extension/src/index.ts
Lines 1655 to 1693 in 44b82c8
Expected behavior
Context
The text was updated successfully, but these errors were encountered: