App icon indicating copy to clipboard operation
App copied to clipboard

Web - Group chat - Unable to create a group chat via search input after deselecting members

Open kbecciv opened this issue 1 year ago • 8 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.58-0 Reproducible in staging?: y Reproducible in production?: n Issue found when executing PR: https://github.com/Expensify/App/pull/37458 Issue reported by: Applause _ Internal Team

Action Performed:

  1. Click on FAB > Start a chat > Select multiple users either from existing contact or by using the search bar
  2. Go to the next step
  3. Deselect all the previously added group contacts
  4. Go back to the previous page
  5. Try the add to group method to add contacts and confirm that works
  6. Deselect any members added
  7. Try to search for a new contact using the search field
  8. Click on add to group once the contact shows up
  9. Search for another contact and click on add to group
  10. Clear the search field to see the selected contacts
  11. Once again do step 7, step 8 and step 9
  12. Click on create a chat and observe the new created chat avatar and header

Expected Result:

The two contacts added on step 7, step 8 and step 9 should be added and be present in the selected list

Actual Result:

No contacts are visible as being selected to be in the group and once done with step 12 the created chat shows a group chat avatar while it is a chat between 1:1 DM.

Workaround:

n/a

Platforms:

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

  • [ ] Android: Native
  • [ ] Android: mWeb Chrome
  • [ ] iOS: Native
  • [ ] iOS: mWeb Safari
  • [x] MacOS: Chrome / Safari
  • [ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/Expensify/App/assets/93399543/036b56bb-c9b4-4b9a-917b-47e71401a0be

View all open jobs on GitHub

kbecciv avatar Mar 29 '24 21:03 kbecciv

Triggered auto assignment to @marcochavezf (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

melvin-bot[bot] avatar Mar 29 '24 21:03 melvin-bot[bot]

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

github-actions[bot] avatar Mar 29 '24 21:03 github-actions[bot]

We think that this bug might be related to #vip-vsb

kbecciv avatar Mar 29 '24 21:03 kbecciv

It looks like this is coming up with a new functionality for Group chats, which was recently implemented: https://github.com/Expensify/App/issues/39295. So it shouldn't be a deploy blocker

marcochavezf avatar Mar 30 '24 00:03 marcochavezf

Thanks @marcochavezf if you want me to take over feel free to assign! No problem 👍

marcaaron avatar Mar 30 '24 01:03 marcaaron

Ok sounds good, assigning it to you!

marcochavezf avatar Mar 30 '24 01:03 marcochavezf

@s77rt lmk if you want to work on this one with me?

marcaaron avatar Mar 30 '24 01:03 marcaaron

@marcaaron Sure! Will look into this asap

s77rt avatar Mar 30 '24 01:03 s77rt

Job added to Upwork: https://www.upwork.com/jobs/~017b977d3a359504bf

melvin-bot[bot] avatar Apr 03 '24 01:04 melvin-bot[bot]

Current assignee @s77rt is eligible for the External assigner, not assigning anyone new.

melvin-bot[bot] avatar Apr 03 '24 01:04 melvin-bot[bot]

Triggered auto assignment to @laurenreidexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

melvin-bot[bot] avatar Apr 03 '24 01:04 melvin-bot[bot]

@s77rt helped us fix this and raised the PR. There was no other C+ on this one.

marcaaron avatar Apr 03 '24 01:04 marcaaron

This issue can be closed. Payment will be handled in the original issue

s77rt avatar Apr 03 '24 01:04 s77rt

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

melvin-bot[bot] avatar Apr 08 '24 10:04 melvin-bot[bot]

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

  • https://github.com/Expensify/App/pull/39312

If no regressions arise, payment will be issued on 2024-04-15. :confetti_ball:

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

  • @s77rt requires payment (Needs manual offer from BZ)

melvin-bot[bot] avatar Apr 08 '24 10:04 melvin-bot[bot]

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:

  • [ ] [@s77rt] The PR that introduced the bug has been identified. Link to the PR:
  • [ ] [@s77rt] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [ ] [@s77rt] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [ ] [@s77rt] Determine if we should create a regression test for this bug.
  • [ ] [@s77rt] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [ ] [@laurenreidexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

melvin-bot[bot] avatar Apr 08 '24 10:04 melvin-bot[bot]

  • The PR that introduced the bug has been identified: https://github.com/Expensify/App/pull/37458
  • The offending PR has been commented on: https://github.com/Expensify/App/pull/37458#discussion_r1558108310
  • A discussion in #expensify-bugs has been started: Not needed (unique bug)
  • Determine if we should create a regression test for this bug: No (not something that could just resurface)

s77rt avatar Apr 09 '24 18:04 s77rt