-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-12-17] [HOLD for payment 2024-12-16] [$250] Expense - Not here page shows up briefly when deleting the expense #45576
Comments
Triggered auto assignment to @sonialiap ( |
Triggered auto assignment to @iwiznia ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
We think this issue might be related to the #collect project. |
Production Screen_Recording_20240717_113000_Chrome.mp4 |
Job added to Upwork: https://www.upwork.com/jobs/~01c66dfe570a289fac |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
We pass App/src/pages/ReportDetailsPage.tsx Line 778 in fc9b7ac
This will trigger us to dismiss the modal first and then navigate back: Lines 3594 to 3600 in fc9b7ac
Simplest fix would be to use the check the screen size from the hook const {isSmallScreenWidth} = useResponsiveLayout();
ReportUtils.navigateBackAfterDeleteTransaction(navigateBackToAfterDelete.current, !isSmallScreenWidth ? true: false); I assume there is a check for large screen too, both can be used either ways |
I assume that is what was intended with the PR #44537 |
does that make sense to you @iwiznia ? |
Oh right, seems that PR did not fix the issue it was intended to fix, going to close in favor of that issue |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Edited by proposal-police: This proposal was edited at 2024-08-06 13:59:34 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Not here page shows up briefly when deleting the expense. What is the root cause of that problem?After deleting the transaction, we delete the data first here, then navigate later App/src/pages/ReportDetailsPage.tsx Line 778 in 3710936
So the data will be updated even before the user finishes the navigation back, this causes the brief deleted-transaction data (not found page/ What changes do you think we should make in order to solve the problem?We should navigate the user back first, then delete the transaction data in the background after the user has successfully navigated. This will make sure through out the navigation back, the user still sees the correct transaction data.
So at this step we just set the
In summary, we only change the order in which optimistic data update and navigation back happens, we don't make any logic change. That's for submit expense case, we should check track expense case and handle in similar manner. What alternative solutions did you explore? (Optional)We could additionally add the change suggested above here, but this does not fully fix the issue, Alternative to |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.72-1 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-12-16. 🎊 For reference, here are some details about the assignees on this issue:
|
@alitoshmatov @sonialiap @alitoshmatov 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] |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.73-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-12-17. 🎊 For reference, here are some details about the assignees on this issue:
|
@alitoshmatov @sonialiap @alitoshmatov 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] |
Triggered auto assignment to @RachCHopkins ( |
I'm OOO Dec 16-20, adding a leave buddy next steps:
|
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:Test:
Do we agree 👍 or 👎 |
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.8-1
Reproducible in staging?: Y
Reproducible in production?: N
Found when executing PR : #44537
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
Not here page will not show up when deleting the expense.
Actual Result:
Not here page shows up briefly when deleting the expense.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6544678_1721193497553.ScreenRecording_07-17-2024_13-15-33_1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @sonialiapThe text was updated successfully, but these errors were encountered: