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

Check the command is registered before calling notifyCommandChanged() #16273

Merged
merged 1 commit into from
May 6, 2024

Conversation

jtpio
Copy link
Member

@jtpio jtpio commented May 1, 2024

References

#16113.

Code changes

Implement the suggestion from @krassowski in #16138 (comment).

Still not sure it's the "right" fix, but maybe it can already help limit the amount of errors seen in the dev tools console when using Notebook 7.

User-facing changes

This should help fix the following errors showing up in the dev tools console when using Notebook 7:

image

image

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

@jtpio jtpio added the bug label May 1, 2024
@jtpio jtpio added this to the 4.2.0 milestone May 1, 2024
@jtpio jtpio marked this pull request as ready for review May 1, 2024 21:24
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!

@krassowski krassowski merged commit e5d41c8 into jupyterlab:main May 6, 2024
81 of 83 checks passed
@jtpio jtpio deleted the fix-notify branch May 6, 2024 09:17
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.

None yet

2 participants