-
Notifications
You must be signed in to change notification settings - Fork 1.3k
CMM-955 reader subscribe button unresponsive on quick tap #22373
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
CMM-955 reader subscribe button unresponsive on quick tap #22373
Conversation
Generated by 🚫 Danger |
|
| App Name | WordPress | |
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Version | pr22373-464ba63 | |
| Commit | 464ba63 | |
| Direct Download | wordpress-prototype-build-pr22373-464ba63.apk |
|
| App Name | Jetpack | |
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Version | pr22373-464ba63 | |
| Commit | 464ba63 | |
| Direct Download | jetpack-prototype-build-pr22373-464ba63.apk |
WordPress/src/main/java/org/wordpress/android/ui/reader/views/ReaderSiteHeaderView.java
Fixed
Show fixed
Hide fixed
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release/26.4 #22373 +/- ##
================================================
+ Coverage 39.03% 39.07% +0.03%
================================================
Files 2203 2203
Lines 106316 106351 +35
Branches 15057 15065 +8
================================================
+ Hits 41499 41554 +55
+ Misses 61328 61297 -31
- Partials 3489 3500 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
WordPress/src/main/java/org/wordpress/android/ui/reader/views/ReaderSiteHeaderView.java
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/discover/ReaderDiscoverViewModel.kt
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/viewmodels/ReaderPostDetailViewModel.kt
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/discover/ReaderDiscoverViewModel.kt
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/views/ReaderFollowButton.kt
Show resolved
Hide resolved
|
Claude finished @adalpari's task —— View job Code Review Complete ✓I've completed a comprehensive review of PR #22373. Overall, this is a well-implemented improvement that addresses the unresponsive button issue effectively. The code is clean, consistent, and follows established patterns. Great work!
SummaryPurpose: Adds loading indicators and disables subscribe/unsubscribe buttons during follow actions across Reader screens to prevent multiple rapid taps and improve UX. Approach:
Affected Areas:
Key Findings✅ Strengths
|
| Metric | Status | Notes |
|---|---|---|
| Security | ✅ Pass | One minor null annotation issue |
| Performance | ✅ Pass | Efficient implementation |
| Testing | ✅ Pass | Good unit test coverage |
| Architecture | ✅ Pass | Excellent MVVM adherence |
| Documentation | ✅ Pass | Clear PR description |
| Code Style | ✅ Pass | Follows project conventions |
| Maintainability | ✅ Pass | Clean, readable code |
Conclusion
This is a high-quality PR that significantly improves the user experience with a well-architected solution. The implementation:
- ✅ Solves the reported bug effectively
- ✅ Follows best practices and established patterns
- ✅ Includes good test coverage
- ✅ Is maintainable and easy to understand
- ✅ Addresses previous review feedback
Status: Ready to merge after fixing the null annotation issue (1 line change)
The PR represents solid engineering work with attention to consistency, testing, and user experience. Great job! 🎉
WordPress/src/main/java/org/wordpress/android/ui/reader/views/ReaderSiteHeaderView.java
Show resolved
Hide resolved
…ReaderSiteHeaderView.java Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
b89f904 to
3cb26b1
Compare
|
Retargeting to: release/26.4 |
|
nbradbury
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.
This looks great to me. All tests passed, and Claude did a very thorough code review. ![]()





Description
This PR adds loading indicators and disables subscribe/unsubscribe buttons while the follow action is in progress across multiple Reader screens.
The previous UX was a bit poor, allowing the user to tap multiple times with no visual feedback and causing unexpected outputs.
The changes prevent users from tapping the button multiple times between actions, so it feels smoother and does not cause confusion/unexpected behavior.
Bug:
Screen_recording_20251113_173324.mp4
Testing instructions
Reader Discover - Recommended Blogs Card
Post Detail Screen
Blog/Site Header View
Screen_recording_20251127_175816.mp4
Screen_recording_20251127_175734.mp4
Screen_recording_20251127_175557.mp4