-
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
[$500] IOU - App redirects to same page after deleting Manual IOU and returning to previous page #28839
Comments
Triggered auto assignment to @mallenexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @robertjchen ( |
@tienifr I think this is a regression from your PR and should be handled as so, this should have been tested in your PR cc @mananjadhav Can you please comment on this issue so we can assign you and you can fix this as a follow up in the regression period. I dont think this is a deploy blocker because this was (differently) broken before, but I think that PR should not just leave the App in this state |
Thanks for pointing out. Let me investigate. |
@mountiny @mallenexpensify I don't think this comes from my PR. After revert these changes, I still can see this bug Screen.Recording.2023-10-05.at.11.59.13.movand another bug Screen.Recording.2023-10-05.at.11.59.44.mov |
Thanks |
Job added to Upwork: https://www.upwork.com/jobs/~01e3f1510a12df23f3 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When deleting an IOU request, "goBack" navigates to the same page. What is the root cause of that problem?The root cause lies in the following code: Lines 1651 to 1663 in 1663440
On What changes do you think we should make in order to solve the problem?We are already handling cases of 2 different nested levels:
However, we need to make these changes: if (shouldDeleteIOUReport) {
// Pop the deleted report screen before navigating. This prevents navigating to the Concierge chat due to the missing report.
Navigation.goBack(ROUTES.HOME);
- Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(iouReport.chatReportID));
+ if (isSingleTransactionView) {
+ // Pop the deleted transaction screen before navigating.
+ Navigation.goBack(ROUTES.HOME);
+ }
+ const chatReportRoute = ROUTES.REPORT_WITH_ID.getRoute(iouReport.chatReportID);
+ if (!Navigation.isActiveRoute(chatReportRoute)) {
+ Navigation.navigate(chatReportRoute);
+ }
} This code does 2 things:
Result (both scenarios):iou-delete-navigation-chrome.movWhat alternative solutions did you explore? (Optional)It may make sense to:
WDYT? |
@mountiny please help check if it dupes #27436 (comment) |
Does seem similar, this should probably be also on hold for #26498 if not closed. |
Put this on hold |
@robertjchen, @Ollyws, @mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@robertjchen, @Ollyws, @mallenexpensify Huh... This is 4 days overdue. Who can take care of this? |
@robertjchen, @Ollyws, @mallenexpensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Bumped to weekly, as it's on hold |
Still on hold for now |
This issue has not been updated in over 15 days. @robertjchen, @Ollyws, @mallenexpensify eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Still on hold for now |
I can no longer reproduce, we're good to close this one. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue found when executing PR #28247
Action Performed:
Expected Result:
User is landed in the previous page which is 1:1 DM
Actual Result:
User is landed to the same IOU report page
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.77-5
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug6224781_1696434117548.Screen_Recording_20231004_210422_New_Expensify.mp4
Production
Screen_Recording_20231004_211424_New.Expensify.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: