-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
chore: improve invitation form validation #12594
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Ignored Deployments
|
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link to collect XP and win prizes! |
@@ -213,8 +218,10 @@ export default function MemberInvitationModal(props: MemberInvitationModalProps) | |||
name="emailOrUsername" | |||
control={newMemberFormMethods.control} | |||
rules={{ | |||
required: t("enter_email_or_username"), | |||
required: isOrg ? t("enter_email") : t("enter_email_or_username"), |
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.
org can only invite by email
@@ -241,7 +247,14 @@ export default function MemberInvitationModal(props: MemberInvitationModalProps) | |||
name="emailOrUsername" | |||
control={newMemberFormMethods.control} | |||
rules={{ | |||
required: t("enter_email_or_username"), | |||
required: t("enter_email"), |
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.
Bulk invite only by email
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Current Playwright Test Results Summary✅ 74 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 11/29/2023 07:31:57pm UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: 2617b6a Started: 11/29/2023 07:27:27pm UTC
|
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
2FA Tests should allow a user to enable 2FA and login using 2FA
Retry 2 • Retry 1 • Initial Attempt |
0.33% (1)1 / 304 runfailed over last 7 days |
25.66% (78)78 / 304 runsflaked over last 7 days |
📄 apps/web/playwright/integrations-stripe.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Stripe integration When event is paid and confirmed Paid and confirmed booking should be able to be rescheduled
Retry 1 • Initial Attempt |
0% (0)0 / 304 runsfailed over last 7 days |
2.30% (7)7 / 304 runsflaked 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 -- legacy Different Locations Tests can add Attendee Phone Number location and book with it
Retry 1 • Initial Attempt |
0.38% (1)1 / 261 runfailed over last 7 days |
3.07% (8)8 / 261 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.
* chore: improve invitation form validation * fixup! chore: improve invitation form validation * fixup! fixup! chore: improve invitation form validation
* chore: improve invitation form validation * fixup! chore: improve invitation form validation * fixup! fixup! chore: improve invitation form validation
What does this PR do?
improve form validation of the team/org invitation form
Type of change
How should this be tested?
send invitations to members for teams / orgs
Mandatory Tasks