Notebook views UI 2 (#15865)

Provide access to the Notebook Views UI. Feature is hidden behind a feature flag.

Co-authored-by: rkselfhost <rkselfhost@outlook.com>
This commit is contained in:
Daniel Grajeda
2021-08-17 15:15:28 -06:00
committed by GitHub
parent 82576e54a4
commit 640c6f30f4
29 changed files with 989 additions and 140 deletions

View File

@@ -37,6 +37,8 @@ import { NotebookViewComponent } from 'sql/workbench/contrib/notebook/browser/no
import { NotebookViewsCodeCellComponent } from 'sql/workbench/contrib/notebook/browser/notebookViews/notebookViewsCodeCell.component';
import { NotebookViewsCardComponent } from 'sql/workbench/contrib/notebook/browser/notebookViews/notebookViewsCard.component';
import { NotebookViewsGridComponent } from 'sql/workbench/contrib/notebook/browser/notebookViews/notebookViewsGrid.component';
import { TextCellComponent } from 'sql/workbench/contrib/notebook/browser/cellViews/textCell.component';
import { NotebookViewsModalComponent } from 'sql/workbench/contrib/notebook/browser/notebookViews/notebookViewsModal.component';
const outputComponentRegistry = Registry.as<ICellComponentRegistry>(OutputComponentExtensions.CellComponentContributions);
@@ -53,6 +55,7 @@ export const NotebookModule = (params, selector: string, instantiationService: I
LoadingSpinner,
CodeComponent,
CodeCellComponent,
TextCellComponent,
CellToolbarComponent,
MarkdownToolbarComponent,
PlaceholderCellComponent,
@@ -62,6 +65,7 @@ export const NotebookModule = (params, selector: string, instantiationService: I
NotebookViewsCardComponent,
NotebookViewsGridComponent,
NotebookViewsCodeCellComponent,
NotebookViewsModalComponent,
ComponentHostDirective,
OutputAreaComponent,
OutputComponent,
@@ -71,8 +75,9 @@ export const NotebookModule = (params, selector: string, instantiationService: I
...outputComponents
],
entryComponents: [
NotebookComponent,
NotebookEditorComponent,
TextCellComponent,
NotebookViewsCardComponent,
...outputComponents
],
imports: [