fit and finish for open dashboard dialog (#954)

This commit is contained in:
Abbie Petchtes
2018-03-21 21:44:21 -07:00
committed by Karl Burtram
parent 089577c5a8
commit f76e8ae2c5
2 changed files with 7 additions and 2 deletions

View File

@@ -14,6 +14,10 @@
display: flex; display: flex;
} }
.extension-view .header.collapsible.hide {
display: none;
}
.extension-view .header .title { .extension-view .header .title {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;

View File

@@ -124,7 +124,7 @@ export class NewDashboardTabDialog extends Modal {
@IContextKeyService contextKeyService: IContextKeyService @IContextKeyService contextKeyService: IContextKeyService
) { ) {
super( super(
localize('newDashboardTab.openInstalledFeatures', 'Open installed features'), localize('newDashboardTab.openDashboardExtensions', 'Open dashboard extensions'),
TelemetryKeys.AddNewDashboardTab, TelemetryKeys.AddNewDashboardTab,
partService, partService,
telemetryService, telemetryService,
@@ -162,7 +162,7 @@ export class NewDashboardTabDialog extends Modal {
this.createExtensionList(this._extensionViewContainer); this.createExtensionList(this._extensionViewContainer);
this._noExtensionViewContainer = DOM.$('.no-extension-view'); this._noExtensionViewContainer = DOM.$('.no-extension-view');
let noExtensionTitle = DOM.append(this._noExtensionViewContainer, DOM.$('.no-extensionTab-label')); let noExtensionTitle = DOM.append(this._noExtensionViewContainer, DOM.$('.no-extensionTab-label'));
let noExtensionLabel = localize('newdashboardTabDialog.noExtensionLabel', 'No available feature tabs. Install extensions from the Extension Manager to get additional features.'); let noExtensionLabel = localize('newdashboardTabDialog.noExtensionLabel', 'No dashboard extensions are installed at this time. Go to Extension Manager to explore recommended extensions.');
noExtensionTitle.innerHTML = noExtensionLabel; noExtensionTitle.innerHTML = noExtensionLabel;
DOM.append(container, this._noExtensionViewContainer); DOM.append(container, this._noExtensionViewContainer);
@@ -199,6 +199,7 @@ export class NewDashboardTabDialog extends Modal {
}); });
this._extensionTabView.render(container, Orientation.VERTICAL); this._extensionTabView.render(container, Orientation.VERTICAL);
this._extensionTabView.hideHeader();
this._register(attachListStyler(this._extensionList, this._themeService)); this._register(attachListStyler(this._extensionList, this._themeService));