wordpress-mobile / wordpress-mobile/WordPress-Android
[Comment] Like Status Resets to Unliked when Editing a Liked Comment
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
When editing a liked comment, the Like icon and its status (Liked) should not reset to Unliked.
Actual behavior
When editing a liked comment, the Like icon and its status (Liked) is being reset to Unliked. See screen recording below for when that flow works (for the Unliked status), and doesn't work (for the Liked status).
FYI: This incorrect behavior is UI only and does not affect the actual like status on the backend. You can verify that by refreshing the Comments screen and trying that again.
Steps to reproduce the behavior
- Go to
Commentsscreen and tap on any comment. - Like that comment and then edit it.
- After editing that comment and clicking on the
DONEbutton, notice that theLikeicon and itsLikedstatus got reset toUnliked.
Tested on [Pixel 4a], Android [13], JPAndroid [23.3-rc-1 (1370)]
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 from the Comments screen: like a comment, edit it, and tap DONE. Trace the edit flow and verify that the Like icon and Liked status remain unchanged after editing, while confirming the backend status still behaves correctly after refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100