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: use destination calendar email #12821

Merged
merged 18 commits into from
Feb 13, 2024
Merged

fix: use destination calendar email #12821

merged 18 commits into from
Feb 13, 2024

Conversation

Udit-takkar
Copy link
Contributor

@Udit-takkar Udit-takkar commented Dec 15, 2023

Fixes: #3643
Fixes: #5774

How to test?

  1. Connect calendar integration (like google) with email address different than the account
  2. Go to Event Type Advanced Settings and turn on the switch and click 'Save'
Screenshot 2024-02-08 at 3 13 00 PM
  1. Now Book a meeting on the preview URL

Check if email and calendar event is sent to calendar integration email and not account settings email.

Try different combinations:- outlook integration + team event type.. etc

Preference order:-
Event type Destination email > Account Email address

TODO

  • Updating all the tests
  • Testing all edge cases (Individual event type, team event types)

Could break core features

Copy link

vercel bot commented Dec 15, 2023

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

Name Status Preview Comments Updated (UTC)
ai ❌ Failed (Inspect) Feb 13, 2024 9:57am
api ❌ Failed (Inspect) Feb 13, 2024 9:57am
cal 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 13, 2024 9:57am
dev ❌ Failed (Inspect) Feb 13, 2024 9:57am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal-demo ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2024 9:57am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2024 9:57am
qa ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2024 9:57am
ui ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2024 9:57am

Copy link
Contributor

github-actions bot commented Dec 15, 2023

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

@github-actions github-actions bot added bookings area: bookings, availability, timezones, double booking High priority Created by Linear-GitHub Sync 🐛 bug Something isn't working 🙋🏻‍♂️help wanted Help from the community is appreciated labels Dec 15, 2023
@zomars zomars added the core area: core, team members only label Dec 15, 2023
Copy link

deploysentinel bot commented Dec 15, 2023

Current Playwright Test Results Summary

✅ 447 Passing - ⚠️ 13 Flaky

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

