wordpress-mobile / wordpress-mobile/WordPress-Android
After blocking a site, the filter pill updates the number only after manually refreshing the page.
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
After blocking a site, the post should disappear, and the filter pill should immediately update to show '0 Blogs'.
Actual behavior
In step 4, the post disappears from the list, but the '1 Blog' filter pill incorrectly shows '1'.
In step 5, after refreshing, a prompt appears, and the filter pill updates to the correct number '0'.
Steps to reproduce the behavior
- Open the Reader.
- Navigate to Subscriptions.
- Tap on the '...' overflow menu on a post
- Select 'Block this site'
- Pull to refresh
Tested on [device], Android [version], JPAndroid / WPAndroid [version]
Galaxy S21 5G, Android 12, Jetpack 25.2.1 (1444)/WordPress 25.2.1 (1444)
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 by reproducing the issue in the Reader's Subscriptions screen using the Block this site action on the reported Android setup. Trace how the post removal updates the filter pill count, then verify that blocking the site immediately changes '1 Blog' to '0 Blogs' without a manual refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100