mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 17:23:15 -05:00
add aria label content to dropdown controls (#15940)
This commit is contained in:
@@ -249,6 +249,8 @@ export const SUMMARY_AZURE_STORAGE = localize('sql.migration.summary.azure.stora
|
||||
export const SUMMARY_IR_NODE = localize('sql.migration.ir.node', "Integration Runtime node");
|
||||
export const NETWORK_SHARE = localize('sql.migration.network.share', "Network Share");
|
||||
export const BLOB_CONTAINER = localize('sql.migration.blob.container.title', "Blob Container");
|
||||
export const BLOB_CONTAINER_RESOURCE_GROUP = localize('sql.migration.blob.container.label', "Blob container resource group");
|
||||
export const BLOB_CONTAINER_STORAGE_ACCOUNT = localize('sql.migration.blob.container.storage.account.label', "Blob container storage account");
|
||||
export const FILE_SHARE = localize('sql.migration.file.share.title', "File Share");
|
||||
export const MIGRATION_STARTED = localize('sql.migration.started.notification', "Migration in progress");
|
||||
export const SOURCE_DATABASES = localize('sql.migration.source.databases', "Source Database(s)");
|
||||
@@ -311,6 +313,7 @@ export const TARGET_DATABASE_NAME = localize('sql.migration.target.database.name
|
||||
export const TARGET_SERVER = localize('sql.migration.target.server', "Target server");
|
||||
export const TARGET_VERSION = localize('sql.migration.target.version', "Target version");
|
||||
export const MIGRATION_STATUS = localize('sql.migration.migration.status', "Migration status");
|
||||
export const MIGRATION_STATUS_FILTER = localize('sql.migration.migration.status.filter', "Migration status filter");
|
||||
export const FULL_BACKUP_FILES = localize('sql.migration.full.backup.files', "Full backup files");
|
||||
export const LAST_APPLIED_LSN = localize('sql.migration.last.applied.lsn', "Last applied LSN");
|
||||
export const LAST_APPLIED_BACKUP_FILES = localize('sql.migration.last.applied.backup.files', "Last applied backup files");
|
||||
|
||||
@@ -228,6 +228,7 @@ export class CreateSqlMigrationServiceDialog {
|
||||
}).component();
|
||||
|
||||
this.migrationServiceResourceGroupDropdown = this._view.modelBuilder.dropDown().withProps({
|
||||
ariaLabel: constants.RESOURCE_GROUP,
|
||||
required: true,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
|
||||
@@ -37,6 +37,7 @@ export class MigrationStatusDialog {
|
||||
this._view = view;
|
||||
|
||||
this._statusDropdown = this._view.modelBuilder.dropDown().withProps({
|
||||
ariaLabel: loc.MIGRATION_STATUS_FILTER,
|
||||
values: this._model.statusDropdownValues,
|
||||
width: '220px'
|
||||
}).component();
|
||||
|
||||
@@ -45,6 +45,7 @@ export class AccountsSelectionPage extends MigrationWizardPage {
|
||||
|
||||
this._azureAccountsDropdown = view.modelBuilder.dropDown()
|
||||
.withProps({
|
||||
ariaLabel: constants.ACCOUNTS_SELECTION_PAGE_TITLE,
|
||||
width: WIZARD_INPUT_COMPONENT_WIDTH,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
@@ -144,6 +145,7 @@ export class AccountsSelectionPage extends MigrationWizardPage {
|
||||
}).component();
|
||||
|
||||
this._accountTenantDropdown = view.modelBuilder.dropDown().withProps({
|
||||
ariaLabel: constants.AZURE_TENANT,
|
||||
width: WIZARD_INPUT_COMPONENT_WIDTH,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
|
||||
@@ -555,6 +555,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
||||
}
|
||||
}).component();
|
||||
this._networkShareStorageAccountResourceGroupDropdown = this._view.modelBuilder.dropDown().withProps({
|
||||
ariaLabel: constants.RESOURCE_GROUP,
|
||||
width: WIZARD_INPUT_COMPONENT_WIDTH,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
@@ -578,6 +579,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
||||
}).component();
|
||||
this._networkShareContainerStorageAccountDropdown = this._view.modelBuilder.dropDown()
|
||||
.withProps({
|
||||
ariaLabel: constants.STORAGE_ACCOUNT,
|
||||
required: true,
|
||||
width: WIZARD_INPUT_COMPONENT_WIDTH,
|
||||
editable: true,
|
||||
@@ -713,6 +715,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
||||
this._blobContainerTargetDatabaseNames.push(blobtargetDatabaseInput);
|
||||
|
||||
const blobContainerResourceDropdown = this._view.modelBuilder.dropDown().withProps({
|
||||
ariaLabel: constants.BLOB_CONTAINER_RESOURCE_GROUP,
|
||||
width: WIZARD_TABLE_COLUMN_WIDTH,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
@@ -729,6 +732,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
||||
|
||||
const blobContainerStorageAccountDropdown = this._view.modelBuilder.dropDown()
|
||||
.withProps({
|
||||
ariaLabel: constants.BLOB_CONTAINER_STORAGE_ACCOUNT,
|
||||
width: WIZARD_TABLE_COLUMN_WIDTH,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
@@ -745,6 +749,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
||||
|
||||
const blobContainerDropdown = this._view.modelBuilder.dropDown()
|
||||
.withProps({
|
||||
ariaLabel: constants.BLOB_CONTAINER,
|
||||
width: WIZARD_TABLE_COLUMN_WIDTH,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
|
||||
@@ -181,6 +181,7 @@ export class IntergrationRuntimePage extends MigrationWizardPage {
|
||||
}
|
||||
}).component();
|
||||
this._resourceGroupDropdown = this._view.modelBuilder.dropDown().withProps({
|
||||
ariaLabel: constants.RESOURCE_GROUP,
|
||||
width: WIZARD_INPUT_COMPONENT_WIDTH,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
@@ -202,6 +203,7 @@ export class IntergrationRuntimePage extends MigrationWizardPage {
|
||||
}).component();
|
||||
|
||||
this._dmsDropdown = this._view.modelBuilder.dropDown().withProps({
|
||||
ariaLabel: constants.IR_PAGE_TITLE,
|
||||
width: WIZARD_INPUT_COMPONENT_WIDTH,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
|
||||
@@ -291,6 +291,7 @@ export class SKURecommendationPage extends MigrationWizardPage {
|
||||
}
|
||||
}).component();
|
||||
this._managedInstanceSubscriptionDropdown = this._view.modelBuilder.dropDown().withProps({
|
||||
ariaLabel: constants.SUBSCRIPTION,
|
||||
width: WIZARD_INPUT_COMPONENT_WIDTH,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
@@ -314,6 +315,7 @@ export class SKURecommendationPage extends MigrationWizardPage {
|
||||
}
|
||||
}).component();
|
||||
this._azureLocationDropdown = this._view.modelBuilder.dropDown().withProps({
|
||||
ariaLabel: constants.LOCATION,
|
||||
width: WIZARD_INPUT_COMPONENT_WIDTH,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
@@ -335,6 +337,7 @@ export class SKURecommendationPage extends MigrationWizardPage {
|
||||
}
|
||||
}).component();
|
||||
this._azureResourceGroupDropdown = this._view.modelBuilder.dropDown().withProps({
|
||||
ariaLabel: constants.RESOURCE_GROUP,
|
||||
width: WIZARD_INPUT_COMPONENT_WIDTH,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
@@ -356,6 +359,7 @@ export class SKURecommendationPage extends MigrationWizardPage {
|
||||
}).component();
|
||||
|
||||
this._resourceDropdown = this._view.modelBuilder.dropDown().withProps({
|
||||
ariaLabel: constants.MANAGED_INSTANCE,
|
||||
width: WIZARD_INPUT_COMPONENT_WIDTH,
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
|
||||
@@ -53,6 +53,7 @@ export class SubscriptionSelectionPage extends MigrationWizardPage {
|
||||
|
||||
private createAccountDropDown(view: azdata.ModelView): azdata.FormComponent<azdata.DropDownComponent> {
|
||||
const dropDown = view.modelBuilder.dropDown().withProperties<azdata.DropDownProperties>({
|
||||
ariaLabel: SUBSCRIPTION_SELECTION_AZURE_ACCOUNT_TITLE,
|
||||
values: [],
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
@@ -70,6 +71,7 @@ export class SubscriptionSelectionPage extends MigrationWizardPage {
|
||||
|
||||
private createSubscriptionDropDown(view: azdata.ModelView): azdata.FormComponent<azdata.DropDownComponent> {
|
||||
const dropDown = view.modelBuilder.dropDown().withProperties<azdata.DropDownProperties>({
|
||||
ariaLabel: SUBSCRIPTION_SELECTION_AZURE_SUBSCRIPTION_TITLE,
|
||||
values: [],
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
@@ -87,6 +89,7 @@ export class SubscriptionSelectionPage extends MigrationWizardPage {
|
||||
|
||||
private createProductDropDown(view: azdata.ModelView): azdata.FormComponent<azdata.DropDownComponent> {
|
||||
const dropDown = view.modelBuilder.dropDown().withProperties<azdata.DropDownProperties>({
|
||||
ariaLabel: SUBSCRIPTION_SELECTION_AZURE_PRODUCT_TITLE,
|
||||
values: [],
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
|
||||
Reference in New Issue
Block a user