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

feat: ability to add guests via app.cal.com/bookings #14740

Merged
merged 25 commits into from
Aug 20, 2024

Conversation

anikdhabal
Copy link
Contributor

@anikdhabal anikdhabal commented Apr 25, 2024

What does this PR do?

Fixes #14691
Fixes #15663

Bookings._.Cal.com.and.6.more.pages.-.Personal.-.Microsoft_.Edge.2024-04-30.03-39-02.mp4

Copy link

vercel bot commented Apr 25, 2024

@anikdhabal is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

github-actions bot commented Apr 25, 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 booking-page area: booking page, public booking page, booker ✨ feature New feature or request labels Apr 25, 2024
Copy link
Contributor

github-actions bot commented Apr 25, 2024

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

Eighty-five Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/apps 277.5 KB 505.18 KB 144.34% (🟢 -1.91%)
/apps/[slug] 294.88 KB 522.56 KB 149.30% (🟢 -1.97%)
/apps/[slug]/[...pages] 587.32 KB 814.99 KB 232.86% (🟢 -1.53%)
/apps/categories 254.55 KB 482.23 KB 137.78% (🟢 -1.71%)
/apps/categories/[category] 259.36 KB 487.04 KB 139.15% (🟢 -1.98%)
/apps/installation/[[...step]] 467.39 KB 695.07 KB 198.59% (🔴 +85.64%)
/apps/installed/[category] 278.5 KB 506.17 KB 144.62% (🟢 -1.74%)
/auth/saml-idp 12.22 KB 239.9 KB 68.54% (🟢 -20.80%)
/availability 426.9 KB 654.58 KB 187.02% (🟢 -1.57%)
/availability/[schedule] 410.77 KB 638.45 KB 182.41% (🟢 -1.58%)
/booking/[uid] 236.87 KB 464.55 KB 132.73% (🟡 +0.25%)
/booking/[uid]/embed 236.87 KB 464.55 KB 132.73% (🟡 +0.25%)
/bookings/[status] 324.94 KB 552.61 KB 157.89% (🟢 -1.50%)
/enterprise 254.6 KB 482.28 KB 137.79% (🟢 -1.71%)
/event-types 559.92 KB 787.6 KB 225.03% (🟢 -1.56%)
/event-types/[type] 435.69 KB 663.37 KB 189.53% (🟢 -1.66%)
/getting-started/[[...step]] 448.15 KB 675.83 KB 193.09% (🟡 +10.73%)
/insights 474.55 KB 702.23 KB 200.64% (🟢 -1.72%)
/more 254.11 KB 481.79 KB 137.65% (🟢 -1.71%)
/payment/[uid] 121.27 KB 348.95 KB 99.70% (🟡 +0.20%)
/settings/admin 260.58 KB 488.26 KB 139.50% (🟢 -1.69%)
/settings/admin/apps 273.96 KB 501.64 KB 143.33% (🟢 -1.68%)
/settings/admin/apps/[category] 273.95 KB 501.63 KB 143.32% (🟢 -1.68%)
/settings/admin/flags 264.41 KB 492.09 KB 140.60% (🟢 -1.69%)
/settings/admin/impersonation 260.97 KB 488.65 KB 139.61% (🟢 -1.68%)
/settings/admin/lockedSMS 282.07 KB 509.74 KB 145.64% (🟢 -1.66%)
/settings/admin/lockedSMS/lockedSMSView 119.52 KB 347.2 KB 99.20% (🟢 -0.16%)
/settings/admin/oAuth 272.69 KB 500.37 KB 142.96% (🟢 -1.68%)
/settings/admin/oAuth/oAuthView 95.41 KB 323.09 KB 92.31% (🟢 -0.20%)
/settings/admin/orgMigrations/_OrgMigrationLayout 249.36 KB 477.04 KB 136.30% (🟢 -1.73%)
/settings/admin/orgMigrations/moveTeamToOrg 299.28 KB 526.96 KB 150.56% (🟢 -1.66%)
/settings/admin/orgMigrations/moveUserToOrg 319.11 KB 546.79 KB 156.23% (🟢 -1.64%)
/settings/admin/orgMigrations/removeTeamFromOrg 299.05 KB 526.73 KB 150.49% (🟢 -1.66%)
/settings/admin/orgMigrations/removeUserFromOrg 299.06 KB 526.74 KB 150.50% (🟢 -1.67%)
/settings/admin/organizations 262.47 KB 490.14 KB 140.04% (🟢 -1.69%)
/settings/admin/organizations/[id]/edit 261.13 KB 488.81 KB 139.66% (🟢 -1.69%)
/settings/admin/users 263.24 KB 490.92 KB 140.26% (🟢 -1.69%)
/settings/admin/users/[id]/edit 392.44 KB 620.12 KB 177.18% (🟢 -1.65%)
/settings/admin/users/add 392.11 KB 619.79 KB 177.08% (🟢 -1.65%)
/settings/billing 260.79 KB 488.46 KB 139.56% (🟢 -1.69%)
/settings/developer/api-keys 265.18 KB 492.86 KB 140.82% (🟢 -1.69%)
/settings/developer/webhooks 265.36 KB 493.04 KB 140.87% (🟢 -1.69%)
/settings/developer/webhooks/[id] 266.34 KB 494.02 KB 141.15% (🟢 -1.67%)
/settings/developer/webhooks/new 266.36 KB 494.04 KB 141.15% (🟢 -1.67%)
/settings/my-account/appearance 313.8 KB 541.48 KB 154.71% (🟢 -1.68%)
/settings/my-account/calendars 272.21 KB 499.89 KB 142.82% (🟢 -1.72%)
/settings/my-account/conferencing 273.12 KB 500.8 KB 143.09% (🟢 -1.72%)
/settings/my-account/general 376.29 KB 603.97 KB 172.56% (🟢 -1.68%)
/settings/my-account/out-of-office 265.82 KB 493.5 KB 141.00% (🟢 -1.69%)
/settings/my-account/profile 408.81 KB 636.49 KB 181.85% (🟢 -1.66%)
/settings/organizations/[id]/about 159.7 KB 387.38 KB 110.68% (🟡 +0.48%)
/settings/organizations/[id]/add-teams 159.7 KB 387.38 KB 110.68% (🟡 +0.48%)
/settings/organizations/admin-api 260.74 KB 488.42 KB 139.55% (🟢 -1.69%)
/settings/organizations/appearance 122.37 KB 350.05 KB 100.02% (🟢 -48.02%)
/settings/organizations/billing 260.82 KB 488.5 KB 139.57% (🟢 -1.69%)
/settings/organizations/dsync 293.44 KB 521.12 KB 148.89% (🟢 -1.69%)
/settings/organizations/general 349.13 KB 576.81 KB 164.80% (🟢 -1.68%)
/settings/organizations/members 400.3 KB 627.98 KB 179.42% (🟢 -1.67%)
/settings/organizations/new 159.71 KB 387.39 KB 110.68% (🟡 +0.49%)
/settings/organizations/privacy 266.34 KB 494.02 KB 141.15% (🟢 -1.69%)
/settings/organizations/profile 417.35 KB 645.03 KB 184.29% (🟡 +2.92%)
/settings/organizations/sso 271.41 KB 499.09 KB 142.60% (🟢 -1.69%)
/settings/organizations/teams/other 261.65 KB 489.33 KB 139.81% (🟢 -1.69%)
/settings/organizations/teams/other/[id]/appearance 273.56 KB 501.24 KB 143.21% (🟢 -1.64%)
/settings/organizations/teams/other/[id]/members 268.25 KB 495.93 KB 141.69% (🟢 -1.69%)
/settings/organizations/teams/other/[id]/profile 472.03 KB 699.71 KB 199.92% (🟢 -1.67%)
/settings/platform 259.21 KB 486.89 KB 139.11% (🟢 -1.71%)
/settings/platform/new 120.72 KB 348.39 KB 99.54% (🟡 +0.52%)
/settings/platform/oauth-clients/[clientId]/edit 257.52 KB 485.2 KB 138.63% (🟢 -1.71%)
/settings/platform/oauth-clients/create 256.66 KB 484.34 KB 138.38% (🟢 -1.71%)
/settings/security/impersonation 265.99 KB 493.67 KB 141.05% (🟢 -1.69%)
/settings/security/password 304.18 KB 531.86 KB 151.96% (🟢 -1.67%)
/settings/security/sso 270.86 KB 498.54 KB 142.44% (🟢 -1.69%)
/settings/security/two-factor-auth 269.47 KB 497.15 KB 142.04% (🟢 -1.69%)
/settings/teams 260.32 KB 488 KB 139.43% (🟢 -1.69%)
/settings/teams/[id]/appearance 273.54 KB 501.22 KB 143.21% (🟢 -1.64%)
/settings/teams/[id]/billing 260.82 KB 488.5 KB 139.57% (🟢 -1.69%)
/settings/teams/[id]/members 378.37 KB 606.05 KB 173.16% (🟢 -1.68%)
/settings/teams/[id]/profile 472.86 KB 700.54 KB 200.15% (🟢 -1.65%)
/settings/teams/new 193.05 KB 420.73 KB 120.21% (🟢 -1.82%)
/teams 254.34 KB 482.02 KB 137.72% (🟢 -1.71%)
/upgrade 254.46 KB 482.14 KB 137.75% (🟢 -1.71%)
/video/[uid] 291.31 KB 518.99 KB 148.28% (🟢 -0.14%)
/workflows 286.36 KB 514.04 KB 146.87% (🟢 -1.66%)
/workflows/[workflow] 414.66 KB 642.33 KB 183.52% (🟢 -1.43%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@anikdhabal anikdhabal marked this pull request as ready for review April 29, 2024 22:58
@graphite-app graphite-app bot added the community Created by Linear-GitHub Sync label Apr 29, 2024
@graphite-app graphite-app bot requested a review from a team April 29, 2024 22:58
@dosubot dosubot bot added the bookings area: bookings, availability, timezones, double booking label Apr 29, 2024
Copy link

graphite-app bot commented Apr 29, 2024

Graphite Automations

"Add community label" took an action on this PR • (04/29/24)

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

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

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

@keithwillcode keithwillcode added this to the v4.1 milestone May 8, 2024
@keithwillcode keithwillcode modified the milestones: v4.1, v4.2 May 15, 2024
@github-actions github-actions bot added the Low priority Created by Linear-GitHub Sync label May 25, 2024
Copy link
Member

@SomayChauhan SomayChauhan left a comment

Choose a reason for hiding this comment

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

Hi @anikdhabal,

Great job! I have a few recommendations, let me know what you think:

Screenshot 2024-05-27 at 12 45 11 PM

  1. – I'm not sure this is the right email to send to the person we just invited.

  2. In this video (https://www.loom.com/share/a265d095174149fb9d551227f3dd42ee?sid=5bad974f-6453-49e4-bd36-1fbe9504701e), I noticed that the first email includes the cal-video link, but the subsequent emails do not.

@anikdhabal
Copy link
Contributor Author

  1. – I'm not sure this is the right email to send to the person we just invited.
  2. In this video (https://www.loom.com/share/a265d095174149fb9d551227f3dd42ee?sid=5bad974f-6453-49e4-bd36-1fbe9504701e), I noticed that the first email includes the cal-video link, but the subsequent emails do not.

Hello @SomayChauhan , thanks for the review. Can you explain the first recommendation?

@SomayChauhan
Copy link
Member

Hello @SomayChauhan , thanks for the review. Can you explain the first recommendation?

https://www.loom.com/share/5978b488df724862ad8f340a651172de?sid=1f96fb9f-3844-4183-8aeb-698953e04b3e

for the ones that were already were part of the event,
Screenshot 2024-05-29 at 1 03 53 PM
this email is fine, but for the user that we just added it should be similar to the one we sent in loom

@anikdhabal
Copy link
Contributor Author

I've made changes, and the second recommendation is working fine for me with any other conference app. I think it is a Cal Videos internal error.

@PeerRich PeerRich modified the milestones: v4.2, v4.3 Jun 3, 2024
SomayChauhan
SomayChauhan previously approved these changes Jul 26, 2024
Copy link
Member

@SomayChauhan SomayChauhan left a comment

Choose a reason for hiding this comment

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

LGTM 💯
can handle the rest while implementing #15663
will wait for one more approval

@SomayChauhan SomayChauhan requested a review from a team July 26, 2024 12:21
@SomayChauhan SomayChauhan dismissed their stale review July 29, 2024 06:46

anik to make some changes that we discussed over on the call

@anikdhabal anikdhabal marked this pull request as draft August 3, 2024 09:24
@anikdhabal anikdhabal marked this pull request as ready for review August 4, 2024 15:10
@dosubot dosubot bot added the emails area: emails, cancellation email, reschedule email, inbox, spam folder, not getting email label Aug 4, 2024
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.

The Cal Video link is missing in all emails when new guests are added. Can you take a look at that?

@anikdhabal
Copy link
Contributor Author

The Cal Video link is missing in all emails when new guests are added. Can you take a look at that?

Thanks for pointing this out. I’ve fixed it.

Copy link
Contributor

github-actions bot commented Aug 19, 2024

E2E results are ready!

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.

Can we update the existing calendar events of the booking to add the new attendee?

packages/ui/form/MultiEmail.tsx Outdated Show resolved Hide resolved
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.

Great new feature 👏🏻

@CarinaWolli CarinaWolli enabled auto-merge (squash) August 20, 2024 08:50
@CarinaWolli CarinaWolli merged commit baa9045 into calcom:main Aug 20, 2024
30 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
booking-page area: booking page, public booking page, booker bookings area: bookings, availability, timezones, double booking community Created by Linear-GitHub Sync community-interns The team responsible for reviewing, testing and shipping low/medium community PRs emails area: emails, cancellation email, reschedule email, inbox, spam folder, not getting email ✨ feature New feature or request Low priority Created by Linear-GitHub Sync Medium priority Created by Linear-GitHub Sync 🎨 needs design Before engineering kick-off, a designer needs to submit a mockup ready-for-e2e
Projects
None yet
6 participants