-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Reader] Persist feed selection across sessions and fix text overlapping post list #20306
Conversation
The priority for setting the selected feed item when opening the app from cold start is: 1. SavedState bundle (it's saved if the app is destroyed by the system) 2. Persisted AppPref (saved every time the user selects a feed) 3. First item (should be used only the first time ever opening the Reader)
📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## trunk #20306 +/- ##
==========================================
- Coverage 40.24% 40.24% -0.01%
==========================================
Files 1472 1472
Lines 67920 67932 +12
Branches 11248 11249 +1
==========================================
+ Hits 27334 27338 +4
- Misses 38086 38094 +8
Partials 2500 2500 ☔ View full report in Codecov by Sentry. |
Thanks for finding the issue, I just sent a commit fixing it. |
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.
Thanks for fixing the problem with the image not being shown in lists without content.
…list Cherry-picking the changes from #20306 to target the current release version.
Fixes #20127
Fixes #20183
This PR ends up fixing 2 issues since fixing #20127 made the problem from #20183 happen more often. Both fixes are on the small side so I decided to do both in the same PR.
To Test:
Testing Reader feed selection persistence
Discover
Other test steps can be found here as well: #20127 (comment)
Testing "empty state" text showing up even when there are posts in the list
This is a bit trickier to test, but the steps listed by @daniloercoli in the original issue should do:
Regression Notes
Potential unintended areas of impact
What I did to test those areas of impact (or what existing automated tests I relied on)
What automated tests I added (or what prevented me from doing so)
PR Submission Checklist:
RELEASE-NOTES.txt
if necessary.Testing Checklist: