-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backup: render BackupRealtimeMessage component for displaying backup …
…real-time info in restore page (#94218) * feat: Add BackupRealtimeMessage component for displaying backup realtime information * Render `BackupRealtimeMessage` on successful backup view * Add unit tests for BackupRealtimeMessage component * feat: Update BackupRealtimeMessage component to use baseBackupDate instead of backupDate The BackupRealtimeMessage component has been updated to use the baseBackupDate prop instead of the backupDate prop. This change ensures that the correct backup date is displayed in the message. Also we are adding `selectedBackupDate` to use instead of `today` date. * Refactor BackupSuccessful component to pass selectedBackupDate to BackupRealtimeMessage * Remove redundant message scenario * Replace `today` with `selectedBackupDate` * Refactor BackupRealtimeMessage component to receive baseBackupDate as a Moment object * Refactor BackupRealtimeMessage unit tests to consider latest changes * Update test descriptions * Improve unit test description grammar * Improve showRealTimeMessage validation * Remove `baseBackupDate` comment * Refactor `BackupRealtimeMessage` conditions to improve readability and clarity * Add real-time message on restore page * Adjust CSS spacing on restore backup to properly fit realtime message * BackupRealtimeMessage: add `Learn more` link * BackupRealtimeMessage: update unit tests to consider the new Learn more link * BackupRealtimeMessage: update unit tests comments * Restore page: render real-time message under a feature flag
- Loading branch information
Showing
5 changed files
with
79 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters