-
Notifications
You must be signed in to change notification settings - Fork 299
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
Add "More Info" option to ipykernel installer prompt + wiki link to provide more info #10845
Conversation
|
||
// Link to our wiki page on jupyter kernels + ipykernel | ||
// https://github.com/microsoft/vscode-jupyter/wiki/Jupyter-Kernels-and-the-Jupyter-Extension#python-extension-and-ipykernel | ||
this.appShell.openUrl('https://aka.ms/AAhi594'); |
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.
Links to the ipykernel subsection here:
https://github.com/microsoft/vscode-jupyter/wiki/Jupyter-Kernels-and-the-Jupyter-Extension#python-extension-and-ipykernel
this.appShell.openUrl('https://aka.ms/AAhi594'); | ||
} | ||
// "More Info" isn't a full valid response here, so reprompt after showing it | ||
} while (selection === moreInfoOption); |
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.
Loop here felt a bit funky, but I don't believe there is a way to keep open a modal dialog and provide the button selection. Returning back a KernelDependencyResponse of "moreInfo" didn't seem right, so just ask again until we get a valid response (cancel, install, selectKernel).
Codecov Report
@@ Coverage Diff @@
## main #10845 +/- ##
======================================
Coverage 63% 63%
======================================
Files 481 482 +1
Lines 33625 33695 +70
Branches 5487 5502 +15
======================================
+ Hits 21285 21362 +77
- Misses 10292 10293 +1
+ Partials 2048 2040 -8
|
Fixes #10658
package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed).