-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-05-14] [$250] Expense Reports-After closing receipt view, app opens Inbox (web), iOS app reopens same report #60101
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
Comments
Triggered auto assignment to @sakluger ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.On web (Step 7), app opens Inbox after closing receipt view. What is the root cause of that problem?We don't handle case that we open the receipt in Expense Report in Search page App/src/pages/TransactionReceiptPage.tsx Lines 97 to 103 in d0c12b6
What changes do you think we should make in order to solve the problem?WE should add the case we open the receipt in Expense Report in Search page by updating the condition here
App/src/pages/TransactionReceiptPage.tsx Lines 101 to 103 in d0c12b6
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Closing the receipt preview from search page leads the user to the report screen. What is the root cause of that problem?When the modal close, we use dismiss modal with a reportID that will open the report page. App/src/pages/TransactionReceiptPage.tsx Lines 96 to 112 in 6569205
When it was implemented, we use goBack with fallback route to the report details (it should be report). But now, we have a complex condition to decide whether to use dismiss modal with or without report. What changes do you think we should make in order to solve the problem?I suggest to simplify it by just using What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A |
@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/~021911809936832796582 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
@rushatgabhane Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@bernhardoj i think the intention is to handle the case when you land on the link directly?
What do you thin of - goBack with fallback route to the report details? |
I can't find a discussion about this on the issue that implemented it, but assuming we apply my proposal, and we access the receipt modal directly, the nav stack will be [Home, ReportScreen, TransactionReceiptPage]. So, the fallback isn't needed since the report screen is already added to the stack.
Just to clarify, report detail is the incorrect fallback, it should be the report screen since user access the receipt from the report screen. |
ahhh thank you for helping me understand |
i like @bernhardoj 's proposal 🎀 👀 🎀 |
Triggered auto assignment to @youssef-lr, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Sounds good! PR merged and is awaiting deploy to staging |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.40-7 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 2025-05-14. 🎊 For reference, here are some details about the assignees on this issue:
|
@rushatgabhane @sakluger / @joekaufmanexpensify @rushatgabhane 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] |
@rushatgabhane could you handle checklist so we can prep to pay next week? |
Pending checklist |
Payment Summary
BugZero Checklist (@sakluger)
|
Paying is pending on @rushatgabhane completing checklist |
Bumped checklist. |
@rushatgabhane bump on checklist when you have a sec! |
Bumped in slack |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:
Do we agree 👍 or 👎 |
TY! This is a pretty minor bug, so I think we can skip adding a new regression test for now. No need to have QA run this one every time. |
All set to pay. We need to pay:
|
@bernhardoj @rushatgabhane Please request payment at your earliest convenience. Closing this as it's otherwise all set. TY! |
Requested in ND. |
$250 approved for @bernhardoj |
Uh oh!
There was an error while loading. Please reload this page.
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.1.27-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: No, reproducible on hybrid only
If this was caught during regression testing, add the test name, ID and link from TestRail: #59735
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.3 / Chrome
App Component: Money Requests
Action Performed:
Precondition:
Expected Result:
On web (Step 7), app will remain on Reports page after closing receipt view.
On mweb, Android/iOS, after closing receipt view and tapping app back button, app will return to Expense Reports.
Actual Result:
On web (Step 7), app opens Inbox after closing receipt view.
On mweb, Android/iOS, after closing receipt view and tapping app back button, app reopens the same report.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6799227_1744358320737.iOS.mp4
Bug6799227_1744358320756.web_.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @sakluger / @joekaufmanexpensifyThe text was updated successfully, but these errors were encountered: