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

Notebook model ready sooner (#10420) #10441

Merged
merged 1 commit into from
May 15, 2020
Merged

Notebook model ready sooner (#10420) #10441

merged 1 commit into from
May 15, 2020

Conversation

chlafreniere
Copy link
Contributor

Ports #10416 to release.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 33.69% when pulling 4dbc376 on port/10420 into 0918d93 on release/1.18.

Copy link
Member

@kburtram kburtram 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. @chlafreniere please let me know if you hit any issues porting your fix.

@@ -42,6 +42,7 @@ export class NotebookEditorModel extends EditorModel {
private _notebookTextFileModel: NotebookTextFileModel;
private readonly _onDidChangeDirty: Emitter<void> = this._register(new Emitter<void>());
private _lastEditFullReplacement: boolean;
private _isFirstKernelChange: boolean = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

For future I would put this behind a guard so it can't be set to true after it's set to false as a defensive measure.

@chlafreniere chlafreniere merged commit 3857f11 into release/1.18 May 15, 2020
@chlafreniere chlafreniere deleted the port/10420 branch May 15, 2020 20: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.

4 participants