-
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-07-17] [$250] Track - Missing "Delete expense" in report details page when expense is tracked in self DM #44334
Comments
Triggered auto assignment to @sakluger ( |
@sakluger 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 |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue."Delete expense" is not present in report details page when expense is tracked in self DM What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue."Delete expense" is not present in report details page when expense is tracked in self DM What is the root cause of that problem?Track expense report is a single transaction view. In other words, it is the thread transaction report itself. But the condition here using App/src/pages/ReportDetailsPage.tsx Lines 190 to 191 in 17b10c4
This condition is copied from What changes do you think we should make in order to solve the problem?Use App/src/components/MoneyRequestHeader.tsx Line 106 in 6873dd9
ReportUtils.isTrackExpenseReport(transactionThreadReport ?? report) |
Proposal updated
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Missing delete expense option in self DM track expense report details page. What is the root cause of that problem?The condition to show the delete expense is shown as below: App/src/pages/ReportDetailsPage.tsx Lines 190 to 191 in 621e8fc
The condition that fails in self DM track is App/src/pages/ReportDetailsPage.tsx Lines 95 to 100 in 621e8fc
For self DM track, What changes do you think we should make in order to solve the problem?The Instead, we should check if it's a self DM track or not with below condition:
This is the same solution with my proposal here but on a different component and case. |
@sakluger Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~01bb4860cbcf9ab40f |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani ( |
I agree with @bernhardoj 's Proposal to check the isSelfDM condition for the canDeleteRequest check. LGTM 🚀 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @stitesExpensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
This comment was marked as outdated.
This comment was marked as outdated.
@dominictb I see that your comment has been marked as outdated. Is there anything I can help with regarding the selected proposal? |
@jayeshmangwani Thanks. I got a result why we need to check isSelfDM, so I marked my question as outdated. And the selected proposal LGTM. |
Thanks for the understanding! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 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-07-17. 🎊 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:
|
I'll request in ND once payment is due. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 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-07-22. 🎊 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:
|
The payment should be due tomorrow (07-17) |
Thanks @bernhardoj! I'll complete payments tomorrow. @jayeshmangwani could you please complete the BZ checklist? |
I requested in ND. |
Regression Test Proposal
Do we agree 👍 or 👎 |
@sakluger hi, I have requested the payment in ND (not paid yet). Can/should I refund the upwork so I get paid in ND? |
@bernhardoj, I'm sorry - I missed your comment about requesting in NewDot. Let me find out if it's possible to reverse the Upwork payment. |
Hi @bernhardoj - I requested a refund in Upwork. Can you please confirm the refund and let me know once you have done so? |
@sakluger I have issued the refund |
Summarizing payment on this issue: Contributor: @bernhardoj $250, please request on NewDot |
$250 approved for @bernhardoj |
Requested $250 |
$250 approved for @jayeshmangwani |
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: 9.0.1-10
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:
"Delete expense" will be present in report details page when expense is tracked in self DM
Actual Result:
"Delete expense" is not present in report details page when expense is tracked in self DM
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6523362_1719259207236.20240625_035453.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @saklugerThe text was updated successfully, but these errors were encountered: