-
Notifications
You must be signed in to change notification settings - Fork 7.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
feat: email confirmation on change #13443
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Ignored Deployments
|
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link. |
@itsberkaya @ciaranha maybe we can come up with a proper design for this in the future - i think this is fine for now let me know if you want any changes here. |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 New Page AddedThe following page was added to the bundle from the code in this PR:
|
Current Playwright Test Results Summary✅ 442 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 02/07/2024 10:29:08am UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: a3a1482 Started: 02/07/2024 10:17:54am UTC
|
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Booking With Multiple Email Question and Each Other Question Booking With Multiple Email Question and checkbox group Question Multiple Email required and checkbox group required
Retry 1 • Initial Attempt |
1.93% (6)6 / 311 runsfailed over last 7 days |
6.43% (20)20 / 311 runsflaked over last 7 days |
📄 apps/web/playwright/booking-seats.e2e.ts • 2 Flakes
Top 1 Common Error Messages
|
2 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Booking with Seats User can create a seated event (2 seats as example)
Retry 1 • Initial Attempt |
0.39% (1)1 / 256 runfailed over last 7 days |
5.08% (13)13 / 256 runsflaked over last 7 days |
Reschedule for booking with seats If rescheduled/cancelled booking with seats it should display the correct number of seats
Retry 1 • Initial Attempt |
0% (0)0 / 255 runsfailed over last 7 days |
3.92% (10)10 / 255 runsflaked over last 7 days |
📄 apps/web/playwright/booking/checkboxGroupQuestion.e2e.ts • 3 Flakes
Top 1 Common Error Messages
|
3 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Booking With Checkbox Group Question and Each Other Question Booking With Checkbox Group Question and Address Question Booking With Checkbox Group Question and checkbox Question Checkbox Group required and checkbox required
Retry 1 • Initial Attempt |
0.33% (1)1 / 304 runfailed over last 7 days |
4.93% (15)15 / 304 runsflaked over last 7 days |
Booking With Checkbox Group Question and Each Other Question Booking With Checkbox Group Question and Address Question Booking With Checkbox Group Question and Radio group Question Checkbox Group required and Radio group required
Retry 1 • Initial Attempt |
0.34% (1)1 / 298 runfailed over last 7 days |
4.03% (12)12 / 298 runsflaked over last 7 days |
Booking With Checkbox Group Question and Each Other Question Booking With Checkbox Group Question and Address Question Booking With Checkbox Group Question and select Question Checkbox Group required and select required
Retry 1 • Initial Attempt |
0.68% (2)2 / 296 runsfailed over last 7 days |
5.07% (15)15 / 296 runsflaked over last 7 days |
📄 apps/web/playwright/booking/allQuestions.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Booking With All Questions Selecting and filling all questions as optional
Retry 1 • Initial Attempt |
0.33% (1)1 / 306 runfailed over last 7 days |
5.23% (16)16 / 306 runsflaked over last 7 days |
📄 apps/web/playwright/event-types.e2e.ts • 2 Flakes
Top 1 Common Error Messages
|
2 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Event Types tests -- future user can add multiple organizer address
Retry 1 • Initial Attempt |
1.22% (4)4 / 328 runsfailed over last 7 days |
17.99% (59)59 / 328 runsflaked over last 7 days |
Event Types tests -- legacy user Different Locations Tests Can add Link Meeting as location and book with it
Retry 1 • Initial Attempt |
0% (0)0 / 320 runsfailed over last 7 days |
1.56% (5)5 / 320 runsflaked over last 7 days |
📄 apps/web/playwright/booking/addressQuestione2e/addressQuestion.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Booking With Address Question and Each Other Question Booking With Address Question and multiselect Question Address required and multiselect text required
Retry 1 • Initial Attempt |
0% (0)0 / 309 runsfailed over last 7 days |
6.47% (20)20 / 309 runsflaked over last 7 days |
📄 apps/web/playwright/booking/phoneQuestion.e2e.ts • 2 Flakes
Top 1 Common Error Messages
|
2 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Booking With Phone Question and Each Other Question Booking With Phone Question and Address Question Booking With Phone Question and Multi email Question Phone and Multi email required
Retry 1 • Initial Attempt |
0.33% (1)1 / 305 runfailed over last 7 days |
4.59% (14)14 / 305 runsflaked over last 7 days |
Booking With Phone Question and Each Other Question Booking With Phone Question and Address Question Booking With Phone Question and Radio group Question Phone required and Radio group not required
Retry 2 • Retry 1 • Initial Attempt |
0.33% (1)1 / 301 runfailed over last 7 days |
7.64% (23)23 / 301 runsflaked over last 7 days |
📄 apps/web/playwright/organization/organization-invitation.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Organization Email not matching orgAutoAcceptEmail Org Invitation
Retry 1 • Initial Attempt |
13.64% (42)42 / 308 runsfailed over last 7 days |
6.17% (19)19 / 308 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 8 Flakes
Top 1 Common Error Messages
|
8 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Popup Tests should open embed iframe on click - Configured with light theme
Retry 1 • Initial Attempt |
-2.57% (-8)-8 / 311 runsfailed over last 7 days |
53.38% (166)166 / 311 runsflaked over last 7 days |
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
-109.21% (-166)-166 / 152 runsfailed over last 7 days |
109.21% (166)166 / 152 runsflaked over last 7 days |
Popup Tests should open Routing Forms embed on click
Retry 1 • Initial Attempt |
-96.73% (-148)-148 / 153 runsfailed over last 7 days |
99.35% (152)152 / 153 runsflaked over last 7 days |
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe according to system theme when no theme is configured through Embed API
Retry 1 • Initial Attempt |
-102.01% (-152)-152 / 149 runsfailed over last 7 days |
102.01% (152)152 / 149 runsflaked over last 7 days |
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe according to system theme when configured with 'auto' theme using Embed API
Retry 1 • Initial Attempt |
-102.01% (-152)-152 / 149 runsfailed over last 7 days |
102.01% (152)152 / 149 runsflaked over last 7 days |
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe(Booker Profile Page) with dark theme when configured with dark theme using Embed API
Retry 1 • Initial Attempt |
-101.34% (-151)-151 / 149 runsfailed over last 7 days |
101.34% (151)151 / 149 runsflaked over last 7 days |
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe(Event Booking Page) with dark theme when configured with dark theme using Embed API
Retry 1 • Initial Attempt |
-101.34% (-151)-151 / 149 runsfailed over last 7 days |
101.34% (151)151 / 149 runsflaked over last 7 days |
Popup Tests prendered embed should be loaded and apply the config given to it
Retry 1 • Initial Attempt |
-101.34% (-151)-151 / 149 runsfailed over last 7 days |
101.34% (151)151 / 149 runsflaked over last 7 days |
📄 apps/web/playwright/profile.e2e.ts • 2 Flakes
Top 1 Common Error Messages
|
2 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Update Profile Cannot update a users email when existing user has same email (verification enabled)
Retry 1 • Initial Attempt |
0% (0)0 / 1 runsfailed over last 7 days |
100% (1)1 / 1 runflaked over last 7 days |
Update Profile Can update a users email (verification enabled)
Retry 1 • Initial Attempt |
54.55% (6)6 / 11 runsfailed over last 7 days |
9.09% (1)1 / 11 runflaked over last 7 days |
📄 apps/web/playwright/settings/upload-avatar.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
UploadAvatar can upload an image
Retry 1 • Initial Attempt |
0.63% (2)2 / 316 runsfailed over last 7 days |
11.39% (36)36 / 316 runsflaked over last 7 days |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sean-brydon the issue mentioned as being fixed here says that no confirmation email is sent to confirm the new email is correct. Is there more to be added to this PR or was it decided that won’t be implemented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When Changing email it would be better to show verify email dialog (like on booking page).
Currently after you change your email the emailVerified is set to null and you see banner only after some time or reloading and no email is sent to verify email. you have to click on 'Resend Email' to actually send the email
Yeah in talks with @ciaranha about this as a improvement to this PR - great shout udit this is what we will be going with will return to draft and update accordingly |
…n-change' into feat/email-verify-on-change
token: z.string(), | ||
}); | ||
|
||
export async function getServerSideProps(context: GetServerSidePropsContext) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fetch serverside with the token passed in as props
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Screen.Recording.2024-02-07.at.12.40.55.PM.mov
When I tried to change my email then I wasn't logged out immediately but only when i tried to reload or go to other page. The toast message says the email will be updated later but the UI displays the new email on settings/my-account/profile.
Oh I know what’s happening here - can you test the rest of the flow will push a fix for this now |
…n-change' into feat/email-verify-on-change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…n-change' into feat/email-verify-on-change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🥇 💯 . Thanks for Fixing all the bugs and adding tests
Show old and new email in email confirmation box
Fixes: #8856
CleanShot.2024-02-05.at.11.57.05.mp4