(Last updated on 02/13/2024 10:14:07am UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 775ca2b

Started: 02/13/2024 10:05:05am UTC

⚠️ Flakes

📄   apps/web/playwright/booking/multipleEmailQuestion.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
Booking With Multiple Email Question and Each Other Question Booking With Multiple Email Question and checkbox Question Multiple Email and checkbox not required
Retry 1Initial Attempt
0.39% (1) 1 / 254 run
failed over last 7 days
4.72% (12) 12 / 254 runs
flaked over last 7 days
Booking With Multiple Email Question and Each Other Question Booking With Multiple Email Question and Number Question Multiple Email and Number not required
Retry 1Initial Attempt
0% (0) 0 / 253 runs
failed over last 7 days
5.93% (15) 15 / 253 runs
flaked over last 7 days
Booking With Multiple Email Question and Each Other Question Booking With Multiple email Question and phone Question Multiple email and Phone not required
Retry 1Initial Attempt
0% (0) 0 / 252 runs
failed over last 7 days
5.16% (13) 13 / 252 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Long Text Question and Each Other Question Booking With Long Text Question and Checkbox Group Question Long Text and Checkbox Group required
Retry 1Initial Attempt
0% (0) 0 / 261 runs
failed over last 7 days
6.51% (17) 17 / 261 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Webhook tests FORM_SUBMITTED on submitting user form, triggers user webhook
Retry 1Initial Attempt
0% (0) 0 / 265 runs
failed over last 7 days
5.66% (15) 15 / 265 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Phone Question and Each Other Question Booking With Select Question and Multi email Question Select required and Multi email required
Retry 1Initial Attempt
0% (0) 0 / 255 runs
failed over last 7 days
6.67% (17) 17 / 255 runs
flaked over last 7 days

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

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 multiselect Question Checkbox Group required and multiselect text required
Retry 1Initial Attempt
0% (0) 0 / 262 runs
failed over last 7 days
3.82% (10) 10 / 262 runs
flaked over last 7 days

📄   apps/web/playwright/profile.e2e.ts • 2 Flakes

Top 1 Common Error Messages

null

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 1Initial Attempt
0% (0) 0 / 157 runs
failed over last 7 days
49.04% (77) 77 / 157 runs
flaked over last 7 days
Update Profile Can update a users email (verification enabled)
Retry 2Retry 1Initial Attempt
11.59% (19) 19 / 164 runs
failed over last 7 days
51.83% (85) 85 / 164 runs
flaked 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 select Question Address and select not required
Retry 1Initial Attempt
0% (0) 0 / 266 runs
failed over last 7 days
5.26% (14) 14 / 266 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Radio Question and Each Other Question Booking With Radio Question and Address Question Booking With Radio Question and checkbox Question Radio and checkbox not required
Retry 1Initial Attempt
0.38% (1) 1 / 262 run
failed over last 7 days
3.82% (10) 10 / 262 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/preview.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Preview Preview - embed-core should load
Retry 1Initial Attempt
0% (0) 0 / 268 runs
failed over last 7 days
36.19% (97) 97 / 268 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/inline.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Inline Iframe Inline Iframe - Configured with Dark Theme
Retry 1Initial Attempt
0.75% (2) 2 / 268 runs
failed over last 7 days
44.78% (120) 120 / 268 runs
flaked over last 7 days

View Detailed Build Results


Copy link
Contributor

github-actions bot commented Dec 20, 2023

📦 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
Contributor

github-actions bot commented Jan 4, 2024

This PR is being marked as stale due to inactivity.

keithwillcode and others added 2 commits February 12, 2024 03:13
Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
@github-actions github-actions bot added Medium priority Created by Linear-GitHub Sync ✨ feature New feature or request 🚨 needs approval This feature request has not been reviewed yet by the Product Team and needs approval beforehand labels Feb 12, 2024
@Udit-takkar
Copy link
Contributor Author

We need to make sure to use the correct email in all booking-related emails, I found some places where it's wrong:

@CarinaWolli Fixed Now. Thanks for the review.

Copy link
Member

@CarinaWolli CarinaWolli 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 now 🙌🏻

@CarinaWolli CarinaWolli merged commit 7ba1557 into main Feb 13, 2024
37 of 39 checks passed
@CarinaWolli CarinaWolli deleted the fix/destination-calendar branch February 13, 2024 15:05
@rthaut
Copy link

rthaut commented Feb 14, 2024

Note sure if this is the right place to post this feedback, but neither [CAL-1684] (#3643) nor [CAL-499] (#5774) appear to be working for me on cal.com after enabling the new setting in my Event Types.

  • The calendar invite still has my cal.com account's email address in the ORGANIZER property, not the email address of the target calendar's owner
    • Verified by viewing the .ics file attached to the email
  • The body of the email still has my cal.com account's email address in the "Who" section as the organizer, not the email address of the target calendar's owner
  • The email was sent to my cal.com account's email address, not the email address of the target calendar's owner

I have verified the new "Display 'Add to calendar' email as the organizer" toggle is checked on my event types, and I have tried toggling it on and off multiple times.

All calendars are Google Calendars using Google Workspace accounts.

@CarinaWolli
Copy link
Member

@rthaut It works for me as expected I noticed that the email for your calendar matches the one on your Cal account. Have you made any recent changes, or what's the issue you're trying to resolve?

@rthaut
Copy link

rthaut commented Feb 14, 2024

@CarinaWolli is there a support mechanism other than GitHub tickets for working through this? I don't want to clutter up this PR if it is simply a misconfiguration issue on my part...

@rthaut I noticed that the email for your calendar matches the one on your Cal account.

I don't understand how this could be. I have chosen my Event Types to go to calendars that are owned by other email addresses and are simply shared (via Google's Calendar sharing functionality) to the email address I use for my cal.com account.

Have you made any recent changes?

After your response I did try re-adding my target calendars directly (i.e. I gave cal.com access to each calendar by logging in with the appropriate email address), and updating the "Add to calendar" setting of the Event Types. However, even with that change all invites and emails are still just using my cal.com email address.

What's the issue you're trying to resolve?

I want certain Event Type links to create appointments on certain calendars. Additionally, I would like to avoid exposing the email address I use for cal.com to anyone scheduling events with me, and instead expose the email addresses associated those to the calendars.

My use case is that I sub-contract for several companies, most of whom provide me with a Google workspace account for their domain. Through those companies I have multiple clients who I work with directly on behalf of the companies for whom I sub-contract. I want all of my clients to see my availability in one place, but I want them to schedule to the calendar/domain to which they are a client. I especially don't want those clients to have any way of finding my private email address/domain.

@CarinaWolli
Copy link
Member

@rthaut Sounds specific, would be best to reach out to our support go.cal.com/support. And make sure to add all this information 🙏

@Udit-takkar
Copy link
Contributor Author

@rthaut just make sure to delete any old calendar integration and connect them again and then turn on the switch in the event type advanced settings. You would receive all the emails and events on the selected calendar and on the booking page also it would not mention your account's email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bookings area: bookings, availability, timezones, double booking 🐛 bug Something isn't working consumer core area: core, team members only doc ✨ feature New feature or request 🙋🏻‍♂️help wanted Help from the community is appreciated High priority Created by Linear-GitHub Sync Medium priority Created by Linear-GitHub Sync ❗️ migrations contains migration files 🚨 needs approval This feature request has not been reviewed yet by the Product Team and needs approval beforehand
Projects
None yet
8 participants