wordpress-mobile / wordpress-mobile/WordPress-Android

After blocking a site, the filter pill updates the number only after manually refreshing the page.

Open
#21,146 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Bug Good First Issue UI
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
  1. Open the Reader.
  2. Navigate to Subscriptions.
  3. Tap on the '...' overflow menu on a post
  4. Select 'Block this site'
  5. 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)

screenrecord

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.