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 outputarea package from not detecting updates #15642
Fix outputarea package from not detecting updates #15642
Conversation
Thanks for making a pull request to jupyterlab! |
Thanks for submitting your first pull request! You are awesome! 🤗 |
Thank you for working on it! Would you be able to take a look at the unit tests (for example in https://github.com/jupyterlab/jupyterlab/blob/main/packages/outputarea/test/ but possible in other packages too) to see if we a test ensuring correct behaviour could be added easily? |
@krassowski looks like the test runs on a different environment than the browser, I can't seem to replicate the original bug. Currently investigating. In the mean time, could you rerun the UI test action again for this PR? Seems that it ran into some of the test errors that you ran here, wanted to know if it's because of this change or just flaky tests. Thanks! |
Thank you!
Yes, these were just flaky tests. |
@krassowski A few changes:
Here's the output from the pre-fixed outputarea.
And here with the update:
Hopefully this is good enough to include in the next release. Thanks! |
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.
Thank you @MFA-X-AI!
As discussed on today's JupyterLab call, I will merge it and release in 4.1.0b1. It looks like it could be backported to 4.0.x - I will open a backport but wait with merging until we hear more feedback from testing of the new beta. Thanks again!
@meeseeksdev please backport to 4.0.x |
…#15652) Co-authored-by: Muhammad Fahreza Alghifari <fahreza@xpress.ai>
References
#15633 #15004
Changes introduced in #14911
Code changes
The code updates the renderer retrieval in the OutputArea widget by directly accessing the renderer from the layout.widgets array.
User-facing changes
Output panels are still able to display plots as raised in #14564 (comment) while still able to detect ongoing output streams.
fixed.output.mp4
Backwards-incompatible changes
None