wordpress-mobile / wordpress-mobile/WordPress-Android

[Comment] Comment Reply Text Persists after Replying Twice or More to a Comment

Open
#19,236 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Bug Comments
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

When replying twice or more to a comment, the comment reply text should clear when the right arrow Send button is clicked.

Actual behavior

When replying twice or more to a comment, the comment reply text doest not clear when the right arrow Send button is clicked. The comment reply text only clears when replying to a comment once. See screen recording below for when that flow works for the first reply, but doesn't for any subsequent reply:

https://github.com/wordpress-mobile/WordPress-Android/assets/9729923/f148034d-8c93-4916-b647-18bbf21712f4

Steps to reproduce the behavior
  • Go to Comments screen and tap on any comment.
  • Reply to that comment once and notice the Reply to comment... edit text field being cleared.
  • Reply to that comment again (twice) and notice that the Reply to comment... edit text field is not being cleared. Instead, the second reply and its text is being persisted on the edit text field.
Tested on [Pixel 4a], Android [13], JPAndroid [23.3-rc-1 (1370)]

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 Comments screen on Android 13, following the listed steps and observing the reply text after the second submission. Trace the comment reply send flow and verify that the reply field is cleared after every successful reply, not only the first; repeat the flow to confirm the fix.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.