Notebooks: re-factor grid streaming (#12937)

* refactor grid streaming (convert to data first)

* change convertRowsToHtml method to return value

* remove griddataconversioncomplete checks

* send row data from STS to gridoutput component

* clean up code

* send data updates to cell model

* serialize cell output at the end of cell execution

* remove unused parameters

* update output contents instead of output reference

* remove unnecessary promise

* move azdata changes to proposed

* update comment
This commit is contained in:
Lucy Zhang
2020-10-28 09:08:15 -07:00
committed by GitHub
parent 42e16b1752
commit 86357b45b0
18 changed files with 266 additions and 412 deletions

12
src/sql/azdata.d.ts vendored
View File

@@ -4701,9 +4701,11 @@ declare module 'azdata' {
export interface ICellOutput {
output_type: OutputTypeName;
metadata?: {
azdata_chartOptions?: any;
};
metadata?: ICellOutputMetadata;
}
export interface ICellOutputMetadata {
azdata_chartOptions?: any;
}
/**
@@ -4736,7 +4738,9 @@ declare module 'azdata' {
/**
* Optional metadata, also a mime bundle
*/
metadata?: {};
metadata?: {
resultSet?: ResultSetSummary;
};
}
export interface IDisplayData extends IDisplayResult {
output_type: 'display_data';