-
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
[HOLD for payment 2024-08-01] [$250] Invoice - Invoice thread opens when starting DM with the user after sending invoice to them #45187
Comments
Triggered auto assignment to @trjExpensify ( |
@trjExpensify 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.An invoice thread opens when we select the user from new chat page. What is the root cause of that problem?When we select a user, it will try to find the user chat by participants using Lines 5561 to 5584 in a19ef98
The participants of the invoice report is the same as the DM participants, that is [currentUser, the other user]. Because they contains the same participant, What changes do you think we should make in order to solve the problem?Skip invoice report/room when comparing the participant. Lines 5567 to 5577 in a19ef98
(and any other report type if needed) What alternative solutions did you explore? (Optional)I want to propose using Lines 3806 to 3809 in a19ef98
So, the solution is if we aren't searching for group, then we use
Then, we can remove the other checks (thread, group, task, etc.) |
@cristipaval @davidcardoza for eyes on this. |
Job added to Upwork: https://www.upwork.com/jobs/~0165c9231ff254ae89 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Invoice - Invoice thread opens when starting DM with the user after sending invoice to them What is the root cause of that problem?When we start DM with the user, we use Lines 5544 to 5549 in 77d95c5
What changes do you think we should make in order to solve the problem?To avoid this bug happening in the future, we can prioritize the one one chat and group chat. With this change, we can make sure that this function will always return the DM or group first if the participant is matched.
Line 5540 in 77d95c5
What alternative solutions did you explore? (Optional) |
Reviewing proposals |
@bernhardoj's proposal looks good to me. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @cristipaval, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @rayane-djouah 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
PR is ready cc: @rayane-djouah |
Deployed to staging 4 hours ago. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.11-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-08-01. 🎊 For reference, here are some details about the assignees on this issue:
|
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:
|
Checklist time! |
Requested in ND |
|
Hm, I don't think we forgo manual regression testing of features in lieu of automated tests. @cristipaval @davidcardoza are manual regression tests being handed over and added centrally for this project? |
Payment summary as follows:
|
^^ going to hold on the Upwork payment for C+ until we're aligned on this Q. |
@trjExpensify - Below are the manual regression test steps if we decide to include them: Regression Test Proposal
Do we agree 👍 or 👎 |
Cool, thanks! Settled up. 👍 |
$250 approved for @bernhardoj |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.6-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:
DM with the user will open
Actual Result:
Invoice thread with the user opens
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6538039_1720625521824.20240710_232325.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: