-
Notifications
You must be signed in to change notification settings - Fork 1.3k
CMM-1037: Update ScanFragment empty view #22519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Generated by 🚫 Danger |
Co-Authored-By: Claude Opus 4.5 <[email protected]>
|
@claude Ignore the TODO |
The image and imageColorResId properties were removed from ErrorUiState, so the corresponding test assertions need to be removed as well. Co-Authored-By: Claude Opus 4.5 <[email protected]>
|
Claude finished @nbradbury's task in 1m 13s —— View job Code Review Complete ✅I've reviewed this PR (ignoring the TODO as requested) and found the implementation to be clean and well-executed. The changes successfully remove the image from error states while maintaining all functionality and test coverage. SummaryThis PR removes images from ScanFragment empty/error views and shortens error message strings. The implementation is solid with proper cleanup across all layers. Detailed Review✅ Code Quality - ExcellentScanFragment.kt:
ScanViewModel.kt:
Layout XML:
Strings.xml:
✅ Security - No IssuesNo security concerns. The changes are purely UI-related and don't affect:
✅ Performance - No ImpactPositive performance impact:
✅ Testing - ComprehensiveScanViewModelTest.kt:
✅ Documentation - AdequatePR description clearly explains the changes. No additional documentation needed for this UI change. Minor Suggestions (Non-blocking)
Verdict✅ Approved - Ready to merge (once the TODO mentioned in the PR description is addressed) The implementation is clean, well-tested, and follows all coding standards. The removal of images and string simplifications achieve the stated goals without introducing any issues. |
- Remove unused error_60 color from colors_semantic.xml - Update SiteItemsViewModelSliceTest to match temporary scanAvailable=true behavior with TODO comments to revert before merging Co-Authored-By: Claude Opus 4.5 <[email protected]>
|
| App Name | Jetpack | |
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Version | pr22519-28f1cff | |
| Commit | 28f1cff | |
| Direct Download | jetpack-prototype-build-pr22519-28f1cff.apk |
|
| App Name | WordPress | |
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Version | pr22519-28f1cff | |
| Commit | 28f1cff | |
| Direct Download | wordpress-prototype-build-pr22519-28f1cff.apk |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## trunk #22519 +/- ##
==========================================
- Coverage 38.69% 38.69% -0.01%
==========================================
Files 2198 2198
Lines 106812 106793 -19
Branches 15055 15054 -1
==========================================
- Hits 41334 41319 -15
+ Misses 62035 62032 -3
+ Partials 3443 3442 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I'm not sure what I'm missing but I don't see that option. I've tried both, with a WP.COM site and with a jurassic.ninja one (enabling and setting up Jetpack) |
adalpari
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works with the instructions you gave me. Thanks!
LGTM! ![]()
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
|





As part of CMM-1037, this PR updates the empty view for the scan and scan history fragments by removing the outdated images and shortening the message text.
Note: The scan feature is only available for Jetpack sites that have paid for the Scan feature.
Summary
Test plan
Before and after