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

fix: Email Embed for team event types #13990

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Conversation

Udit-takkar
Copy link
Contributor

What does this PR do?

Fixes #13679

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Tests (Unit/Integration/E2E or any other test)

@graphite-app graphite-app bot requested a review from a team March 6, 2024 09:42
Copy link
Contributor

github-actions bot commented Mar 6, 2024

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

@github-actions github-actions bot added consumer emails area: emails, cancellation email, reschedule email, inbox, spam folder, not getting email embed area: embed, widget, react embed High priority Created by Linear-GitHub Sync 🐛 bug Something isn't working labels Mar 6, 2024
@keithwillcode keithwillcode added the core area: core, team members only label Mar 6, 2024
Comment on lines +489 to +490
data-testid="see_all_available_times"
href={`${eventType.bookerUrl}/${calLink}`}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed preview url

Copy link

vercel bot commented Mar 6, 2024

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

4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Mar 6, 2024 9:44am
cal ⬜️ Ignored (Inspect) Visit Preview Mar 6, 2024 9:44am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Mar 6, 2024 9:44am
qa ⬜️ Ignored (Inspect) Visit Preview Mar 6, 2024 9:44am

@@ -721,8 +739,9 @@ const EmbedTypeCodeAndPreviewDialogContent = ({
{eventTypeData?.eventType && embedType === "email" ? (
<EmailEmbed
eventType={eventTypeData?.eventType}
username={data?.user.username as string}
username={teamSlug ?? (data?.user.username as string)}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Need to pass teamSlug and isTeamEvent to make useScheduledForEvent get event type details and slots

@Udit-takkar Udit-takkar changed the title fix: embeds for team event types fix: Email Embed for team event types Mar 6, 2024
Copy link

graphite-app bot commented Mar 6, 2024

Graphite Automations

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

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

Copy link
Contributor

github-actions bot commented Mar 6, 2024

📦 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! 🙌

Copy link
Member

@sean-brydon sean-brydon left a comment

Choose a reason for hiding this comment

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

CleanShot 2024-03-06 at 09 55 23
Works as expected- nice one bud!

Copy link

deploysentinel bot commented Mar 6, 2024

Current Playwright Test Results Summary

✅ 303 Passing - ⚠️ 6 Flaky

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

(Last updated on 03/06/2024 10:00:58am UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: cf0343b

Started: 03/06/2024 09:55:19am UTC

⚠️ Flakes

📄   apps/web/playwright/webhook.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
BOOKING_REJECTED can book an event that requires confirmation and then that booking can be rejected by organizer
Retry 1Initial Attempt
0% (0) 0 / 191 runs
failed over last 7 days
1.57% (3) 3 / 191 runs
flaked over last 7 days

📄   apps/web/playwright/teams.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Teams - NonOrg -- future Can create a private team
Retry 1Initial Attempt
0% (0) 0 / 207 runs
failed over last 7 days
0.48% (1) 1 / 207 run
flaked over last 7 days

📄   apps/web/playwright/signup.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Signup Flow Test Signup with valid (non premium) username
Retry 1Initial Attempt
2.42% (5) 5 / 207 runs
failed over last 7 days
2.90% (6) 6 / 207 runs
flaked over last 7 days

📄   apps/web/playwright/booking-pages.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
prefill -- future logged in
Retry 1Initial Attempt
0% (0) 0 / 197 runs
failed over last 7 days
2.54% (5) 5 / 197 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 -- future user enabling recurring event comes with default options
Retry 1Initial Attempt
2.44% (5) 5 / 205 runs
failed over last 7 days
6.83% (14) 14 / 205 runs
flaked over last 7 days

📄   apps/web/playwright/availability.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Availablity tests Schedule listing
Retry 1Initial Attempt
0% (0) 0 / 206 runs
failed over last 7 days
1.94% (4) 4 / 206 runs
flaked over last 7 days

View Detailed Build Results


@keithwillcode keithwillcode merged commit 284c4c9 into main Mar 6, 2024
39 of 40 checks passed
@keithwillcode keithwillcode deleted the fix/email-embed-teams branch March 6, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working consumer core area: core, team members only emails area: emails, cancellation email, reschedule email, inbox, spam folder, not getting email embed area: embed, widget, react embed High priority Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CAL-3135] Email embed not showing available slots
3 participants