wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.96k stars 1.31k forks source link

After undoing 'Block this site,' the filter pill shows 'No blog subscriptions', but the post remains visible in 'Subscriptions' section #21147

Open SoapOperaTester opened 3 weeks ago

SoapOperaTester commented 3 weeks ago

Expected behavior

After undoing the 'Block this site', the site should be still Subscribed and the filter pill should show and manage the site correctly

Actual behavior

In step 9, the filter pill changes to '0 Blogs,' and the pop-up dialog displays 'No blog subscriptions,' but the post still appears. In step 11, the post status still shows as 'Subscribed.'

Steps to reproduce the behavior

  1. Open the Reader
  2. Navigate to Subscriptions.
  3. Click the 'Discover bugs'
  4. Subscribe a blog
  5. Navigate to Subscriptions.
  6. Tap on the '...' overflow menu on a post
  7. Select 'Block this site'
  8. Tap on 'Undo' button
  9. Tap on '1 Blog' filter pill
  10. Click outside of the pop-up dialog
  11. Tap on the '...' overflow menu on a post

Notes

If the issue cannot be reproduced following the above steps, repeat steps 2-10 multiple times. After undoing 'Block this site,' if the site is marked as 'Unsubscribed,' the post should no longer appear in the 'Subscriptions' section.

Tested on [device], Android [version], JPAndroid / WPAndroid [version]

Galaxy S21 5G, Android 12, Jetpack 25.2.1 (1444)/WordPress 25.2.1 (1444)

https://github.com/user-attachments/assets/3c4e55b0-1b68-42d5-b093-0764f1a68d18

dangermattic commented 3 weeks ago

Thanks for reporting! 👍