Repository navigation
Description
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:
- Open the app
- Open any user report
- Click on header and click on notify me
- Copy the URL and paste in any report
- (For devices without access to URL like native app, we will need to perform step 1 to 4 in device with URL access) Click on the URL
- Click on back and observe that instead of opening user details page, it opens room settings and displays user as room
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?
- Android: Native
- Android: mWeb Chrome
- iOS: Native
- iOS: mWeb Safari
- MacOS: Chrome / Safari
- MacOS: Desktop
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
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~0169068d72e6fa963b
- Upwork Job ID: 1719332158598991872
- Last Price Increase: 2023-11-07
- Automatic offers:
- ishpaul777 | Contributor | 27600164
- dhanashree-sawant | Reporter | 27600166
Activity
[-] Deeplink access of user notify me page and back opens wrong page[/-][+][$500] Deeplink access of user notify me page and back opens wrong page[/+]melvin-bot commentedon Oct 31, 2023
Triggered auto assignment to @adelekennedy (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Oct 31, 2023
Job added to Upwork: https://www.upwork.com/jobs/~0169068d72e6fa963b
melvin-bot commentedon Oct 31, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Oct 31, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik (
External)[-][$500] Deeplink access of user notify me page and back opens wrong page[/-][+][$125] Deeplink access of user notify me page and back opens wrong page[/+]melvin-bot commentedon Oct 31, 2023
Upwork job price has been updated to $125
ishpaul777 commentedon Oct 31, 2023
Proposal
Problem
Deeplink access of user notify me page and back opens wrong page
Root Cause
This happens because in Notification pref. page, when back button is clicked we navigate user to report settings page not user profile page
Solution
Instead 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.
bernhardoj commentedon Oct 31, 2023
After this PR is merged, we can just use
ReportUtils.navigateToDetailsPage33 remaining items
[-][$125] Deeplink access of user notify me page and back opens wrong page[/-][+][HOLD for payment 2023-11-30] [$125] Deeplink access of user notify me page and back opens wrong page[/+]melvin-bot commentedon Nov 23, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Nov 23, 2023
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:
melvin-bot commentedon Nov 23, 2023
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:
adelekennedy commentedon Dec 1, 2023
Payouts due:
Issue Reporter: $50 @dhanashree-sawant ( reporting bonus stopped on the 24th but this was reported on the 11th)
Contributor: $125 @ishpaul777
Upwork job is here.
adelekennedy commentedon Dec 4, 2023
@robertKozik any steps needed for the BZ checklist or can we close?
robertKozik commentedon Dec 5, 2023
Sorry for delay on my end @adelekennedy 🙇🏼 I don't think we need regression test here