-
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
[$250] Room - App opens random chat after leaving public room when logging in via public room link #42522
Comments
Triggered auto assignment to @danieldoglas ( |
Triggered auto assignment to @puneetlath ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open Staging deploy checklist to see the list of PRs included in this release, then work quickly on the following:
Remember rule #2: Never un-assign yourself from a real DeployBlocker unless you are 100% sure someone else is assigned and will take care of it. |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@puneetlath I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
We think this issue might be related to the #vip-vsb. |
ProposalPlease re-state the problem that we are trying to solve in this issue.We don't handle navigate to concierge room when user leave report. What is the root cause of that problem?After leave room we only navigate to the most recent report App/src/libs/actions/Report.ts Lines 2659 to 2660 in dadc3b8
What changes do you think we should make in order to solve the problem?We will check the report is public room and previous route is sign-in and after leave public room we will navigate to concierge page instead of only navigate to the most recent report at this line API.write(WRITE_COMMANDS.LEAVE_ROOM, parameters, {optimisticData, successData, failureData});
const isPublicRoom = ReportUtils.isPublicRoom(report);
const previousRoute = Navigation.getPreviousRoute();
if (isPublicRoom && previousRoute === ROUTES.SIGN_IN_MODAL) {
navigateToConciergeChat();
} else {
navigateToMostRecentReport(report);
} POC Screen.Recording.2024-05-24.at.00.13.43.movWhat alternative solutions did you explore? (Optional) |
I don't think we need to block the deploy over this. It's a very specific scenario. |
Job added to Upwork: https://www.upwork.com/jobs/~01a7c33cc36264b58f |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
@puneetlath I think this expected, the user is redirect to last opened report not to random report and this was the expected result when we were working on #41128 #41128 expected result:
|
Ah cool, thanks for letting me know. Closing this out then! |
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.4.75-0
Reproducible in staging?: Y
Reproducible in production?: N
Found when validating PR : #42020
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
App will redirect to Concierge chat after leaving public room when user signs in via public room link.
Actual Result:
App redirects to a random chat after leaving public room when user signs in via public room link.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6489382_1716467277141.20240523_201414.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ahmedGaber93The text was updated successfully, but these errors were encountered: