resource deployment extension (#5464)

* initial checkin

* exclude from default ads package

* keep extensions.js in sync

* address review feedback

* PR comments
This commit is contained in:
Alan Ren
2019-05-13 22:38:59 -07:00
committed by GitHub
parent 99d00e2057
commit b1b58f2550
28 changed files with 1011 additions and 16 deletions

View File

@@ -69,7 +69,7 @@ export class MainThreadModelViewDialog implements MainThreadModelViewDialogShape
public $openDialog(handle: number, dialogName?: string): Thenable<void> {
let dialog = this.getDialog(handle);
dialogName ? this._dialogService.showDialog(dialog, dialogName) : this._dialogService.showDialog(dialog);
this._dialogService.showDialog(dialog, dialogName, { hasBackButton: false, isWide: dialog.isWide, hasErrors: true });
return Promise.resolve();
}
@@ -93,6 +93,7 @@ export class MainThreadModelViewDialog implements MainThreadModelViewDialogShape
}
dialog.title = details.title;
dialog.isWide = details.isWide;
if (details.content && typeof details.content !== 'string') {
dialog.content = details.content.map(tabHandle => this.getTab(tabHandle));
} else {