-
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 2023-11-30] [$125] Deeplink access of user notify me page and back opens wrong page #30629
Comments
Triggered auto assignment to @adelekennedy ( |
Job added to Upwork: https://www.upwork.com/jobs/~0169068d72e6fa963b |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik ( |
Upwork job price has been updated to $125 |
ProposalProblemDeeplink access of user notify me page and back opens wrong page Root CauseThis happens because in Notification pref. page, when back button is clicked we navigate user to report settings page not user profile page SolutionInstead of linking to a report details we should check if the report is 1:1 DM and in that case navigate user to user details. what we can do is use the utility isOneOnOneChat from your PR and create a new utility goBackToDetailsPage and use the same in notification page when user select a option or click the back icon. /**
* Goback to the details page of a given report
*
* @param {Object} report
*/
function goBackToDetailsPage(report){
if (isOneOnOneChat(report)) {
Navigation.goBack(ROUTES.PROFILE.getRoute(report.participantAccountIDs[0]));
} else if (report.reportID) {
Navigation.goBack(ROUTES.REPORT_SETTINGS.getRoute(report.reportID))
}
}; |
After this PR is merged, we can just use |
@adelekennedy, @robertKozik Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@bernhardoj Do you want to write the proposal for it? |
Oh, that's actually a suggestion for @ishpaul777 proposal so we don't end up creating a redundant function. |
@bernhardoj Please correct me if i am wrong but i think Screen.Recording.2023-11-04.at.4.51.59.PM.movwhat we can do is use the utility |
Oh, you're right, my bad. |
|
done! 🚀 PROPOSAL UPDATED |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@ishpaul777 proposal has been updated - @robertKozik will review |
Thank you @ishpaul777! Your proposal is ready to go. 🎀 👀 🎀 C+ reviewed |
Ok so the navigation code does handle it. And we just provided the wrong "fallback". Got it. Thanks guys! |
📣 @ishpaul777 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @dhanashree-sawant 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@robertKozik @ishpaul777 I am going OOO this next week. If we need a new reviewer please ask in Slack! Otherwise I will look at this as soon as I return. 🤙 |
@ishpaul777 how is the PR going? |
Will raise a pr today! Sorry for delay |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.2-3 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 2023-11-30. 🎊 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:
|
Payouts due: Issue Reporter: $50 @dhanashree-sawant ( reporting bonus stopped on the 24th but this was reported on the 11th) Upwork job is here. |
@robertKozik any steps needed for the BZ checklist or can we close? |
Sorry for delay on my end @adelekennedy 🙇🏼 I don't think we need regression test here
|
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.3.81.3
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: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697014098088459
Action Performed:
Expected Result:
App should navigate back to user profile on back from notification preference page
Actual Result:
App navigates back to room settings instead of user profile on back from notification preference page when accessed by deep link
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Screen_Recording_20231011_140427_New.Expensify.1.mp4
Android: mWeb Chrome
android.chrome.click.on.URL.and.back.wrong.page.mp4
iOS: Native
RPReplay_Final1697047170.1.MP4
iOS: mWeb Safari
ios.safari.click.on.URL.and.back.wrong.page.mov
MacOS: Chrome / Safari
windows.chrome.back.from.notification.preference.not.working.mp4
double.slashes.not.handled.in.URL.mp4
MacOS: Desktop
mac.desktop.back.is.wrong.notify.me.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: