-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[HOLD for payment 2025-01-07] [$250] Improve/fix logic for creating a workspace during onboarding flow #53326
Comments
Job added to Upwork: https://www.upwork.com/jobs/~021862573059516200142 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Improve/fix logic for creating a workspace during onboarding flow What is the root cause of that problem?This is an improvement What changes do you think we should make in order to solve the problem?Instead of creating the policy in the employee step or auto-create a new workspace for
That can make sure the workspace is only created when we complete the onboarding flow with What alternative solutions did you explore? (Optional)In |
ProposalPlease re-state the problem that we are trying to solve in this issue.If user completed the onboarding flow using OD, two workspaces are created. What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
as :
as:
|
@thesahindia any thoughts on which proposal to go with? |
Waiting for proposals review. |
@Shahidullah-Muffakir's proposal will work for all the cases. 🎀 👀 🎀 C+ reviewed |
Current assignee @carlosmiceli is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@thesahindia I don't think the selected proposal is correct when we sign up from OldDot
So we should only create a new workspace at the final step to verify that the workspace is only created when we complete the onboarding flow. |
This is the issue we are trying to solve, we don't want to create aother workspace, as mention in the OP, the api will automatically create workspace for
|
Actually, no workspace is created after signing up via old dot. |
Currently, the NewDot onboarding flow is skipped for accounts created from OldDot App/src/libs/onboardingSelectors.ts Lines 13 to 17 in f12b73c
Then the duplicate workspace case we only need to fix is the user can create multiple workspaces at the employee step if we do not complete the onboarding and login at multiple devices. |
What do you mean, can you elaborate further? Are you saying that there's no way for an OD signup to have a workspace created? There could be a case I think for an individual sign up to still go through the workspace creation, but will double check.
If this is true, then we need to change this. We shouldn't skip onboarding for OD signups. cc @mountiny @danielrvidal bringing you in to confirm that this is at least part of the issue besides the work here, since we were talking about this modal not showing yesterday. |
Let's clarify this:
I'll update that comment to avoid confusions. Are we good to proceed @thesahindia or should we still evaluate some of @nkdengineer's comments? |
@carlosmiceli In the description, we're saying that a workspace will be created automatically via the API during the account creation. But actually, there's no workspace after the user signs from OD with
I think this is for the old account. |
That's being worked on in the BE, but the FE needs to be ready beforehand or we will create duplicate workspaces. That's the goal of this issue. |
PR has been merged. |
@carlosmiceli, @thesahindia, @Shahidullah-Muffakir Whoops! This issue is 2 days overdue. Let's get this updated quick! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.79-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-01-07. 🎊 For reference, here are some details about the assignees on this issue:
|
Issue is ready for payment but no BZ is assigned. @kadiealexander you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
Payment Summary
BugZero Checklist (@kadiealexander)
|
@thesahindia please don't forget the checklist! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalTest:Test 1
Test 2
Do we agree 👍 or 👎 |
@carlosmiceli, @kadiealexander, @thesahindia, @Shahidullah-Muffakir Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Not overdue. |
Payment summary here. |
We want new users that are taken to the Employee Count screen to have a workspace created automatically (this is currently in place):
However, for signups that join via expensify.com and select either
vsb
orsmb
as signup qualifier, we want to skip actually creating a workspace at this step because that's going to be created automatically via the API during the account creation. Otherwise we'll be creating one twice. These are the correspondingvsb
andsmb
signup options on expensify.com:To clarify, the current onboarding flow logic for creating a workspace should still occur for any new user that's taken to the onboarding modal and does NOT have either
vsb
orsmb
as asignupQualifier
. Those would be:Please include videos of all the possible signup cases and confirming that only one workspace is created for each. Also confirm that this bug where we created duplicate workspaces doesn't reoccur (if it's still happening). Finally, we think there may be an extreme edge case where:
Please include in your proposal a way to prevent this if it could occur.
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: