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

DIsplay Select Kernel in kernel picker #137380

Merged
merged 1 commit into from
Nov 17, 2021

Conversation

DonJayamanne
Copy link
Contributor

No description provided.

@DonJayamanne DonJayamanne self-assigned this Nov 17, 2021
@DonJayamanne DonJayamanne force-pushed the kernelPickerFixesAgain branch 2 times, most recently from 91969e0 to 1f086dc Compare November 17, 2021 18:30
@@ -64,7 +64,7 @@ export class NotebooKernelActionViewItem extends ActionViewItem {
private _updateActionFromKernelInfo(info: INotebookKernelMatchResult): void {

this._action.enabled = true;
const selectedOrSuggested = info.selected ?? info.suggestions[0];
const selectedOrSuggested = info.selected ?? (info.all.length === 1 && info.suggestions.length === 1 ? info.suggestions[0] : undefined);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was missing, users would get prompted to select a kernel but kernel picker would not read Select Kernel without this change.

@DonJayamanne DonJayamanne merged commit 8cb22ea into microsoft:main Nov 17, 2021
@DonJayamanne DonJayamanne deleted the kernelPickerFixesAgain branch November 17, 2021 23:28
@github-actions github-actions bot locked and limited conversation to collaborators Jan 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants