mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Adding wizard and dialog footer loading spinner (#21230)
* Adding wizard and dialog loading * Moving apis to proposed * fixing namespace * Only firing event when the value changes * Only firing when value is changed * Adding loading complete message to dialog and wizard * Registering listeners and making a new base interface for loading components * Fixing api comment * Renaming prop to loadingCompleted * old loading icon
This commit is contained in:
@@ -306,7 +306,10 @@ export function createViewContext(): ViewTestContext {
|
||||
onClosed: new vscode.EventEmitter<azdata.window.CloseReason>().event,
|
||||
registerContent: () => { },
|
||||
modelView: undefined!,
|
||||
valid: true
|
||||
valid: true,
|
||||
loading: false,
|
||||
loadingText: '',
|
||||
loadingCompletedText: ''
|
||||
};
|
||||
let wizard: azdata.window.Wizard = {
|
||||
title: '',
|
||||
@@ -327,7 +330,10 @@ export function createViewContext(): ViewTestContext {
|
||||
close: () => { return Promise.resolve(); },
|
||||
registerNavigationValidator: () => { },
|
||||
message: dialogMessage,
|
||||
registerOperation: () => { }
|
||||
registerOperation: () => { },
|
||||
loading: false,
|
||||
loadingText: '',
|
||||
loadingCompletedText: ''
|
||||
};
|
||||
let wizardPage: azdata.window.WizardPage = {
|
||||
title: '',
|
||||
|
||||
Reference in New Issue
Block a user