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

fixed multiple problems with the notebook output rendering #13239

Merged
merged 3 commits into from
Jan 18, 2024

Conversation

jonah-iden
Copy link
Contributor

What it does

fixes #13223

This fixes a few issues with the notebook output rendering and the associated webview.
Also improves performance a bit because the webview is reused when the cell is executed again.

How to test

Create a new notebook or take an existing one. Just try to execute some cells.

Also see #13223 for specific test code. This should now be rendered correctly without extra outputs.

Follow-ups

Review checklist

Reminder for reviewers

…ssociated webview

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
@bvenreply
Copy link
Contributor

I tested the new code, the issue I reported is fixed. Thank you @jonah-iden.

@msujew msujew added the notebook issues related to notebooks label Jan 9, 2024
@JonasHelming JonasHelming requested a review from msujew January 10, 2024 08:25
Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

Great change. I have a suggestion for the promise handling in the renderer, but otherwise this looks pretty good.

Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@msujew msujew merged commit 8659f9f into master Jan 18, 2024
14 checks passed
@msujew msujew deleted the jiden/fix-notebook-output-rendering branch January 18, 2024 15:36
@github-actions github-actions bot added this to the 1.46.0 milestone Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notebook issues related to notebooks
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Notebooks: extra rendering of images
3 participants