-
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
[$2000] Back from user details opens group chat instead of group details on android chrome #23935
Comments
Triggered auto assignment to @michaelhaxhiu ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The issue at hand involves incorrect navigation behavior in Android Chrome: the application returns to the group chat instead of the group details page after messaging a user from the details page. What is the root cause of that problem?The root cause of this problem lies in the App/src/libs/actions/Report.js Lines 553 to 564 in 30fc9bf
What changes do you think we should make in order to solve the problem?To fix this issue, we should modify the
This fix, however, will highlight another issue: the inability to select the Left Hand Navigation (LHN) after the RHN is closed, due to an improperly positioned 'nodropzone' element. This will require a separate fix. The root cause of this issue should be investigated, and the position or behavior of the 'nodropzone' element should be adjusted accordingly to allow proper interaction with the LHN after the RHN is closed. |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
App/src/libs/actions/Report.js Lines 548 to 553 in 30fc9bf
Params:
Code Changesfunction navigateToAndOpenReportWithAccountIDs(participantAccountIDs, shouldDismissModal = true, pushToNavigationState = false) {
...rest code
if (shouldDismissModal) {
Navigation.dismissModal(reportID);
}
if (pushToNavigationState) {
Navigation.navigate(ROUTES.getReportRoute(reportID), 'PUSH');
}
}
What alternative solutions did you explore? (Optional)
|
The issue mentioned at the bottom might be fixed by this PR |
Hm I can't reproduce this one on my android (pixel / android / google chrome / staging). |
screen-20230803-134952.mp4Here's a recording. Am I missing a step here @dhanashree-sawant? |
I'm leaning toward closing this one as-is until we get more clarity around the steps to take. |
@michaelhaxhiu Yeah, you forgot to click the "Message user" button
|
Hi @michaelhaxhiu, yes you forgot to click on 'Message user' after opening user details |
Job added to Upwork: https://www.upwork.com/jobs/~01d267fead81e68c17 |
Current assignee @michaelhaxhiu is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
Just tested again thanks for clarifying, I missed that as it was like 2 steps in 1. I just updated the reproduction steps for clarity 👍 |
Triggered auto assignment to @jliexpensify ( |
Note: I'm preparing to go OOO for ~2 weeks and need a BZ buddy to watch over this in the meantime. 🙏 Next step: Please ensure that we push this forward and double price if no winning proposal in the next week (by 8/11). Thanks in advance @jliexpensify, I can take this back when I get back if it's not complete before then. |
@michaelhaxhiu, @jliexpensify, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Not overdue! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Not overdue, waiting on proposals |
No proposals yet, going to double this. |
Upwork job price has been updated to $2000 |
@jliexpensify I see no comments/reply is given to the current 2 proposals, are you sure those are not working/not acceptable? |
I think this should have been discussed while navigation refactor. |
So the issue here is inconsistency - browser (or android device) back button goes to previous page (even RHP modal) correctly, while app back button goes to old screen skipping recent RHP modal pages. |
I think this is fine and intentional to make sure that the LHN is closer in the stack I am a little bit confused by this issue and honestly it feels so minor we could close this out. The mWeb / native discrepancies are hard |
@himanshuragi456 Hi there - it's the C+ that will consider proposals, I'm just here to push the issue along and issue payments! Ok cool, going to close this one then - based of Vit's comment:
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
App should open group details page on back from user report if we open user report from group details page
Actual Result:
App opens group report instead of group details page on back from user report if we open user report from group details page on android chrome
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.47-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
Notes/Photos/Videos: Any additional supporting documentation
android.chrome.wrong.back.user.details.mp4
az_recorder_20230731_122300.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690437966940519
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: