-
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.
BackupScheduleSetting: improve BackupScheduled view using useNextBack…
…upSchedule hook (#95638) * Switch useNextBackupSchedule to named export * feat: improve next backup time estimation - Replaced the calculation with precise scheduling data from the useNextBackupSchedule hook. - Added logic to round up the hours when there are remaining minutes for more accurate time estimation. * refactor: get rid of defaultProps on ActionsButton * Update schedule backup message in settings page * Revert "refactor: get rid of defaultProps on ActionsButton" This reverts commit 66dc8cd. * Validate if next backup schedule date has loaded * Add loading placeholder for next backup hours text
- Loading branch information
Showing
4 changed files
with
44 additions
and
21 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
2 changes: 1 addition & 1 deletion
2
client/components/jetpack/daily-backup-status/status-card/parts/next-scheduled-backup.tsx
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