Problem:
- The current article counter being capped at 200 results regardless of the filter results (topic or task type selection) is likely to confuse users about how filtering behavior works (since changing filters will often result in no change to the 200 results count).
- However, we do not want to show users an overly large number for fear it will overwhelm them. For instance, if a user has no topics selected and chooses "Add links" in the difficulty filter in Arabic Wikipedia, the number will be something like 40,000.
User job story
When I make a change to the topics selected in suggested edits...
I want to see a change in the suggested edits article counter...
So that I know how many articles are related to my choice of filters.
Proposed updates:
- Article counter - show the actual number of results (i.e., no capping)
- Article cards
- Only fetch up to the first 200 results in the UI (per current behaviour).
- When the user views the 200th result, the next 200 results available will be fetched if they press the arrow to view the 201st result. And so on in 200 increments.
- Pager text:
- If there are 1-200 results, the text remains as per current '<#> of <total number> suggestions`
- If there are more than 200 results, change the text to say <#> of over 200 suggestions.
- If the user has tapped to view the 201st result, the pager text will change to say <#> of over 400 suggestions. And so on in 200 increments.
For visual reference - a sample scenario where there are 324 results:
1. Article counter shows the actual results | 2. Initially only the first 200 results are fetched | 3. On showing the 200th result, the right arrow can still be selected to show the 201st result | 4. Selecting the right arrow shows the 201st result (next batch of 200 fetched), with pager text updated accordingly |