From d37105ada2d01bd3b250edf5a1d3cb3392780b8b Mon Sep 17 00:00:00 2001 From: Cory Rivera Date: Tue, 8 Oct 2019 17:39:21 -0700 Subject: [PATCH] Don't expand notebook cells after being run, and don't hide outputs when cell is collapsed. (#7585) --- .../parts/notebook/browser/cellViews/codeCell.component.html | 2 +- src/sql/workbench/parts/notebook/browser/models/cell.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/sql/workbench/parts/notebook/browser/cellViews/codeCell.component.html b/src/sql/workbench/parts/notebook/browser/cellViews/codeCell.component.html index f6a716b678..f182e9875b 100644 --- a/src/sql/workbench/parts/notebook/browser/cellViews/codeCell.component.html +++ b/src/sql/workbench/parts/notebook/browser/cellViews/codeCell.component.html @@ -9,7 +9,7 @@
- +
diff --git a/src/sql/workbench/parts/notebook/browser/models/cell.ts b/src/sql/workbench/parts/notebook/browser/models/cell.ts index 44e9781e97..3270f4df24 100644 --- a/src/sql/workbench/parts/notebook/browser/models/cell.ts +++ b/src/sql/workbench/parts/notebook/browser/models/cell.ts @@ -295,9 +295,6 @@ export class CellModel implements ICellModel { this.notebookModel.updateActiveCell(this); this.active = true; } - if (this.isCollapsed) { - this.isCollapsed = false; - } if (connectionManagementService) { this._connectionManagementService = connectionManagementService;