mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 09:35:38 -05:00
[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user