Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.46k stars 2.82k forks source link

LHN- LHN shows "This chat is with..." instead of last message if deleting thread message #50685

Open IuliiaHerets opened 2 hours ago

IuliiaHerets commented 2 hours ago

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


Version Number: 9.0.48-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5074346&group_by=cases:section_id&group_order=asc&group_id=292106 Issue reported by: Applause Internal Team

Action Performed:

  1. Open the staging.new.expensify.com website.
  2. Open a chat with some messages displayed.
  3. Right click over the last message.
  4. Click on "Reply in Thread"
  5. Send any message in thread chat.
  6. Delete the just sent reply.
  7. Return to the first chat.
  8. Delete the recently threaded message.
  9. Verify that chat preview in LHN now displays the previous message.

Expected Result:

When deleting the last message of a chat, the chat preview in LHN, should display the previous message.

Actual Result:

When deleting a threaded message, displayed last in a chat conversation, the chat preview shows "This chat is with user" instead of the previous message in chat.

Workaround:

Unknown

Platforms:

Screenshots/Videos

https://github.com/user-attachments/assets/c280f491-364d-46ee-a752-c554232d7e73

View all open jobs on GitHub

IuliiaHerets commented 2 hours ago

We think that this bug might be related to #wave-collect - Release 1

melvin-bot[bot] commented 2 hours ago

Triggered auto assignment to @RachCHopkins (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

IuliiaHerets commented 2 hours ago

@RachCHopkins FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors