Threat Details: Skeleton with blank Content UiState#13675
Conversation
|
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
|
You can test the changes on this Pull Request by downloading the APK here. |
| ViewType.ICON.id -> JetpackIconViewHolder(imageManager, parent) | ||
| ViewType.DESCRIPTION.id -> JetpackDescriptionViewHolder(uiHelpers, parent) |
There was a problem hiding this comment.
These are placeholder ViewTypes, appropriate ones are added in a separate PR #13703.
ParaskP7
left a comment
There was a problem hiding this comment.
Great job @ashiagr ! 🌟
I have tested the solution (as per the instructions) and can verify correctness.
I have left few minors, questions and ideas here and there but overall I am approving the PR since those are not blocking. Feel free to merge the PR anyway. I am not merging the PR myself since I want to give you the opportunity to first check my comments.
PS: I really love the way you split your commits, kudos (❤️)! It really helped me review the PR and understand the way the solution was built. Also, I loved the fact that you added the Refactor: action prefix on your initial commits. Actually, my team used to do that in the past as well and we found out that it works miracles. I wonder if you folks would like to start using this just as well, for a trial period of time and see if you like it. Your thoughts @zwarm @malinajirka ?
WordPress/src/main/java/org/wordpress/android/ui/jetpack/scan/details/ThreatDetailsFragment.kt
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/jetpack/scan/details/ThreatDetailsViewModel.kt
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/jetpack/scan/details/ThreatDetailsViewModel.kt
Show resolved
Hide resolved
...ss/src/test/java/org/wordpress/android/ui/jetpack/scan/details/ThreatDetailsViewModelTest.kt
Outdated
Show resolved
Hide resolved
|
Thanks @ParaskP7! I've addressed your comments and answered questions. I've also updated fluxc tag from Ready for another look 🙏. |
Parent: #13326
Description
This PR does the following for "Threat Details"
UiStatewith blankContent- 30c07fdthreatIdusing aUseCase- 8c1867b, 75e89e2ThreatDetailsActivityfrom theScanFragment- c5b7794To test
Prerequisite: Make sure both Scan feature flag and MySiteImprovements flag are set to on in the App settings.
Merge Instructions
PR submission checklist:
RELEASE-NOTES.txtif necessary.