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: add instant meeting expiry input #15555

Merged
merged 7 commits into from
Jun 26, 2024
Merged

Conversation

Udit-takkar
Copy link
Contributor

@Udit-takkar Udit-takkar commented Jun 24, 2024

What does this PR do?

Screenshot 2024-06-25 at 1 59 54 AM

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected)
  • N/A I have added a Docs issue here if this PR makes changes that would require a documentation change
  • N/A I have added or modified automated tests that prove my fix is effective or that my feature works (PRs might be rejected if logical changes are not properly tested)

How should this be tested?

  1. Go to an org team event type settings
  2. Select Instant bookings
  3. Turn on Instant Booking toggle
  4. Update the expiry time offset

Copy link

linear bot commented Jun 24, 2024

@github-actions github-actions bot added High priority Created by Linear-GitHub Sync ✨ feature New feature or request ❗️ migrations contains migration files and removed ✨ feature New feature or request High priority Created by Linear-GitHub Sync labels Jun 24, 2024
@keithwillcode keithwillcode added consumer core area: core, team members only labels Jun 24, 2024
PeerRich
PeerRich previously approved these changes Jun 24, 2024
Copy link

vercel bot commented Jun 25, 2024

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

Name Status Preview Comments Updated (UTC)
ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2024 10:48am
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Jun 26, 2024 10:48am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jun 26, 2024 10:48am

@github-actions github-actions bot added High priority Created by Linear-GitHub Sync ✨ feature New feature or request labels Jun 25, 2024
Copy link
Contributor

github-actions bot commented Jun 25, 2024

📦 Next.js Bundle Analysis for @calcom/web

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

Twelve 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/[slug]/[...pages] 593.33 KB 821.03 KB 234.58% (🟡 +0.20%)
/auth/saml-idp 12.22 KB 239.92 KB 68.55% (🟢 -20.80%)
/event-types 566.36 KB 794.06 KB 226.87% (🟡 +0.29%)
/event-types/[type] 442.02 KB 669.71 KB 191.35% (🟡 +0.14%)
/settings/admin/lockedSMS/UsersTable 79.91 KB 307.61 KB 87.89% (🟢 -0.16%)
/settings/admin/lockedSMS/lockedSMSView 119.39 KB 347.09 KB 99.17% (🟢 -0.19%)
/settings/admin/oAuth/oAuthView 95.44 KB 323.14 KB 92.33% (🟢 -0.19%)
/settings/organizations/[id]/about 159.6 KB 387.3 KB 110.66% (🟡 +0.45%)
/settings/organizations/[id]/add-teams 159.59 KB 387.29 KB 110.65% (🟡 +0.46%)
/settings/organizations/new 159.6 KB 387.3 KB 110.66% (🟡 +0.45%)
/settings/platform/new 120.65 KB 348.34 KB 99.53% (🟡 +0.50%)
/video/[uid] 290.75 KB 518.44 KB 148.13% (🟢 -0.31%)
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.

@Udit-takkar Udit-takkar marked this pull request as ready for review June 25, 2024 08:07
@graphite-app graphite-app bot requested a review from a team June 25, 2024 08:07
@dosubot dosubot bot added this to the v4.3 milestone Jun 25, 2024
Copy link

graphite-app bot commented Jun 25, 2024

Graphite Automations

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

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

@Udit-takkar Udit-takkar requested a review from PeerRich June 25, 2024 13:03
PeerRich
PeerRich previously approved these changes Jun 25, 2024
@PeerRich
Copy link
Member

looks good

easy addition

@@ -133,6 +133,7 @@ model EventType {
/// @zod.custom(imports.intervalLimitsType)
durationLimits Json?
isInstantEvent Boolean @default(false)
instantMeetingExpiryTimeOffset Int @default(90)
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick here. Are these seconds? minutes? Can we specify in the column name? I know it's already quite long enough. instantMeetingExpiryTimeOffsetInSeconds

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 26, 2024
@keithwillcode keithwillcode added this pull request to the merge queue Jun 26, 2024
Merged via the queue into main with commit d25595b Jun 26, 2024
32 of 38 checks passed
@keithwillcode keithwillcode deleted the feat/instant-meeting-offset branch June 26, 2024 15:00
p6l-richard pushed a commit to p6l-richard/cal.com-fork that referenced this pull request Jul 22, 2024
* feat: add instant meeting expiry input

* fix: type err

* chore: remove type

* chore: update label

* chore: update column name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consumer core area: core, team members only ✨ feature New feature or request High priority Created by Linear-GitHub Sync ❗️ migrations contains migration files ready-for-e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CAL-3951] Add input to change instant meeting duration
4 participants