-
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
[Ready for C+ checklist and payment][$250] Split - Group chat does not show bill creator name in LHN preview after refreshing the page #39647
Comments
Triggered auto assignment to @kadiealexander ( |
@kadiealexander 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.The LHN subtitle shows the sender name when creating the split bill, but then it disappears. What is the root cause of that problem?When we refresh/wait for a moment, we will get the correct response from the BE and the sender name disappears is already correct because we don't want to show the sender name if it's coming from ourself. App/src/libs/OptionsListUtils.ts Lines 529 to 533 in 2995f2c
The logic to show the sender name is, by taking the report Line 297 in 2995f2c
However, when we create a split bill, the Line 3781 in 2995f2c
If it's empty, we will get it from the last report action person data which contains the user display name. Lines 299 to 307 in 2995f2c
Because 0 is not the same as the current user ID, the current user display name is shown as the sender. What changes do you think we should make in order to solve the problem?Set the We might need to do this for other money request too. What alternative solutions did you explore? (Optional)
OR
|
Job added to Upwork: https://www.upwork.com/jobs/~0126a3e7c5e2856078 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
Reviewing proposals |
@bernhardoj 's proposal looks good to me. I agree with their RCA and their solution. I also agree we should fix other money request flows together. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @aldo-expensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@aldo-expensify bump on this! |
I have some doubts about the "Expected results" being correct here. If we say that the frontend is right, and the split creator name shouldn't appear in the report's last message in the LHN from the perspective of the creator, this means that the last message of the report is different for each participant, and I think we may want to avoid that. @marcaaron can I get your eyes here since I think you know about groups. 🙏 |
I agree 1000%. With Group Chats, we did not really change much about how this works on the frontend side of things though - just replaced the Group DM with a Group Chat so I'm not sure where we went wrong or if this was just always awkward. Could probably take this to #vip-split room and loop in whoever is working on Splits now. cc @arielgreen @dubielzyk-expensify and @youssef-lr? Can we see about rolling this in as a polish item for this project? |
Seems like a minor bug. I agree that it'd be nice to fix it though, but fine with this as a polish item |
@kadiealexander Based on the discussions above, can you help to update the |
@kadiealexander @aldo-expensify @eh2077 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! |
@kadiealexander Friendly bump! |
It is not clear to me from the conversation which option we want, so I asked here https://expensify.slack.com/archives/C05RECHFBEW/p1713833726038629 to confirm |
Sorry @eh2077 @bernhardoj for the back and forward. The conclusion from the slack conversation is: The bill creator name should appear in the last message, and the front end should take care of that. The backend won't send the last message with the bill creator in it. I think this was what @bernhardoj original solution was trying to achieve, correct? This code seems related to that: App/src/libs/OptionsListUtils.ts Lines 711 to 713 in 42d4ed7
|
@aldo-expensify Thanks for driving clarity. @bernhardoj Can you take some time to update proposal based on the expected result^ ? |
My proposal has both behaviors, showing or not showing the sender name if it's the current user. If I understand correctly from @aldo-expensify comment, we always want to show the sender's name, so it should be the 2nd alternative. ![]() |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@bernhardoj Thanks for the update. Yeah, the 2nd alternative makes sense to me. @aldo-expensify All yours. 🎀👀🎀 C+ reviewed |
Current assignee @aldo-expensify is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @eh2077 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @eh2077 |
The fix has hit production #41483 (comment) |
Sorry guys, this one slipped through the cracks! 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:
Payouts due:
Upwork job is here. |
BugZero Checklis
|
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.60-5
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 group chat will continue to show the bill creator name in LHN preview after refreshing the page
Actual Result:
The group chat does not show the bill creator name in LHN preview after refreshing the page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6438312_1712255589440.20240405_023013.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: