Conversation
Generated by 🚫 dangerJS |
|
You can test the changes on this Pull Request by downloading the APK here. |
ParaskP7
left a comment
There was a problem hiding this comment.
👋 @zwarm !
I have reviewed and tested this PR as per the instruction, great job! Also, kudos for the tests and the given/when/then pattern! 🌟 🌟
I have left only minor (🔍) comments and one question (❓), which I would like to discuss. I am going to approve this PR anyway, since none is blocking. Also, I am not going to merge this PR yet to give you some time to apply any of my suggestions. However, feel free to ignore them and merge the PR yourself.
.../java/org/wordpress/android/ui/jetpack/restore/details/RestoreDetailsStateListItemBuilder.kt
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/jetpack/restore/RestoreViewModel.kt
Show resolved
Hide resolved
WordPress/src/test/java/org/wordpress/android/ui/jetpack/restore/RestoreDetailsViewModelTest.kt
Outdated
Show resolved
Hide resolved
WordPress/src/test/java/org/wordpress/android/ui/jetpack/restore/RestoreViewModelTest.kt
Outdated
Show resolved
Hide resolved
WordPress/src/test/java/org/wordpress/android/ui/jetpack/restore/RestoreViewModelTest.kt
Outdated
Show resolved
Hide resolved
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
|
@ParaskP7 Thanks for the review. I addressed all issues and answered your question. Once CI completes, I'll merge. 🙇 |
Parent #13328
This PR implements the "details" view (a.k.a. the select options) for the restore request.
Although RestoreDetailsViewModel was cloned off of BackupDownloadDetailsViewModel, the logic deviates because of the introduction of the Warning step in restore.
Cloned Classes
RestoreListItemState
RestoreDetailsAdapter
RestoreDetailsFragment
RestoreSubHeaderViewHolder
RestoreDetailsStateListItemBuilder
restore_list_subheader_item.xml
Notes:
To test:
PR submission checklist:
RELEASE-NOTES.txtif necessary.