wordpress-mobile / wordpress-mobile/WordPress-iOS
Reader un-liked posts appearing in the Liked posts tab
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 3.9k
- Forks
- 1.2k
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 58
Description
Expected behavior
The Likes tab in Reader should display the like status of posts correctly.
Actual behavior
When I "like" and then "un-like" a post in Reader, the Likes tab still shows the post instead of removing it from the list of liked posts. It's not until I pull-to-refresh that the post is removed from the list of liked posts.
Steps to reproduce the behavior
- Open Reader and like a post from withing the Following tab
- Tap the Likes tab and notice the post correctly shows up there (with the Like button filled)
- Unlike the post, notice it doesn't disappear from the Likes tab
- Open the Following screen, notice the post still has the Like button filled (this is unexpected)
- Navigate to the Likes tab and notice the posts is still there (this is unexpected)
- Pull-to-refresh and notice the post is correctly removed
Tested on iPhone 11, iOS 14.4, WPiOS 17.0 beta
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 Reader flow from the Following tab through the Likes tab, including liking and unliking a post and comparing the pull-to-refresh result. Trace how the Likes tab and Following screen update after an unlike. Done means the post is removed from Likes and its like button is cleared immediately, without requiring a refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100