-
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] Chat - Onboarding modal opens briefly, Concierge chat is with red dot in LHN if open public room #45157
Comments
Triggered auto assignment to @arosiclair ( |
👋 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:
|
@arosiclair 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 |
We think that this bug might be related to #vip-vsp |
Production: Recording.2094.mp4 |
cc @filip-solecki @allgandalf @adamgrzybowski I believe this might be related to or change here #44536 |
Hey, I'm developer from SWM. I'd like to take care of this ticket |
Please assign me too, I would review the fix |
@BrtqKr Thank you! Do you think you can raise the PR for the fix today? |
I'll look into it in a moment, but I haven't researched it yet, so I'm not sure. I'll try to handle it until the end of the day, but I'll give you an update later if that's ok |
Thank you, appreciated |
Job added to Upwork: https://www.upwork.com/jobs/~01da353289531b3f7e |
Current assignee @allgandalf is eligible for the External assigner, not assigning anyone new. |
The onboarding modal should not show for anonymous accounts and Concierge chat loads without red dot in LHN |
ProposalPlease re-state the problem that we are trying to solve in this issue.The onboarding modal opens briefly and the Concierge chats with a red dot in LHN if we open a public room What is the root cause of that problem?On Navigation root, we redirect the user to Onboarding when the user has not yet completed App/src/libs/Navigation/NavigationRoot.tsx Lines 90 to 93 in a91b7f8
But we didn't check here if the user is anonymous and inside the hasCompletedGuidedSetupFlowSelector function we didn't check if the onboarding value is undefined.
Because when onboarding data has not yet been applied or is still in the process the value is undefined, so if we check if it's an array it will return false and will return the user has not yet completed onboarding App/src/libs/hasCompletedGuidedSetupFlowSelector.ts Lines 4 to 10 in a91b7f8
What changes do you think we should make in order to solve the problem?We can check if the user is not anonymous inside this condition App/src/libs/Navigation/NavigationRoot.tsx Lines 90 to 93 in a91b7f8
And we can use this logic for the hasCompletedGuidedSetupFlowSelector functionApp/src/libs/actions/Welcome.ts Lines 50 to 52 in a91b7f8
And by doing this, it also resolves the Concierge red dot What alternative solutions did you explore? (Optional) |
@allgandalf Please kindly review my proposal |
Regarding the onboarding it was enough to apply the condition for authenticated as in this commit from yesterday. Correction: There was another case for empty onyx state. I've moved to the public user + empty user check. I wanted to verify the red dot though and I think we shouldn't handle it on the front-end at all, because it's coming from the errorFields on the back-end side |
I believe we have reverted the offending PR and the fix will be handled in the original scope of that change |
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: 9.0.6-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: https://expensify.testrail.io/index.php?/tests/view/4706407
Issue reported by: Applause - Internal Team
Action Performed:
)
Expected Result:
The onboarding modal should not show for anonymous accounts and Concierge chat loads without red dot in LHN
Actual Result:
Onboarding modal opens for a moment and Concierge chat is with red dot in LHN if open public room as anon user
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6537870_1720617431686.Public_room.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: