-
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
Login - Login with new gmail account, user directed to concierge chat #51179
Comments
Triggered auto assignment to @RachCHopkins ( |
@RachCHopkins FYI 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Login - Login with new gmail account, user directed to concierge chat What is the root cause of that problem?We don't wrap this inside if statement to check if the App/src/libs/navigateAfterOnboarding.ts Line 37 in f28662e
Because after we complete the onboarding flow the lastAccessedReportID return the concierge report id because if the user join for the first time the user could have a concierge and if yes we will return the concierge chat Lines 1354 to 1357 in f28662e
And also as we can see here that we wrap the navigateToConciergeChat util function inside if statement to check if the shouldUseNarrowLayout is false before navigatingApp/src/libs/navigateAfterOnboarding.ts Lines 30 to 32 in f28662e
What changes do you think we should make in order to solve the problem?We should wrap it inside if statement to check if the if (!shouldUseNarrowLayout) {
Navigation.navigate(lastAccessedReportRoute);
} What alternative solutions did you explore? (Optional)Alternatively we can wrap the entire navigation system inside the if statement and check if the if (!shouldUseNarrowLayout) {
if (!lastAccessedReportID || lastAccessedReport.policyID === onboardingPolicyID) {
if (!backTo) {
Report.navigateToConciergeChat();
}
return;
}
const lastAccessedReportRoute = ROUTES.REPORT_WITH_ID.getRoute(lastAccessedReportID ?? '-1');
Navigation.navigate(lastAccessedReportRoute);
} |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: V9. 0.51-2
Reproducible in staging?: Y
Reproducible in production?: Y
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Login with new gmail account, user must be directed to LHN.
Actual Result:
Login with new gmail account, user directed to concierge page.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6640890_1729508215326.Screenrecorder-2024-10-21-16-18-32-574_compress_1.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: