wordpress-mobile / wordpress-mobile/WordPress-Android

[Reader] Reader suddenly stops fetching tag posts

Open
#19,883 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Bug Reader
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.

https://github.com/wordpress-mobile/WordPress-Android/assets/14964993/e51092be-2ece-4ca0-a889-b5e334f4be42

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.