wordpress-mobile / wordpress-mobile/WordPress-Android
[Reader] Reader suddenly stops fetching tag posts
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
[!WARNING]
This issue was discovered after https://github.com/wordpress-mobile/WordPress-Android/pull/19881 fix, since we couldn't reach the state described here before that fix. If you follow the steps to reproduce without the commits in that PR, you won't be able to reproduce it.
Doesn't seem related to https://github.com/wordpress-mobile/WordPress-Android/pull/19881 since in that case we were still fetching the posts, and in this case fetching posts is not even triggered (I've debugged and fetch posts is not called). The progress UI is not even shown, which makes me think it might be UI related. Also, I've checked web and there were many more posts with the tag seen in the video that we were not fetching.
Expected behavior
We should continue to fetch tag posts when user scrolls down the list.
Actual behavior
At some point we stop fetching new tag posts when user scrolls down the list.
Steps to reproduce the behavior
- Install JP and sign in
- Open "My Site"
- Tap on "View all responses" in blogging prompts card
- Verify if 7 items are fetched each time we fetch a new page.
Tested on [device], Android [version], JPAndroid / WPAndroid [version]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Reader flow reached through My Site > View all responses, reproduce with JP signed in, and inspect why scrolling stops triggering post fetching. Done means the list continues fetching tag posts as the user scrolls, with 7 items fetched for each new page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100