-
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] Tapping on back arrow in the thread takes user to LHN instead of the parent message #36040
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01a2adb75f9035e2a6 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Triggered auto assignment to @garrettmknight ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tapping on back arrow in the thread takes user to LHN instead of the parent message What is the root cause of that problem?The main problem with this issue is that when we press back we always return to Home on Report screen page App/src/pages/home/ReportScreen.js Lines 289 to 291 in 04795f9
What changes do you think we should make in order to solve the problem?To fix this issue we can update this function and add new condition
Also, we can make these changes optional for small screens What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tapping on back arrow in the thread takes user to LHN instead of the parent message What is the root cause of that problem?We reroute all type of App/src/pages/home/ReportScreen.js Lines 289 to 291 in 04795f9
What changes do you think we should make in order to solve the problem?Reroute all const goBack = useCallback(() => {
Navigation.goBack();
}, []); What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tapping on back arrow in the thread takes user to LHN instead of the parent message What is the root cause of that problem?This is a regression caused by recent changes (Ideal Nav) #33280 of setting the App/src/libs/Navigation/Navigation.ts Lines 229 to 230 in f6ba751
So whenever possible it will navigationRef.current.goBack so it worked fine
What changes do you think we should make in order to solve the problem?Now everywhere we are calling
Or similarly everywhere in the codebase we are using What alternative solutions did you explore? (Optional) |
Unassiging this one due to low bandwidth, please reassign @garrettmknight! |
This should be part of #35626 |
@adamgrzybowski please confirm that your PR fixes this as well |
this issue is tracked in this GH issue. Closing 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!
Version Number: 1.4.38-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: @quinthar
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1707282748260789
Action Performed:
Expected Result:
Taking user to parent message
Actual Result:
Takes user to LHN
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
az_recorder_20240207_110102.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: