Jetpack Section: Backup / Restore Already Running#15689
Conversation
If restore is already running, dismiss the Restore Status VC and display a notice
If the “OK, notify me” button is tapped, dismiss the Restore VC and trigger the ActivityStore to start fetching the rewind status. This will then trigger the “rewind cell” to be displayed in the Activity Log VC.
So we can differentiate between getCurrentRewindStatus and fetchRewindStatus.
|
You can trigger an installable build for these changes by visiting CircleCI here. |
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
|
@momo-ozawa I tested the described steps, but I find it a little bit odd that:
I'd like to propose a change that perhaps might fix that:
Let me know what do you think. :) |
Instead of passing ActivityStore, use delegate.
Fixed! 98e59cb
Yeah a delegate feels better, thanks for the suggestion! a152ede |
Backup / Restore FYIHow to tell if there’s a backup / restore already in progress:
You can test this on Calypso by having two windows open. |
leandroalonso
left a comment
There was a problem hiding this comment.
It all works as described!
I'm still with this issue tho:
When dismissing the screen, I also wasn't able to see the progress (only if I tapped on the "Notify me later" button)
I don't think it's a blocker, we can address it in a subsequent task.
# Conflicts: # Podfile # Podfile.lock # WordPress/Classes/ViewRelated/Jetpack/Jetpack Restore/Restore Warning/Coordinators/JetpackRestoreWarningCoordinator.swift
Part of #15191
Description:
RestoreStatusViewMerge instructions:
To test:
Restore
RestoreRestore to this pointConfirmOK, notify me!RewindStatusRowshould display the progressThere's a restore currently in progress, please wait before starting the next oneshould be displayedBackup
Since the create downloadable backup process is so quick, I recommend testing this process by using both the app and Calypso.
Download backupCreate downloadable fileThere's a backup currently being prepared, please wait before starting the next oneshould be displayedPR submission checklist:
RELEASE-NOTES.txtif necessary.