-
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
[CVP] Login -Concierge chat is not created when login in via a link from the expense email #49219
Comments
Triggered auto assignment to @alexpensify ( |
👋 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:
|
Triggered auto assignment to @deetergp ( |
We think that this bug might be related to #wave-collect - Release 1 |
I have tested this in both staging and production and its same so not a blocker The concierge chat is present in Onyx but it seems like there is some wrong data/ it is created in a different way, so I think this is a backend issue, but we need to investigate what exactly it is. Because of the wrong data/ format the chat does not show up in the LHN. Here is staging Screen.Recording.2024-09-16.at.14.23.57.mp4And here is production Screen.Recording.2024-09-16.at.14.28.19.mp4I put this to newdot quality but its also related to the CVP |
Asked in slack here |
Hi, I would like to investigate it! |
InvestigationsAfter confirming what @mountiny already investigated (thanks for that buddy!) that the Concierge report record is present in the database in the broken flow, let’s check what decides that Concierge is shown. To understand better what is happening I decided to compare rendering differences of In order to show a report, Lines 6059 to 6062 in 2190f62
In working flow, Concierge report falls into Screen.Recording.2024-09-17.at.14.33.56.mp4Here's the direct comparison of database records:
Final thoughtsIt looks like when accessing the account for the first time via email notification, the Concierge is not set up same way as in regular flow (missing Let's consult with a backend team if it's something which should be fixed there. Extra casesWhen Concierge report record is removed from local database (indexedDB), it is not revived from the backend on reload as it works with other reports (and with Concierge on regular account). Searching for Concierge and starting conversation adds Concierge report correctly, allowing for normal interaction afterwards. |
Nice find, thanks for doing the legwork @kacper-mikolajczak! So in the working case, that is when an organic new user signs in for the first time, we create the Concierge chat and add it to the list of pinned chats in their I think the easiest thing for us to do in this situation would be to update |
@kacper-mikolajczak It doesn't look like any client changes will be necessary on the front end, but if they are, I'll be sure to let you know. 👍 |
@kacper-mikolajczak let us know if there are any more questions here. Thanks! |
@mountiny I'm bringing this up here since you commented on a draft PR I was working on where I was waiting till onboarding was completed in order to pin the Concierge chat. Looking at |
@deetergp i see thanks for the explanation. I feel like its odd/ unintuitive to create it in a place like when onboarding is completed. The catch i see is that we are assuming that the user will always complete the onboarding which yes, they should but it relies on fact there wont be any flow/ bug in the frontend where user somehow bypasses completing the onboarding and then they are left with no concierge chat. What if we create the chat in OpenApp for them? Or the OpenReport, ie the initial interaction with the app? I think it would be great to get more visibility for this so we are aligned on the best solution, i am not sure if we should rely on the user completing the onboarding modal to create the chat. |
To confirm, should we move this to the Open Source room for a bigger discussion? |
Does not have to be open source, but would be good to discuss in slack @deetergp |
Looks like we've agreed on a plan. I'll start on implementing it later today. |
Awesome, thanks for the update! |
@deetergp @alexpensify @kacper-mikolajczak this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@deetergp, @alexpensify, @kacper-mikolajczak Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
I ran into trouble trying to test this due to my test email being blocked due to changes we made to SES Discussion is here. |
The Auth PR to create & pin the chats when we re-open invited accounts that were created closed is out in production. I will try to wrap up the web portion for inviting users to the workgroup later today. |
@deetergp - I see that the Auth update is almost in prod. Any update for the web portion? |
@alexpensify The automations must have failed to update this GH, but the Web portion of this was deployed to staging a couple hours ago. The auth update is already in prod. |
Ok, we will wait for the web portion to into prod. |
It's on prod as of a couple days ago ✅ |
Eeek, ok, it looks like payment automation is failing here. I'll keep an eye out next week to see if I need to take manual action. |
Closing, no payment is needed here since @kacper-mikolajczak is part of Callstack. |
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: v9.0.35-0
Reproducible in staging?: Y
Reproducible in production?: N/A, not receiving expense emails on prod
Issue was found when executing this PR: #49130
Email or phone of affected tester (no customers): htad26+yteywys@gmail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
When the user logs in via the link 'Concierge' chat is created
Actual Result:
When the user logs in via the link 'Concierge' chat is not created
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6603253_1726303070262.2024-09-14_11_30_30.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: