wordpress-mobile / wordpress-mobile/WordPress-iOS

Reader un-liked posts appearing in the Liked posts tab

Open
#16,179 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Bug Reader
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
  1. Open Reader and like a post from withing the Following tab
  2. Tap the Likes tab and notice the post correctly shows up there (with the Like button filled)
  3. Unlike the post, notice it doesn't disappear from the Likes tab
  4. Open the Following screen, notice the post still has the Like button filled (this is unexpected)
  5. Navigate to the Likes tab and notice the posts is still there (this is unexpected)
  6. Pull-to-refresh and notice the post is correctly removed
Tested on iPhone 11, iOS 14.4, WPiOS 17.0 beta

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.