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

Fix running kernels listing for kernels without icons #15735

Merged
merged 1 commit into from
Feb 3, 2024

Conversation

paolocarinci
Copy link
Contributor

References

Issue #14962

Code changes

This patch prevents a crash in running kernels panel jupyterlab component (packages/running) in case of use of kernels that do not provide an icon (like "all the kernels" kernel).

User-facing changes

Kernels tha do not provide an icon should be visible as text only.

Backwards-incompatible changes

None

Copy link

Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link: Binder

Copy link

welcome bot commented Feb 2, 2024

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@krassowski krassowski added this to the 4.0.x milestone Feb 3, 2024
@krassowski krassowski added the bug label Feb 3, 2024
@krassowski krassowski changed the title Fix running kernels icons issue #14962 Fix running kernels listing for kernels without icons Feb 3, 2024
@krassowski krassowski linked an issue Feb 3, 2024 that may be closed by this pull request
Copy link
Member

@krassowski krassowski left a comment

Choose a reason for hiding this comment

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

Thank you @paolocarinci, this looks good to me.

Normally we would want to add a test for the bug being addressed, but since running packages does not have tests set up that would be a big ask for a first PR. However, if you are interested let me know and I can guide you how to add tests (potentially in a follow-up PR).

@krassowski krassowski merged commit 2aff9e3 into jupyterlab:main Feb 3, 2024
81 of 82 checks passed
Copy link

welcome bot commented Feb 3, 2024

Congrats on your first merged pull request in this project! 🎉
congrats
Thank you for contributing, we are very proud of you! ❤️

@krassowski
Copy link
Member

@meeseeksdev please backport to 4.0.x

meeseeksmachine pushed a commit to meeseeksmachine/jupyterlab that referenced this pull request Feb 3, 2024
krassowski pushed a commit that referenced this pull request Feb 3, 2024
…cons (#15737)

Co-authored-by: paolocarinci <99129760+paolocarinci@users.noreply.github.com>
@paolocarinci
Copy link
Contributor Author

paolocarinci commented Feb 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running kernels not listed in the "Kernels" panel
2 participants