Adding Rendered Notebook Diff Option (#14860)

* First attempt nb diff preview

* First attempt nb diff preview

* Simplify everything

* Interim scroll one way

* Double scroll

* Add setting

* Add tests

* Add comment

* Fix tests

* first round PR comments

* Ensure scrollable portion has scrollbar in diff

* Fix sqllint errors, register events

* Fix scrolling, readonly
This commit is contained in:
Chris LaFreniere
2021-04-02 14:49:52 -07:00
committed by GitHub
parent e7be1daf5c
commit 0d3112ef35
9 changed files with 186 additions and 12 deletions

View File

@@ -434,7 +434,7 @@ export class NotebookModel extends Disposable implements INotebookModel {
});
}
// Only add new parameter cell if notebookUri Parameters are found
if (notebookUriParams) {
if (notebookUriParams && this.notebookUri?.scheme !== 'git') {
this.addUriParameterCell(notebookUriParams, hasParameterCell, parameterCellIndex, hasInjectedCell);
}
}