mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 17:23:15 -05:00
[SQL Migration] Misc UI improvements (#20723)
* Add TrustServerCertificate to request body * Preselect all dbs for migration * Make disabled checkbox not auto selected * Clarify assessment results in card * Fix incorrect number of dbs ready for migration without issues to MI * Fix SQL DB assessment results incorrectly greying out dbs with MI blocking issues * Revert "Clarify assessment results in card" This reverts commit e8b83f3c19a20ba29133aaa68c4644b04d4154fe. * Revert "Fix incorrect number of dbs ready for migration without issues to MI" This reverts commit d4e10875d132dd218d95be91ae7d46672e247706. * Revert "Fix SQL DB assessment results incorrectly greying out dbs with MI blocking issues" This reverts commit e2a7dcd7352d1c215052a2f6f3f6130fc710eff8. * Add new fields * Fix null reference exception in SKU rec with save and close * Remove unused files * Warnings for in progress migrations in list view * Fix unscrollable assessment results * Fix updating SKU parameters before recommendations are ready * Remove checksum info box * Address PR feedback
This commit is contained in:
@@ -279,16 +279,15 @@ export function getMigrationStatusWithErrors(migration: azure.DatabaseMigration)
|
||||
warningCount += properties.migrationFailureError?.message?.length > 0 ? 1 : 0;
|
||||
|
||||
// file upload blocking errors
|
||||
warningCount += properties.migrationStatusDetails?.fileUploadBlockingErrors?.length ?? 0;
|
||||
warningCount += properties.migrationStatusWarnings?.fileUploadBlockingErrorCount ?? 0;
|
||||
|
||||
// restore blocking reason
|
||||
warningCount += properties.migrationStatusDetails?.restoreBlockingReason ? 1 : 0;
|
||||
warningCount += (properties.migrationStatusWarnings?.restoreBlockingReason ?? '').length > 0 ? 1 : 0;
|
||||
|
||||
// sql data copy errors
|
||||
warningCount += properties.migrationStatusDetails?.sqlDataCopyErrors?.length ?? 0;
|
||||
// complete restore error message
|
||||
warningCount += (properties.migrationStatusWarnings?.completeRestoreErrorMessage ?? '').length > 0 ? 1 : 0;
|
||||
|
||||
return constants.STATUS_VALUE(migrationStatus, warningCount)
|
||||
+ (constants.STATUS_WARNING_COUNT(migrationStatus, warningCount) ?? '');
|
||||
return constants.STATUS_VALUE(migrationStatus) + (constants.STATUS_WARNING_COUNT(migrationStatus, warningCount) ?? '');
|
||||
}
|
||||
|
||||
export function getPipelineStatusImage(status: string | undefined): IconPath {
|
||||
|
||||
Reference in New Issue
Block a user