-
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-01-11] [$500] Settings - Invalid contact method revisits not here page #33001
Comments
Triggered auto assignment to @conorpendergrast ( |
Job added to Upwork: https://www.upwork.com/jobs/~019a0d0ed69e19112a |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
I can't reproduce this issue on Linux/Chrome neither in staging, nor in dev |
Able to reproduce on Windows/Chrome Recording.5698.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Invalid contact method revisits not here page on navigating back What is the root cause of that problem?The root cause of the problem is this line of code App/src/libs/actions/Report.js Line 2014 in bdbfb2a
that was added in this pr to solve a deep linking issue on logout for Android. So when we manually navigate to a link openReportFromDeepLink is called and inside it we run this line of code after interaction via InteractionManager.runAfterInteractions .App/src/libs/actions/Report.js Line 2014 in bdbfb2a
So this line of code will push an unnecessary additional route ( RightModalNavigator ) to navigation state adding unnecessary RightModalNavigator route. So when navigating back it will navigate back to the other unnecessarily added RightModalNavigator route added which in this case is not found page .
What changes do you think we should make in order to solve the problem?We just need to add a condition here App/src/libs/actions/Report.js Line 2014 in bdbfb2a
to check that it is native b/c we only need it to run for native as I explained to fix deep linking problem linked to this pr. so change it to
POC: 2023-12-13.22-36-13.mp4What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.App displays Hmm its not here page again on click of 'Go back to contacts page' after reload on any invalid email details page What is the root cause of that problem?When the app is initially loaded, we'll navigate to the initial route here, this is to make sure deeplinking while logged out on various platforms work as expected. We already have logic here to make sure we don't push that route if the that route is currently the active route. That's exactly so that issues like this don't happen. However, the logic to check if a route is active here, has a bug. The Meanwhile the So even if the routes are the same, due to different encoding, they will become not equal, leading to this issue. What changes do you think we should make in order to solve the problem?We should make sure to URI-decode the
What alternative solutions did you explore? (Optional)Encoding the We can use the same logic that
We can consider handling all cases as the react-navigation encoding logic itself, but the simplified version above should be enough to fix this issue. An alternative suggested here is we can use the |
Taking this as C+ |
@FitseTLT Thanks for the proposal. Your RCA is not correct. You found a cause but not the root cause. |
@dukenv0307 Thanks for the proposal. Your RCA is correct. However the solution feels a little workaround-ish given that the bug seems to be in cc @mananjadhav in case you remember any specific case not to use |
@FitseTLT It's important that we fix the root cause of the identified problem. |
@conorpendergrast Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@s77rt I don't think the behavior of
@s77rt This is a viable option as well, I've tested with many related issues (that relate to changes to getActiveRoute over time) and it works fine and doesn't cause regressions. I've updated my proposal to cover that in alternative solutions. If we go with this, I'll make sure to test all flows where we use
I believe this case is outdated and not present in the current app. |
@conorpendergrast Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@dukenv0307 Let's go the the 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @dangrous, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Nope! Thankfully they are effectively equivalent from a compensation perspective. I've edited Melvin's comments to make it easy for Future Conor. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.21-4 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-01-11. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Regression Test Proposal
|
Issue is ready for payment but no BZ is assigned. @twisterdotcom you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
?? @conorpendergrast are you not BZ anymore? |
I am still on BZ. I'll handle payment
Conor Pendergrast
Concierge Team, Expensify
…On Thu, 11 Jan 2024 at 17:14, Ted Harris ***@***.***> wrote:
but no BZ is assigned
?? @conorpendergrast <https://github.com/conorpendergrast> are you not BZ
anymore?
—
Reply to this email directly, view it on GitHub
<#33001 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMIT3NDVKF5R7UNDBNPI4TYOAMXJAVCNFSM6AAAAABATU3GOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGYYDOMBVGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Payouts due:
Upwork job is here. |
Regression test request created here: https://github.com/Expensify/Expensify/issues/359845 All done, thanks everyone! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.12.0
Reproducible in staging?: y
Reproducible in production?: y
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
App should not display Hmm its not here page again on click of 'Go back to contacts page'
Actual Result:
App displays Hmm its not here page again on click of 'Go back to contacts page' after reload on any invalid email details page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6312076_1702492319032.windows_chrome_-_invalid_contact_twice_back_issue.mp4
Bug6312076_1702492318874.mWeb_-_invalid_contact_twice_back_issue.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @conorpendergrastThe text was updated successfully, but these errors were encountered: