-
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-11-29] [$250] Track expense - Options are still present in thread details after the expense is deleted #52628
Comments
Triggered auto assignment to @alexpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Options are still present in thread details after the expense is deleted What is the root cause of that problem?We do not check if App/src/pages/ReportDetailsPage.tsx Line 378 in 88713ab
What changes do you think we should make in order to solve the problem?Add What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Track expense - Options are still present in thread details after the expense is deleted What is the root cause of that problem?The track expense option is displayed if a report is a track expense report. App/src/pages/ReportDetailsPage.tsx Line 378 in 88713ab
Line 1651 in 88713ab
After we delete a track expense, the parent report action still has What changes do you think we should make in order to solve the problem?Return false in
Line 1651 in 88713ab
Or we can do this in What alternative solutions did you explore? (Optional)Or after we delete the track expense, we should remove the |
Job added to Upwork: https://www.upwork.com/jobs/~021858671461676585752 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 ( |
@ikevin127 when you get a chance, please review these proposals and identify whether one will fix the issue. Thank you! |
@twilight2294's proposal looks good to me. The RCA is correct and the proposed solution fixes the issue. The reason I'm for the first solution and not for the 2nd proposal's solution is because Adding a check which determines whether the track expense's parent report action was deleted would bring about regressions in those instances where the extra check is not needed. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @carlosmiceli, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@ikevin127 I don't think we should consider a report as a track expense report if the parent report action is deleted.
App/src/pages/home/ReportScreen.tsx Line 261 in f77087f
|
thanks @ikevin127 for choosing my proposal, I agree that checking |
@nkdengineer I understand where your proposal is coming from but in this case, based on the issue and its expected result I think adding the check where the first proposal suggested is a simple fix that targets the expected result directly and keeps things within the scope of the issue. My goal with this review is to keep it within the scope of the issue and not change code which would affect other parts of the app in unknown ways. If @carlosmiceli considers we should extend the scope of the issue, go with your solution and extend the testing because of all other places where the check is used - then I don't have anything against that. @twilight2294 There's no need to reinforce what the reviewer (me, in this case) already decided on, or thumbs down the other contributor's comments as that doesn't bring about anything constructive and the discussion can go down some paths which might not be ideal. Speaking from experience, most of the times it doesn't help when a contributor becomes hostile or defensive towards another. Let's keep things cordial and await CME's final decision 🙏 |
📣 @ikevin127 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @twilight2294 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
I followed your recommendations, @ikevin127 @mallenexpensify, just fyi. |
PR ready for review c.c. @ikevin127 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.65-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-11-29. 🎊 For reference, here are some details about the assignees on this issue:
|
@ikevin127 @alexpensify @ikevin127 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal
Do we agree 👍 or 👎. |
cc @alexpensify for visibility |
Payouts due: 2024-11-29
Upwork job is here. The payment process has been completed here via Upwork. |
@alexpensify for payment summaries can you use the below format that makes it clear if an issue's is due or paid (and where they're paid). Thx Contributor: @ paid $ via Upwork |
@mallenexpensify - I followed up in the B0 Slack room since the template is off in TE, not sure if there are others. |
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.63-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Track expense options should not be displayed in thread after the expense is deleted
Actual Result:
Track expense options is still displayed in thread after the expense is deleted.
The options lead to not here page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6666489_1731686292257.20241115_235512.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @alexpensifyThe text was updated successfully, but these errors were encountered: