mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
better loading message (#8448)
This commit is contained in:
@@ -34,7 +34,10 @@ export class DeploymentProfilePage extends WizardPageBase<DeployClusterWizard> {
|
|||||||
}).component();
|
}).component();
|
||||||
const container = createFlexContainer(view, [this._cardContainer, hintText], false);
|
const container = createFlexContainer(view, [this._cardContainer, hintText], false);
|
||||||
this._loadingComponent = view.modelBuilder.loadingComponent().withItem(container).withProperties<azdata.LoadingComponentProperties>({
|
this._loadingComponent = view.modelBuilder.loadingComponent().withItem(container).withProperties<azdata.LoadingComponentProperties>({
|
||||||
loading: true
|
loading: true,
|
||||||
|
loadingText: localize('deployCluster.loadingProfiles', "Loading deployment profiles"),
|
||||||
|
loadingCompletedText: localize('deployCluster.loadingProfilesCompleted', "Loading deployment profiles completed"),
|
||||||
|
showText: true
|
||||||
}).component();
|
}).component();
|
||||||
let formBuilder = view.modelBuilder.formContainer().withFormItems(
|
let formBuilder = view.modelBuilder.formContainer().withFormItems(
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -98,7 +98,11 @@ export class ResourceTypePickerDialog extends DialogBase {
|
|||||||
|
|
||||||
const toolsTableWrapper = view.modelBuilder.divContainer().withLayout({ width: tableWidth }).component();
|
const toolsTableWrapper = view.modelBuilder.divContainer().withLayout({ width: tableWidth }).component();
|
||||||
toolsTableWrapper.addItem(this._toolsTable, { CSSStyles: { 'border-left': '1px solid silver', 'border-top': '1px solid silver' } });
|
toolsTableWrapper.addItem(this._toolsTable, { CSSStyles: { 'border-left': '1px solid silver', 'border-top': '1px solid silver' } });
|
||||||
this._toolsLoadingComponent = view.modelBuilder.loadingComponent().withItem(toolsTableWrapper).component();
|
this._toolsLoadingComponent = view.modelBuilder.loadingComponent().withItem(toolsTableWrapper).withProperties<azdata.LoadingComponentProperties>({
|
||||||
|
loadingCompletedText: localize('deploymentDialog.loadingRequiredToolsCompleted', "Loading required tools information completed"),
|
||||||
|
loadingText: localize('deploymentDialog.loadingRequiredTools', "Loading required tools information"),
|
||||||
|
showText: true
|
||||||
|
}).component();
|
||||||
const formBuilder = view.modelBuilder.formContainer().withFormItems(
|
const formBuilder = view.modelBuilder.formContainer().withFormItems(
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user