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.49k stars 2.84k forks source link

[HOLD for payment 2023-08-24] Show chats in the LHN that have at least 1 ADDComment action, or 1 draft message #14523

Closed JmillsExpensify closed 1 year ago

JmillsExpensify commented 1 year 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!


Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Login with any account
  3. Search for a user that you don't have any messages with, open the chat but don't send any message

Expected Result:

Chat should not show in the LHN as there is not at least 1 ADDComment action, or 1 draft message.

Actual Result:

Empty chat shows in the LHN and remains in the LHN after simply navigating to it.

Workaround:

None

Platforms:

Which of our officially supported platforms is this issue occurring on?

Version Number: 1.2.58-3 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation Expensify/Expensify Issue URL: Issue reported by: Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01fbd874b8451c4608
  • Upwork Job ID: 1618016837618089984
  • 2023-01-24
  • Automatic offers:
    • | | 0
melvin-bot[bot] commented 1 year ago

Reviewing label has been removed, please complete the "BugZero Checklist".

melvin-bot[bot] commented 1 year ago

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.3.54-13 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-08-24. :confetti_ball:

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

For reference, here are some details about the assignees on this issue:

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

melvin-bot[bot] commented 1 year ago

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

JmillsExpensify commented 1 year ago

Woo! It's live. Great work everyone getting this merged.

JmillsExpensify commented 1 year ago

@thesahindia Can you get the BZ checklist kicked off?

thesahindia commented 1 year ago

It's a new feature. We can add a test case if we don't have one

Empty chat shouldn't stay in LNH

  1. Sign into newDot
  2. Start a new chat with an account.
  3. Make sure the new chat opens and is shown in the LNH
  4. [WEB ONLY]: Copy the chat's reportID (last number in the chat's URL)
  5. Open another existing chat (like concierge), make sure the chat disappears from the LNH
  6. Start a chat again with that same account, make sure the account shows up in the Options list since you already had a chat with it before
  7. Make sure the chat opens and has the same reportID (has the same URL)

    Chat should stay in LNH if it has a Draft

  8. In the same chat of used in the previous test, type some text into the composer but do not send the message
  9. Open another existing chat (like concierge), make sure the chat stays in the LNH and shows the draft icon

    Not-Empty chat should stay in LNH

  10. Send a message in the same chat from the previous test.
  11. Open another existing chat (like concierge), make sure the chat stays in the LNH.

    Deleting messages and leaving chat empty should remove it from LNH

  12. Open a chat that has a message sent inside it
  13. Delete that message so the chat becomes empty
  14. Open another existing chat (like concierge), make sure the chat disappears from the LNH.

    Same tests w/ Group Chat

  15. Start a new group chat with two accounts "B" and "C"
  16. Make sure the new chat opens and is shown in the LNH
  17. [WEB ONLY]: Copy the chat's reportID (last number in the chat's URL)
  18. Open another existing chat (like concierge), make sure the chat disappears from the LNH
  19. Start a group chat again with account B and C
  20. Make sure the chat opens and has the same reportID (has the same URL)

    Money request should stay in LNH

  21. Start a new empty chat as userA with existing account userB
  22. Sign in as userB and send a message back to userA so you become known
  23. As userA, send new Money Request to userB inside the chat
  24. As userB, delete the message sent in step 2 so the chat becomes empty
  25. As userA, Open another existing chat (like concierge), make sure the reports don't disappear from the LNH
  26. Make sure both the Money Request and the original report stay in the LNH

    Workspace Chats should stay in LNH

  27. Create a new Workspace in an account
  28. Make sure the #admins, #announce and a workspace chats are created
  29. Open another existing chat (like concierge), make sure none of the workspace related chats disappear from the LNH
  30. Invite another user to the workspace, make sure another workspace chat is created for the invited user
  31. Open another existing chat (like concierge), make sure none of the workspace related chats disappear from the LNH
JmillsExpensify commented 1 year ago

Thanks, sorry I missed your last response. I definitely think we need to add a regression test for every new feature. As for the payment summary, does the above issue technically count as a regression? Otherwise, I believe the payment summary is simply:

bernhardoj commented 1 year ago

@JmillsExpensify I didn't do the PR, so no payment for me.

JmillsExpensify commented 1 year ago

Ah thanks for your honesty! I'm not clear why you're assigned to this issue, though I'll update the payment summary in any case.

JmillsExpensify commented 1 year ago

Regression test has been created so I think we're all done here.

JmillsExpensify commented 12 months ago

$1,000 payment approved for @thesahindia based on BZ summary.