-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Compress notebook output streams before rendering #160667
Compress notebook output streams before rendering #160667
Conversation
2e48126
to
8b907e5
Compare
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.
LGTM in overall, changes are made in right places and look great. Only two questions before we have it merged.
src/vs/workbench/contrib/notebook/browser/view/renderers/stdOutErrorPreProcessor.ts
Show resolved
Hide resolved
c400e4a
to
77a6d7a
Compare
|
||
// Remove the previous line if required. | ||
const command = stream.subarray(0, MOVE_CURSOR_1_LINE_COMMAND.length); | ||
if (command[0] === MOVE_CURSOR_1_LINE_COMMAND_BYTES[0] && command[1] === MOVE_CURSOR_1_LINE_COMMAND_BYTES[0] && command[2] === MOVE_CURSOR_1_LINE_COMMAND_BYTES[0]) { |
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.
👏
e28d0f2
to
1fd5437
Compare
extensions/ipynb/src/serializers.ts
Outdated
@@ -4,9 +4,11 @@ | |||
*--------------------------------------------------------------------------------------------*/ | |||
|
|||
import type * as nbformat from '@jupyterlab/nbformat'; | |||
import { TextDecoder } from 'util'; |
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.
I think we don't need this import, not sure if having it explicit would break the browser build.
This reverts commit 4230c22.
This reverts commit 4230c22.
This reverts commit 4230c22.
This reverts commit 4230c22.
This reverts commit 4230c22.
This reverts commit 4230c22.
This reverts commit 4230c22.
Fixes microsoft/vscode-jupyter#11031
Corresponding PR in Jupyter is here microsoft/vscode-jupyter#11350