Jetpack Section: Restore Status and Restore Complete#15640
Jetpack Section: Restore Status and Restore Complete#15640momo-ozawa merged 10 commits intodevelopfrom
Conversation
|
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. |
leandroalonso
left a comment
There was a problem hiding this comment.
@momo-ozawa works as described!
One question though, the confirmation message says:
However, this might be not true: what if the user selected just WordPress Themes?
| title: NSLocalizedString("Restore", comment: "Title for Jetpack Restore Complete screen"), | ||
| iconImage: .gridicon(.history), | ||
| messageTitle: NSLocalizedString("Your site has been restored", comment: "Title for the Jetpack Restore Complete message."), | ||
| messageDescription: NSLocalizedString("All of your selected itmes are now restored back to %1$@.", comment: "Description for the Jetpack Backup Restore message. %1$@ is a placeholder for the selected date."), |
There was a problem hiding this comment.
| messageDescription: NSLocalizedString("All of your selected itmes are now restored back to %1$@.", comment: "Description for the Jetpack Backup Restore message. %1$@ is a placeholder for the selected date."), | |
| messageDescription: NSLocalizedString("All of your selected items are now restored back to %1$@.", comment: "Description for the Jetpack Backup Restore message. %1$@ is a placeholder for the selected date."), |
Typo: itmes
| @objc class JetpackRestoreService: LocalCoreDataService { | ||
|
|
||
| private lazy var serviceV1: ActivityServiceRemote_ApiVersion1_0 = { | ||
| let api = WordPressComRestApi.defaultApi(in: managedObjectContext, |
There was a problem hiding this comment.
You can omit the localeKey
|
@leandroalonso @osullivanchris
Hmm, true. This is what Wordpress.com looks like. |
Good spot. I pulled the message from something already existing on web. But maybe I didn't grab the right one. @momo-ozawa in that screenshot, does the message change depending on what you select? Either way, my intention was to follow what we are doing on web. So if we have something like this already, that's great, let's use it. If we don't, then we can come up with our own alternative. |
|
Discussed this on Android over here. After discussion with @ashiagr - realised that the word 'All' is really the only one causing issue. If we remove the word 'all', the sentence still works grammatically, but it doesn't conclusively say that we are removing everything when the user has only selected some things. That should resolve the issue I think. |
|
@leandroalonso (cc: @osullivanchris)
|





Part of #15191
Merge directions:
Notes:
Visit sitebutton on the Restore Complete screen isn't hooked up yetTo test:
RestoreRestore to this pointConfirm100%).running).running).finished)PR submission checklist:
RELEASE-NOTES.txtif necessary.