-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$1000] Web - Workspaces - Page goes to wrong page when clicking go to #admin rooms #25393
Comments
Triggered auto assignment to @tjferriss ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @madmax330 ( |
I was able to reproduce the issue, but it appears intermittently and not consistently. Additionally, it occasionally navigates to the settings route. |
I'm able to reproduce. It's taking me back to the chat I was last in, instead of the #admins room. Screen.Recording.2023-08-17.at.15.29.52.mov |
Weird, I can't seem to reproduce 🤔 |
Ah. I believe the inconsistency of reproducing led us to believe this was staging only but I just verified it on Prod too so removing the blocker label. |
I can't able to re-produce this one prod but dev and staging only. Also it's not just opening settings sometimes it opens wrong report too. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Workspaces - Page goes to wrong page when clicking go to #admin rooms What is the root cause of that problem?We're using multiple navigation states like the following As per the documentation of Current Flow:
Before clicking on When we click on This issue happens only when the admin room is in the top of stack, if not we push then there is no problem. Video.Kapture.2023-08-18.at.21.39.41.mp4What changes do you think we should make in order to solve the problem?Here in this line App/src/libs/Navigation/linkTo.js Line 70 in f45ddbe
To solve this.. if the latest report is the same as the report we're going to navigate instead of navigate either we push or just dimiss the modal. But to push can cause re-renders for the report screen which is not intended noting that the last screen is same admin room, so I'd prefer dismissing the modal should do the work. Following should do the work, we need to update here in this function
const currentTopMostReport = Navigation.getTopmostReportId();
if (room.reportID === currentTopMostReport) {
Navigation.dismissModal();
return;
} What alternative solutions did you explore? (Optional)NA Referencehttps://reactnavigation.org/docs/navigation-actions#navigate BugKapture.2023-08-18.at.22.12.14.mp4ResultKapture.2023-08-18.at.22.11.12.mp4 |
Job added to Upwork: https://www.upwork.com/jobs/~01d806101ebfe064a7 |
@madmax330, @tjferriss, @aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Still awaiting proposals Proposal should point out
|
@aimane-chnaif #25393 (comment) I don't think this is a regression. It happens constantly, but to re-produce this you have to be in the Kapture.2023-08-18.at.22.12.14.mp4Please watch this video, you'll get the bug. |
Though this exists on production, still recent regression, maybe within 2 months or so. |
Ok got it. |
@madmax330, @tjferriss, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Still waiting on proposals |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Same |
@madmax330 @tjferriss @aimane-chnaif this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@madmax330, @tjferriss, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Is this still reproducible ? I tried on staging and couldn't reproduce |
@madmax330, @tjferriss, @aimane-chnaif 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
It might be fixed by react navigation patch. |
I'm not able to reproduce this one so I believe we can close it. |
@tjferriss Am I eligible for a reporter bonus since it is fixed from by react-navigation path? |
@tjferriss Am I eligible for the reporter bonus since the issue had fixed by correcting react navigation patch #24165 |
I'm asking internally about this situation. Given the react-navigation patch was deployed before this bug was reported, I don't believe we would pay the reporting bonus. |
@misgana96 I confirmed with the team internally. Because the patch was deployed before this issue was reported we will not pay the reporting bonus. |
Thank you for quick response. |
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:
The room should be opened
Actual Result:
the wrong page is opened
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.55-0
Reproducible in staging?: Y
Reproducible in production?: N
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
Screenshare.-.2023-08-17.3_56_10.PM.mp4
Recording.1245.mp4
Expensify/Expensify Issue URL:
Issue reported by: @misgana96
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692276872694949
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: