Skip to content

[HOLD for payment 2021-12-15] $500 Chat Switcher - Draft message from previous conv is displayed after using chat switcher #4756

Description

@isagoico

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel! https://www.upwork.com/jobs/~01e5dccfcff059ed0f


Action Performed:

Please, see this comment for further investigation and reproduction steps. Some of the hints might helps us find what is exactly going wrong.

  1. Navigate to a conversation
  2. Write something in compose box
  3. Use ctrl+k command
  4. Select another conversation

Expected Result:

Nothing should be displayed in compose box if the selected conversation didn't have a draft

Actual Result:

The draft from the previous conversation is displayed on the current conversation.

Workaround:

For chats with people which they have already chatted with, they can use the LHN chat switcher and the drafts are not transferred. Also when user sends a message to someone or composes a draft which is then deleted, they wont experience this bug for the given chat.

When this will prevail is in case user creates chat with new person using the Ctrl + k chat switcher.

Platform:

Where is this issue occurring?

  • Web
  • Desktop App

Version Number: 1.0.86-2

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Recording.206.mp4

Expensify/Expensify Issue URL:

View all open jobs on GitHub


From @iwiznia https://expensify.slack.com/archives/C01GTK53T8Q/p1629393716037000

BUG: (tested on web, staging, probably deploy blocker): draft is not working properly. Steps:
Write something in the chat but don't send it
Switch to another chat using CMD+K shortcut
See that draft message is carried over to the chat you switched, when it should not

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionEngineeringExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions