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: Add location to ics file #13646

Merged
merged 6 commits into from
Feb 13, 2024
Merged

fix: Add location to ics file #13646

merged 6 commits into from
Feb 13, 2024

Conversation

joeauyeung
Copy link
Contributor

What does this PR do?

This PR adds the LOCATION field to the ics file Cal.com generates.

Fixes # (issue)

Requirement/Documentation

  • If there is a requirement document, please, share it here.
  • If there is ab UI/UX design document, please, share it here.

Type of change

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

How should this be tested?

  • Create a booking with a conferencing app. Check the ics file that was sent with the booking confirmation email. The LOCATION field should be included
  • Do this for phone numbers, address, and a custom link

Mandatory Tasks

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

Copy link

vercel bot commented Feb 12, 2024

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

Name Status Preview Comments Updated (UTC)
ai ❌ Failed (Inspect) Feb 13, 2024 8:25am
api 🔄 Building (Inspect) Visit Preview Feb 13, 2024 8:25am
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2024 8:25am
cal-demo ⬜️ Ignored (Inspect) Feb 13, 2024 8:25am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2024 8:25am
qa ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2024 8:25am
ui ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2024 8:25am

Copy link
Contributor

github-actions bot commented Feb 12, 2024

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

Copy link
Contributor

github-actions bot commented Feb 12, 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

deploysentinel bot commented Feb 12, 2024

Current Playwright Test Results Summary

✅ 447 Passing - ⚠️ 12 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 08:36:50am UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 449c900

Started: 02/13/2024 08:28:20am UTC

⚠️ Flakes

📄   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 select Question Long Text and select required
Retry 1Initial Attempt
0.39% (1) 1 / 254 run
failed over last 7 days
7.87% (20) 20 / 254 runs
flaked over last 7 days

📄   apps/web/playwright/booking/checkboxGroupQuestion.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 Checkbox Group Question and Each Other Question Booking With Checkbox Group Question and Address Question Checkbox Group required and Address required
Retry 1Initial Attempt
0% (0) 0 / 260 runs
failed over last 7 days
6.15% (16) 16 / 260 runs
flaked 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 multiselect Question Checkbox Group and multiselect text not required
Retry 1Initial Attempt
0% (0) 0 / 257 runs
failed over last 7 days
5.84% (15) 15 / 257 runs
flaked 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 Number Question Checkbox Group and Number not required
Retry 1Initial Attempt
0% (0) 0 / 256 runs
failed over last 7 days
7.03% (18) 18 / 256 runs
flaked over last 7 days

📄   apps/web/playwright/login.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
user can login & logout succesfully -- future login flow user & logout using dashboard
Retry 1Initial Attempt
3.20% (8) 8 / 250 runs
failed over last 7 days
39.20% (98) 98 / 250 runs
flaked over last 7 days
Login and logout tests -- legacy Login flow validations -- legacy Should warn when user does not exist
Retry 1Initial Attempt
0% (0) 0 / 248 runs
failed over last 7 days
4.03% (10) 10 / 248 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Update Profile Can update a users email (verification enabled)
Retry 2Retry 1Initial Attempt
11.95% (19) 19 / 159 runs
failed over last 7 days
51.57% (82) 82 / 159 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 Number Question Address and Number not required
Retry 1Initial Attempt
0% (0) 0 / 262 runs
failed over last 7 days
4.58% (12) 12 / 262 runs
flaked 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 matching orgAutoAcceptEmail and a Verified Organization Org Invitation
Retry 1Initial Attempt
1.95% (5) 5 / 256 runs
failed over last 7 days
6.25% (16) 16 / 256 runs
flaked over last 7 days

📄   apps/web/playwright/booking/phoneQuestion.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 Phone Question and Address Question Booking With Phone Question and Long text Question Phone required and Long text not required
Retry 1Initial Attempt
0.38% (1) 1 / 262 run
failed over last 7 days
7.63% (20) 20 / 262 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 Different Locations Tests can add Attendee Phone Number location and book with it
Retry 1Initial Attempt
0.74% (2) 2 / 271 runs
failed over last 7 days
11.44% (31) 31 / 271 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.76% (2) 2 / 263 runs
failed over last 7 days
44.49% (117) 117 / 263 runs
flaked over last 7 days

View Detailed Build Results


@@ -176,7 +179,7 @@ export const buildCalendarEvent = (event?: Partial<CalendarEvent>): CalendarEven
customInputs: {},
additionalNotes: faker.lorem.paragraph(),
organizer: buildPerson(),
videoCallData: buildVideoCallData(),
...(!omitVideoCallData && { videoCallData: buildVideoCallData() }),
Copy link
Member

Choose a reason for hiding this comment

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

Just curious. Why is this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When generating the ics string we look for video call data first and then the location. Since video call data was always included in the event builder the ics string would always fallback to the video call url.

PeerRich
PeerRich previously approved these changes Feb 12, 2024
@keithwillcode keithwillcode added High priority Created by Linear-GitHub Sync calendar-apps area: calendar, google calendar, outlook, lark, microsoft 365, apple calendar labels Feb 13, 2024
@keithwillcode keithwillcode added this to the v3.8 milestone Feb 13, 2024
@Udit-takkar Udit-takkar merged commit bb3b262 into main Feb 13, 2024
37 of 39 checks passed
@Udit-takkar Udit-takkar deleted the ics-set-location branch February 13, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
calendar-apps area: calendar, google calendar, outlook, lark, microsoft 365, apple calendar consumer core area: core, team members only High priority Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants