Skip to content
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

feat: remove 2 steps from the onboarding flow for google signups #17787

Merged
merged 10 commits into from
Dec 9, 2024

Conversation

hbjORbj
Copy link
Contributor

@hbjORbj hbjORbj commented Nov 21, 2024

What does this PR do?

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • N/A - I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

  • Go through a sign up process using (1) Google sign-in and (2) Normal email sign-in. DM me if you need help with this.

@graphite-app graphite-app bot requested a review from a team November 21, 2024 17:31
Copy link

vercel bot commented Nov 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Dec 8, 2024 5:49pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Dec 8, 2024 5:49pm

@dosubot dosubot bot added the ✨ feature New feature or request label Nov 21, 2024
@keithwillcode keithwillcode added consumer core area: core, team members only labels Nov 21, 2024
@hbjORbj hbjORbj marked this pull request as draft November 21, 2024 17:33
@hbjORbj hbjORbj changed the title feat: make the onboarding flow 3-step for google signups feat: remove 2 steps from the onboarding flow for google signups Nov 21, 2024
Copy link

graphite-app bot commented Nov 21, 2024

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (11/21/24)

1 reviewer was added to this PR based on Keith Williams's automation.

Copy link
Contributor

github-actions bot commented Nov 21, 2024

E2E results are ready!

@hbjORbj hbjORbj marked this pull request as ready for review November 22, 2024 03:30
@dosubot dosubot bot added the ui area: UI, frontend, button, form, input label Nov 22, 2024
stepLabel: (currentStep: number, totalSteps: number) => `Test Step ${currentStep} of ${totalSteps}`,
disableNavigation: undefined,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes type error that existed in this test file

@hbjORbj hbjORbj marked this pull request as draft November 24, 2024 05:46
auto-merge was automatically disabled November 24, 2024 05:46

Pull request was converted to draft

@hbjORbj hbjORbj marked this pull request as ready for review December 7, 2024 20:44
@dosubot dosubot bot added the automated-tests area: unit tests, e2e tests, playwright label Dec 7, 2024
Copy link
Contributor

@eunjae-lee eunjae-lee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

const EXTRA_STEPS = ["connected-calendar", "connected-video"] as const;
type StepType = (typeof BASE_STEPS)[number] | (typeof EXTRA_STEPS)[number];

const getStepsAndHeadersForUser = (identityProvider: IdentityProvider, t: TFunction) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this looks like a hook, instead of a function.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, will address this in a separate PR!

});
testOnboarding(IdentityProvider.GOOGLE);
testOnboarding(IdentityProvider.CAL);
testOnboarding(IdentityProvider.SAML);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

q: do we need to await Promise.all? or no need?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Q, let me play with it

@PeerRich PeerRich merged commit 046042a into main Dec 9, 2024
39 checks passed
@PeerRich PeerRich deleted the feat/reduce-onboarding-steps-2 branch December 9, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated-tests area: unit tests, e2e tests, playwright consumer core area: core, team members only ✨ feature New feature or request ready-for-e2e ui area: UI, frontend, button, form, input
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants