From 45c9f19b70b3b7b25da594a6eff7ce5f9f39a216 Mon Sep 17 00:00:00 2001 From: Bodhi Russell Silberling Date: Thu, 22 Jan 2026 16:18:26 -0800 Subject: [PATCH] fix: correct typos in comments and variable names (#27164) - Fix 'recieve' -> 'receive' in booking scenario test comment - Fix 'occured' -> 'occurred' in routing playground HTML - Fix 'childrenSeperated' -> 'childrenSeparated' in Breadcrumb component --- packages/embeds/embed-core/routing-playground.html | 2 +- packages/testing/src/lib/bookingScenario/expects.ts | 2 +- packages/ui/components/breadcrumb/Breadcrumb.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/embeds/embed-core/routing-playground.html b/packages/embeds/embed-core/routing-playground.html index 0968f96335..79aa4ae62d 100644 --- a/packages/embeds/embed-core/routing-playground.html +++ b/packages/embeds/embed-core/routing-playground.html @@ -105,7 +105,7 @@

2. Whenever email changes and onblur happens, the prerender is triggered for the new email and previous prerendered modal is removed

3. The prerender of the headless router queues the form response and doesn't really record it. When the actual booking is made, the form response is recorded from the queue

4. If the CTA click happens before the slots are considered stale(configurable via options.slotsStaleTimeMs), then it will open the prerendered modal without fetching the slots, otherwise it will fetch the slots(for the routedTeamMembers/contactOwner only) and till then skeleton will be shown

-

5. If the CTA click happens after iframeForceReloadThresholdMs has passed, then fresh headless router request is sent which could be really slow. It is important to do force reload after a certain time because the Routing Form itself could have changed in the meantime or Salesforce ownership might be available or some other change might have occured in Cal.com's side

+

5. If the CTA click happens after iframeForceReloadThresholdMs has passed, then fresh headless router request is sent which could be really slow. It is important to do force reload after a certain time because the Routing Form itself could have changed in the meantime or Salesforce ownership might be available or some other change might have occurred in Cal.com's side

6. slotsStaleTimeMs is set to 10 seconds(default is 1 minute) and iframeForceReloadThresholdMs is set to 30 seconds(default is 15 minutes) and they are considered from the time when the prerender/modal call was made

7. To avoid reaching the iframeForceReloadThresholdMs, user could prerender the router again and again judiciously

8. You can disable prerendering by passing the query param param.disablePrerender=true

diff --git a/packages/testing/src/lib/bookingScenario/expects.ts b/packages/testing/src/lib/bookingScenario/expects.ts index 6cdc8fefb3..af13fe5077 100644 --- a/packages/testing/src/lib/bookingScenario/expects.ts +++ b/packages/testing/src/lib/bookingScenario/expects.ts @@ -746,7 +746,7 @@ export function expectSuccessfulRoundRobinReschedulingEmails({ ); }); - // if booking is rescheduled by booker, old organizer should recieve reassigned emails + // if booking is rescheduled by booker, old organizer should receive reassigned emails if (bookerReschedule) { vi.waitFor(() => { expect(emails).toHaveEmail( diff --git a/packages/ui/components/breadcrumb/Breadcrumb.tsx b/packages/ui/components/breadcrumb/Breadcrumb.tsx index 04aa15316e..940e7d9b71 100644 --- a/packages/ui/components/breadcrumb/Breadcrumb.tsx +++ b/packages/ui/components/breadcrumb/Breadcrumb.tsx @@ -10,7 +10,7 @@ type BreadcrumbProps = { export const Breadcrumb = ({ children }: BreadcrumbProps) => { const childrenArray = Children.toArray(children); - const childrenSeperated = childrenArray.map((child, index) => { + const childrenSeparated = childrenArray.map((child, index) => { // If not the last item in the array insert a / if (index !== childrenArray.length - 1) { return ( @@ -26,7 +26,7 @@ export const Breadcrumb = ({ children }: BreadcrumbProps) => { return ( ); };