Skip to content

fix: Onboarding wizard improvements [CAL-2229]#10346

Merged
leog merged 1 commit into
mainfrom
fix/org-invitation-flow
Jul 24, 2023
Merged

fix: Onboarding wizard improvements [CAL-2229]#10346
leog merged 1 commit into
mainfrom
fix/org-invitation-flow

Conversation

@leog
Copy link
Copy Markdown
Contributor

@leog leog commented Jul 24, 2023

What does this PR do?

When a user created their user through an org invitation, they picked up a username that will then be presented again to be picked in the onboarding wizard. That part was hidden when coming from signup.

Also, a verification email was being sent to the invited user even after creating an account accepting the invitation clicking on the button of the invitation email, which was redundant, so the verification email was also refactored to no be sent for org signup.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

Invite a user to an organization and click the button of the email to create an account. Username in onboarding wizard should not be shown, and verification email should not be sent.

Mandatory Tasks

  • Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

@leog leog added the organizations area: organizations, orgs label Jul 24, 2023
@leog leog added this to the v3.2 milestone Jul 24, 2023
@leog leog requested a review from a team July 24, 2023 20:08
@leog leog self-assigned this Jul 24, 2023
@linear
Copy link
Copy Markdown

linear Bot commented Jul 24, 2023

CAL-2229 Organizations: Members should only pick a username in the org, not a regular one

8d127ee7-e050-4404-8652-12783fd8eb5c

When I follow an invite as a member, I am asked to input a username for the org (expected) but then also a regular cal.com username in the next step. I should not have to pick a second username.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 24, 2023

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

Name Status Preview Comments Updated (UTC)
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2023 8:12pm
cal-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2023 8:12pm
dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2023 8:12pm
ui ✅ Ready (Inspect) Visit Preview Jul 24, 2023 8:12pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Jul 24, 2023 8:12pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 24, 2023

Thank you for following the naming conventions! 🙏

@alwaysmeticulous
Copy link
Copy Markdown

alwaysmeticulous Bot commented Jul 24, 2023

🤖 Meticulous spotted visual differences in 41 of 236 screens tested: view and approve differences detected.

Last updated for commit 49907f7. This comment will update as new commits are pushed.

@github-actions
Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@deploysentinel
Copy link
Copy Markdown

deploysentinel Bot commented Jul 24, 2023

Current Playwright Test Results Summary

✅ 96 Passing - ❌ 1 Failing - ⚠️ 7 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 07/24/2023 08:19:40pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 49907f7

Started: 07/24/2023 08:17:38pm UTC

❌ Failures

📄   packages/embeds/embed-core/playwright/tests/embed-pages.e2e.ts • 1 Failure

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Embed Pages Event Type Page: should not have margin top on embed page
Retry 2Retry 1Initial Attempt
Error: expect(received).toBe(expected) // Object.is equality...
expect(received).toBe(expected) // Object.is equality

Expected: 0
Received: null
2.84% (5) 5 / 176 runs
failed over last 7 days
0.57% (1) 1 / 176 run
flaked over last 7 days

⚠️ Flakes

📄   apps/web/playwright/login.2fa.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
2FA Tests should allow a user to enable 2FA and login using 2FA
Retry 1Initial Attempt
10.10% (31) 31 / 307 runs
failed over last 7 days
36.16% (111) 111 / 307 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 3 Flakes

Top 1 Common Error Messages

null

3 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Popup Tests should be able to reschedule
Retry 1Initial Attempt
1.65% (3) 3 / 182 runs
failed over last 7 days
97.25% (177) 177 / 182 runs
flaked over last 7 days
Popup Tests should open Routing Forms embed on click
Retry 1Initial Attempt
0% (0) 0 / 182 runs
failed over last 7 days
6.04% (11) 11 / 182 runs
flaked over last 7 days
Popup Tests should open embed iframe on click - Configured with light theme
Retry 1Initial Attempt
0% (0) 0 / 182 runs
failed over last 7 days
4.95% (9) 9 / 182 runs
flaked over last 7 days

📄   apps/web/playwright/event-types.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Event Types tests user can add multiple organizer address
Retry 1Initial Attempt
1.23% (4) 4 / 326 runs
failed over last 7 days
10.43% (34) 34 / 326 runs
flaked over last 7 days

📄   packages/app-store/routing-forms/playwright/tests/basic.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Routing Forms Seeded Routing Form Routing Link - Reporting and CSV Download
Retry 1Initial Attempt
9.95% (19) 19 / 191 runs
failed over last 7 days
37.17% (71) 71 / 191 runs
flaked over last 7 days

📄   apps/web/playwright/managed-event-types.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Managed Event Types tests Can create managed event type
Retry 1Initial Attempt
1.23% (4) 4 / 326 runs
failed over last 7 days
10.74% (35) 35 / 326 runs
flaked over last 7 days

View Detailed Build Results


Copy link
Copy Markdown
Contributor

@zomars zomars left a comment

Choose a reason for hiding this comment

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

LGTM

@leog leog merged commit d3bbe87 into main Jul 24, 2023
@leog leog deleted the fix/org-invitation-flow branch July 24, 2023 21:11
fritterhoff pushed a commit to hm-edu/cal.com that referenced this pull request Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only organizations area: organizations, orgs

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants