-
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
[$500] Navigation - When opening "Referral" page using link "Got It" button redirect to search #31866
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01f28b50791a020965 |
Triggered auto assignment to @CortneyOfstad ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ArekChr ( |
Proposalfrom: @cooldev900 Please re-state the problem that we are trying to solve in this issue.When opening "Referral" page using link "Got It" button redirect to search What is the root cause of that problem?The root cause is because we get goBack route in getFallbackRoute() function depending on current route and getFallbackRoute() return search route when current route is REFER_FRIEND. App/src/pages/ReferralDetailsPage.js Line 61 in d985a0e
What changes do you think we should make in order to solve the problem?We can delete getFallbackRoute() here. App/src/pages/ReferralDetailsPage.js Line 75 in d985a0e
And we need to update this line App/src/pages/ReferralDetailsPage.js Line 101 in d985a0e
to
What alternative solutions did you explore? (Optional)We need to update getFallbackRoute like it.
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Navigation - When opening "Referral" page using link "Got It" button redirect to search What is the root cause of that problem?We are getting a route to navigate back based on the current route App/src/pages/ReferralDetailsPage.js Lines 56 to 65 in d985a0e
What changes do you think we should make in order to solve the problem?App/src/pages/ReferralDetailsPage.js Line 73 in d985a0e
we should remove onBackButtonPress props and use the default onBackButtonPress as we did on other page What alternative solutions did you explore? (Optional)
|
Proposal Please re-state the problem that we are trying to solve in this issue. What is the root cause of that problem? App/src/pages/ReferralDetailsPage.js Lines 56 to 65 in d985a0e
What changes do you think we should make in order to solve the problem? App/src/pages/ReferralDetailsPage.js Line 61 in d985a0e
We can change this line to return ROUTES.HOME instead of ROUTES.SEARCH What alternative solutions did you explore? (Optional) App/src/pages/ReferralDetailsPage.js Line 101 in d985a0e
|
📣 @salih-bektas! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Issue SummaryWhen users access the "Referral" page through a referral link and attempt to close it using the "Got It" or back buttons, they are redirected to the search page instead of the expected behavior of closing the page. Root CauseThe issue originates from the Proposed ChangesProposalProblem Restatement: Root Cause: Proposed Changes:
Alternative ConsiderationIf necessary, consider adjusting the fallback route directly in the route configuration for REFER_FRIEND (line 61): [CONST.REFERRAL_PROGRAM.CONTENT_TYPES.REFER_FRIEND]: ROUTES.HOME, |
It looks like all proposals will introduce the previous regression where the fix was implementing fallback routes #31628 |
@ArekChr I tested my proposal and the previous bug didn't happen because we handled it in another issue |
@dukenv0307 I tested it, and it works. I agree that we should remove the 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @Beamanator, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@CortneyOfstad Review in progress |
@ArekChr any updates? Thanks! |
@ArekChr bump ^^^ TIA! |
The PR is still being reviewed now. |
@dukenv0307 any update o the PR? Thanks! |
@CortneyOfstad Seem like @ArekChr isn't working. Can you please assign another C+ here? |
@ArekChr is working but just no longer C+. I can take over. |
@CortneyOfstad @Beamanator can you assign another C+ to review the PR? @situchan is volunteering here |
Thanks @situchan ! |
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Thanks @situchan! |
Any update on the PR/review @situchan @dukenv0307? Thanks! |
Waiting for reviewing from @situchan |
yup conflict/lint fixed yesterday so I am planning review today |
@situchan is there any update based on the comment above? If the PR has not been reviewed, do you think this could be completed by EOD? |
@CortneyOfstad PR was deployed to staging 3 days ago. |
Perfect — thank you! |
PR was deployed to production on Feb 26 |
Was OoO last week — not sure why the system didn't update this for payment, but getting that tackled now! |
Payment Summary@dukenv0307 paid $500 via Upwork |
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:
|
@situchan can you complete the checklist above? Thanks! |
Offending PR with comment: https://github.com/Expensify/App/pull/30372/files#r1520060022 |
Sounds good! Closing! |
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.3-6
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:
When opening the "Referral" page using the link, the "Got It" and "<" buttons should close the page
Actual Result:
When opening the "Referral" page using the link, the "Got It" and "<" buttons take the user back to the search page instead of closing the page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6289330_1700818389458.2023-11-24_03-19-46.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: