[SQL Migration] Add more help text to database backup page (#18671)

* Add help text for backups with checksums and Azure storage accounts with private endpoints

* Update help text wording
This commit is contained in:
Raymond Truong
2022-03-11 09:53:50 -08:00
committed by GitHub
parent 94b4437a6a
commit d1d6b229ce
2 changed files with 32 additions and 0 deletions

View File

@@ -123,6 +123,15 @@ export class DatabaseBackupPage extends MigrationWizardPage {
}
}).component();
const backupChecksumInfoBox = this._view.modelBuilder.infoBox().withProps({
text: constants.DATABASE_BACKUP_CHECKSUM_INFO_TEXT,
style: 'information',
width: WIZARD_INPUT_COMPONENT_WIDTH,
CSSStyles: {
...styles.BODY_CSS
}
}).component();
this._networkShareButton = this._view.modelBuilder.radioButton()
.withProps({
name: buttonGroup,
@@ -160,6 +169,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
const flexContainer = this._view.modelBuilder.flexContainer().withItems(
[
selectLocationText,
backupChecksumInfoBox,
this._networkShareButton,
this._blobContainerButton
]
@@ -457,6 +467,15 @@ export class DatabaseBackupPage extends MigrationWizardPage {
}
}).component();
const azureStoragePrivateEndpointInfoBox = this._view.modelBuilder.infoBox().withProps({
text: constants.DATABASE_BACKUP_PRIVATE_ENDPOINT_INFO_TEXT,
style: 'information',
width: WIZARD_INPUT_COMPONENT_WIDTH,
CSSStyles: {
...styles.BODY_CSS
}
}).component();
this._networkShareTargetDatabaseNamesTable = this._view.modelBuilder.declarativeTable().withProps({
columns: [
{
@@ -560,6 +579,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
this._blobTableContainer = this._view.modelBuilder.flexContainer().withItems([
blobTableText,
allFieldsRequiredLabel,
azureStoragePrivateEndpointInfoBox,
this._blobContainerTargetDatabaseNamesTable
]).withProps({
CSSStyles: {
@@ -601,6 +621,15 @@ export class DatabaseBackupPage extends MigrationWizardPage {
}
}).component();
const azureStoragePrivateEndpointInfoBox = this._view.modelBuilder.infoBox().withProps({
text: constants.DATABASE_BACKUP_PRIVATE_ENDPOINT_INFO_TEXT,
style: 'information',
width: WIZARD_INPUT_COMPONENT_WIDTH,
CSSStyles: {
...styles.BODY_CSS
}
}).component();
const subscriptionLabel = this._view.modelBuilder.text()
.withProps({
value: constants.SUBSCRIPTION,
@@ -728,6 +757,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
}).withItems([
azureAccountHeader,
azureAccountHelpText,
azureStoragePrivateEndpointInfoBox,
subscriptionLabel,
this._networkShareContainerSubscription,
locationLabel,