-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$250] Group chat - LHN preview shows "made admin" incorrectly when changing Group Chat member role #41837
Comments
Triggered auto assignment to @anmurali ( |
@anmurali 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 |
@anmurali Eep! 4 days overdue now. Issues have feelings too... |
Job added to Upwork: https://www.upwork.com/jobs/~01d089c025af3fea83 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani ( |
I am Michał from Callstack - expert contributor group. I’d like to work on this job. |
I've managed to reproduce that. Can you specify what expected result should be here? Should we display message about making a new admin in chat and LHN is previewing the message correctly or should we preview last message send in chat and ignore info about making a new admin - so LHN is previewing message incorrectly? |
IMO, the Expected result should be that the system message should display a message in chat that |
In that case I believe the issue is on the BE side. This message about making someone an admin is a whisper targeted only at selected account IDs and not a message sent to the whole chat room. App/src/pages/home/report/ReportActionsList.tsx Lines 200 to 211 in e8ae3c5
App/src/libs/ReportActionsUtils.ts Lines 539 to 542 in e8ae3c5
In order for the message to display properly it should not be a whisper |
Hi @marcaaron I am tagging you here because this issue is related to Group creation flow. Recently, you have worked on this PR, and in that PR we have added a comment about system messages, so the issue we are getting here is: If we make a user to admin and then refresh the page, we are getting the text So we have two questions:
Note: Removed User and Invited User system message shown in both chat and the LHN. |
Incorrect, this should only appear for the user who's role was changed.
I would say that it should not be showing up at all. It's a whisper message intended for one person so it should not appear. Can you verify where this data comes from? |
I updated the title and description as there were some things incorrect about it. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Group chat - LHN preview shows "made admin" incorrectly when changing Group Chat member role What is the root cause of that problem?Component displaying the text on the LHN uses this util method - App/src/libs/OptionsListUtils.ts Line 635 in e8ae3c5
I'm rather sure that this is correct behaviour from the BE side (would be great to double check with someone who is certain of it) What changes do you think we should make in order to solve the problem?We should update this line so it returns text from last visible report action instead.
What alternative solutions did you explore? (Optional)If it would be case that BE returns incorrect |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@anmurali @jayeshmangwani this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
You mean this logic https://github.com/Expensify/Auth/pull/10734/files#diff-71e5dfb89f61488924fbd1778e402bfe798b419a31c368f1ca7dd3d2aa0a5387R6965? Yeah, I think I agree, before my change it was only the |
Hopefully, a good side effect where the LHN has the correct message in it 😄 |
@anmurali, @jayeshmangwani Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@anmurali, @jayeshmangwani Still overdue 6 days?! Let's take care of this! |
Not overdue, BE issue so will be handled internally |
@anmurali, @jayeshmangwani Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@rlinoz Has an internal issue been created to handle this backend bug, or should we assign someone to handle it? |
No internal issue has been created, I believe we can add the hot pick to this one though, since it already has the internal label. |
@anmurali, @jayeshmangwani Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Hot Pick label added, though waiting to be picked by an internal engineer. |
@anmurali, @jayeshmangwani Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Waiting for an internal engineer to grab this |
@anmurali, @jayeshmangwani Whoops! This issue is 2 days overdue. Let's get this updated quick! |
All things split is paused. So would make sense to make this a Monthly. |
@anmurali, @jayeshmangwani, this Monthly task hasn't been acted upon in 6 weeks; closing. If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead. |
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.71-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: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The whisper message in LHN should not be there for the incorrect user.
Actual Result:
The group chat preview in LHN shows system message for making member admin after the app is restarted (incorrect) while there is no system message in the group chat (correct)
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6474443_1715138110463.20240508_110803.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @jayeshmangwaniThe text was updated successfully, but these errors were encountered: