Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD for payment 2024-02-05] [HOLD for payment 2024-02-01] Group chat - Group chat shows only creator avatar in LHN and creator in member list #35075

Closed
5 of 6 tasks
lanitochka17 opened this issue Jan 24, 2024 · 12 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Jan 24, 2024

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.31-2
Reproducible in staging?: Y
Reproducible in production?: N
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Click FAB > Start chat
  2. Select a few users and create the group chat
  3. Click on the chat header
  4. Click Members

Expected Result:

In Step 2, the group chat will show the avatar of current user with +n indicator
In Step 4, member list will include all the members involved

Actual Result:

In Step 2, the group chat only shows the group creator avatar
In Step 4, member list only includes the group creator

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6353432_1706113774370.20240124_195811__1_.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Jan 24, 2024
Copy link

melvin-bot bot commented Jan 24, 2024

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

Copy link
Contributor

👋 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.

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-vsp
CC @quinthar

@arosiclair
Copy link
Contributor

Reproduced on staging v1.4.31-4

Screenshot 2024-01-24 at 12 35 23 PM

@arosiclair
Copy link
Contributor

arosiclair commented Jan 24, 2024

Definitely seems to be a backend issue in OpenReport as there are a bunch of duplicate/unnecessary Onyx updates in there.

Confirmed by the issue only being reproduced after coming back online:

Screen.Recording.2024-01-24.at.12.59.02.PM.mov

@arosiclair
Copy link
Contributor

Okay this seems to be caused by ReportUtils.getVisibleMemberIDs. It uses report.visibleChatMemberAccountIDs but this is empty for group chats. That doesn't seem right, but that is how both staging and prod APIs behave so this just seems to be a regression from #34237.

Reverting the PR fixes the issue:

Screenshot 2024-01-24 at 3 19 06 PM

cc @FitseTLT @akinwale @MonilBhavsar

@arosiclair
Copy link
Contributor

Revert is here.

@MonilBhavsar I don't have all of the context, but ReportUtils.getVisibleMemberIDs looks like data massaging and seems wrong to me. I think we should fix our Onyx updates to send this array correctly for all types of reports so there's no need for that function.

@thienlnam
Copy link
Contributor

Merged and CPed - thanks @arosiclair!

@thienlnam thienlnam removed the DeployBlockerCash This issue or pull request should block deployment label Jan 25, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jan 25, 2024
@melvin-bot melvin-bot bot changed the title Group chat - Group chat shows only creator avatar in LHN and creator in member list [HOLD for payment 2024-02-01] Group chat - Group chat shows only creator avatar in LHN and creator in member list Jan 25, 2024
Copy link

melvin-bot bot commented Jan 25, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 25, 2024
Copy link

melvin-bot bot commented Jan 25, 2024

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

If no regressions arise, payment will be issued on 2024-02-01. 🎊

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jan 29, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-02-01] Group chat - Group chat shows only creator avatar in LHN and creator in member list [HOLD for payment 2024-02-05] [HOLD for payment 2024-02-01] Group chat - Group chat shows only creator avatar in LHN and creator in member list Jan 29, 2024
Copy link

melvin-bot bot commented Jan 29, 2024

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

If no regressions arise, payment will be issued on 2024-02-05. 🎊

@arosiclair
Copy link
Contributor

This is all done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

3 participants