Skip to content

Draft message feature not working correctly #2100

Description

@stephanieelliott

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Expected Result:

Drafted message text should constrained to the user selected when the text was entered into the compose box, draft icon should show only when text exists in the compose box.

Actual Result:

After drafting message text in the compose box for (but prior to sending), text continues to show after clicking into another chat, draft icon continues to show when text does not exist in the compose box.

Action Performed:

Issue 1:

After drafting message text in the compose box for (but prior to sending), text continues to show after clicking into another chat (2 users)

  1. Open a chat with User A
  2. Enter text into the compose box (but do not send)
  3. Switch to chat with User B
  4. Notice: Message drafted in compose box to User A continues to show in compose box in chat with User B

Issue 2:

After drafting message text in the compose box for (but prior to sending), text continues to show after clicking into another chat (3 users)

  1. Open a chat with User A
  2. Enter text into the compose box (but do not send)
  3. Switch to chat with User B
  4. Switch to a chat with User C
  5. Notice: Message drafted in compose box to User A continues to show in compose box in chat with User C

Issue 3:

Draft icon continues to show when text does not exist in the compose box

  1. Open a chat with User A
  2. Enter text into the compose box (but do not send), wait 3-5 seconds
  3. Switch to chat with User B
  4. Go back to chat with User A, delete the text drafted in compose box
  5. Switch to chat with User C
  6. Notice: Draft icon continues to show next to User A even though you deleted the text in the compose box

Workaround:

N/A

Platform:

Desktop app v1.0.6-0

Notes/Photos/Videos:

Issue 1: After drafting message text in the compose box for (but prior to sending), text continues to show after clicking into another chat (2 users)**

Issue.No.1.repro.mp4

Issue 2: After drafting message text in the compose box for (but prior to sending), text continues to show after clicking into another chat (3 users)

Issue.No.3.mp4

**
Draft icon continues to show when text does not exist in the compose box

Issue.3.repro.mp4

Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/157277

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions