-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[$250] Duplicate expense - Review duplicates confirmation displays again when going back after resolving the duplicates #58497
Comments
Triggered auto assignment to @kadiealexander ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-03-14 16:02:44 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Duplicate expense - Review duplicates confirmation displays again when going back after resolving the duplicates What is the root cause of that problem?This is because we navigate without poping the state from navigation stack in App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Lines 334 to 349 in b09e2d1
and App/src/pages/TransactionDuplicate/Confirmation.tsx Lines 63 to 65 in b09e2d1
App/src/hooks/useReviewDuplicatesNavigation.tsx Lines 56 to 59 in b09e2d1
What changes do you think we should make in order to solve the problem?We can goBack to the report instead of navigate when confirming the merge duplicates here
or dismissModal as we do for resolveDuplicates
or What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N / A - navigation bug or if needed we can make a test similar to GoBackTests to assert that the duplicate screens are removed from the screen stack after finishing the merge duplicate flow What alternative solutions did you explore? (Optional) |
I think it is dupe of #58460 |
Job added to Upwork: https://www.upwork.com/jobs/~021901506012348084549 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
@jjcoffee If this issue is a duplicate of #58460, could you also help review my proposal in chronological order - Since that issue is created first? Thanks! |
@truph01 Can you repost your proposal here? I'll take into account the time it was posted on the other issue. |
Re-post my proposal: ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
Here’s the breakdown of the screen stack after that action: Root Stack
├── ReportsSplitNavigator
│ ├── Home
│ └── Report [reportID: 8848574196123131]
├── RightModalNavigator
│ └── TransactionDuplicate
│ ├── Transaction_Duplicate_Review [threadReportID: 8848574196123131]
│ └── Transaction_Duplicate_Confirmation [threadReportID: 8848574196123131]
└── ReportsSplitNavigator (duplicate)
├── Home
└── Report [reportID: 8848574196123131]
What changes do you think we should make in order to solve the problem?
or
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional) |
Triggered auto assignment to @aldo-expensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@jjcoffee In this video, we start with two separate transactions before merging. After the merge, the user is first navigated to the transaction thread (following my proposal using the dismiss method). When going back from there, the user is redirected to the expense report. However, since the transactions are now combined into one, the expense report appears identical to the transaction thread in term of one-transaction-thread. It isn't that the duplicate screens are shown as mentioned in the comment above. The solution to address this issue is that, in here, we will calculate the number of transaction after merging, if it is only one transaction, the target report is
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue was found while executing QA for PR #57197
Version Number: 9.1.13-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: #57197
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: iOS 18.3.1/ iphone 16 pro
App Component: Money Requests
Action Performed:
Expected Result:
Tap back button from resolved duplicate page, app should return to workspace report
Actual Result:
Tap back button from resolved duplicate page, Review duplicates confirmation displays again. Tap back on it, Keep all button is displayed
Workaround:
Unknown
Platforms:
Screenshots/Videos
bug.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: