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

Lazy inspection #309

Conversation

martinRenou
Copy link
Member

Do not request anything from the kernel if the variable inspector is not currently open

This fixes performances issues, at least when the UI for the variable inspector is not open #307

cc. @achhina @trungleduc

@martinRenou martinRenou added the enhancement New feature or request label Aug 29, 2024
Copy link

Binder 👈 Launch a Binder on branch martinRenou/jupyterlab-variableInspector/disable_inspection_when_ui_not_open

src/index.ts Outdated Show resolved Hide resolved
@martinRenou
Copy link
Member Author

The visual regression tests seem to fail on main too, this #310 should fix it

Copy link
Collaborator

@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 @martinRenou - let's merge main/rebase to make sure if CI passes

Do not request anything from the kernel if the variable inspector is not
currently open
@martinRenou martinRenou force-pushed the disable_inspection_when_ui_not_open branch from aeaf5c5 to be01506 Compare August 30, 2024 10:34
@martinRenou martinRenou merged commit 8bc6e57 into jupyterlab-contrib:main Aug 30, 2024
6 checks passed
@martinRenou martinRenou deleted the disable_inspection_when_ui_not_open branch August 30, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants