81e4241f85
refactor: apply biome formatting to apps/web ( #27692 )
...
* refactor: apply biome formatting to apps/web (batch 1)
Formats apps/web non-modules directories:
- apps/web/app
- apps/web/lib
- apps/web/pages
- apps/web/styles
- apps/web/server
- apps/web/test
- Root-level .ts and .mjs files
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* refactor: apply biome formatting to apps/web/modules (batch 2)
Formats smaller apps/web/modules directories:
- onboarding, data-table, users, apps, auth
- integration-attribute-sync, shell, availability
- feature-flags, team, webhooks, getting-started
- feature-opt-in, troubleshooter, schedules, notifications
- signup-view.tsx
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* refactor: apply biome formatting to apps/web/modules (batch 3)
Formats medium apps/web/modules directories:
- bookings
- event-types
- insights
- embed
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* refactor: apply biome formatting to apps/web/modules/ee (batch 4)
Formats apps/web/modules/ee directory.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* refactor: apply biome formatting to apps/web (batch 5)
Formats remaining apps/web directories:
- apps/web/modules/settings
- apps/web/modules/booking-audit
- apps/web/playwright
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* refactor: apply biome formatting to apps/web/components (batch 6)
Formats remaining apps/web/components files.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* refactor: apply biome formatting to new apps/web files from main
Formats newly added/modified files from main merge:
- WorkflowStepContainer.tsx (resolved merge conflicts)
- Newly moved files (blocklist, form-builder, schedules, etc.)
- Other files modified in main
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
* refactor: apply biome formatting to new apps/web files from main
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-02-10 23:25:24 +05:30
404d46c991
refactor: Move trpc-dependent components from features to web [2] ( #26420 )
...
* fix
* move event types components to web
* update import paths
* mv apps components
* migrate form builder
* fix
* mv sso
* fix
* mv
* update import paths
* update import paths
* mv
* mv
* mv
* fix
* update Booker
* fix
* fix
* fix
* fix
* mv video
* mv embed components to web
* update import paths
* mv calendar weekly view components
* update import paths
* fix
* fixp
* fix
* fix
* fix
* fix: update FormBuilder imports to use @calcom/features/form-builder
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: update broken import paths after file migrations
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: correct import paths for platform atoms and moved components
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: apply CSS type fixes and add missing atoms exports
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: resolve type errors in test files after component migrations
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: resolve remaining type errors in test files
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix
* migrate
* fix: resolve type errors in test and mock files
- Add missing bookingForm, bookerFormErrorRef, instantConnectCooldownMs to Booker.test.tsx bookings prop
- Add all required BookerEvent properties to event.mock.ts
- Add vi import from vitest to all mock files
- Fix date parameter types in packages/dayjs/__mocks__/index.ts
- Add verificationCode and setVerificationCode to test-utils.tsx mock store
- Remove children.type access in Section.tsx mock to fix type error
- Fix lint issues: remove unused React imports, use import type where needed, add return types
- Add biome-ignore comments for pre-existing lint warnings in test files
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* migrate
* migrate
* migrate
* update import paths
* update import paths
* update import paths
* fix
* migrate data table
* migrate data table
* fix
* fix
* fix
* migrate insights components
* migrate insights components
* fix
* mv
* update import paths
* fix
* fix
* fix
* fix
* fix
* fix: resolve type errors in test mocks
- Booker.test.tsx: Add all required UseFormReturn methods to bookingForm mock
- event.mock.ts: Fix entity, subsetOfHosts, instantMeetingParameters, fieldTranslations, image types
- dayjs/__mocks__/index.ts: Use Object.assign for proper typing of mock properties
- Section.tsx: Change 'class' to 'className' in JSX with biome-ignore comment
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: add missing hasDataErrors and dataErrors to bookings.errors mock
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: add missing loadingStates properties to bookings mock
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: add missing slots properties (setTentativeSelectedTimeslots, tentativeSelectedTimeslots, slotReservationId)
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: update quickAvailabilityChecks to include utcEndIso and use valid status type
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: add missing bookerForm properties (formName, beforeVerifyEmail, formErrors)
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: add missing UseFormReturn properties to bookerForm.bookingForm mock
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: add hasFormErrors and formErrors to bookerForm.formErrors mock
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: add hasFormErrors and formErrors to bookerForm.errors mock
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: add missing isError property to mockEvent
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: use complete BookerEvent mock in Booker.test.tsx
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: use branded bookingFields type in event mock
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: add missing schedule mock properties (isError, isSuccess, isLoading, dataUpdatedAt)
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* revert
* fix
* fix
* fix
* fix build
* fix
* fix
* fix
* fix: correct AddMembersWithSwitch test wrapper to use initial assignAllTeamMembers value
- Fixed test wrapper to initialize useState with componentProps.assignAllTeamMembers
instead of hardcoded false, allowing tests to properly test different states
- Updated test expectations for ALL_TEAM_MEMBERS_ENABLED_AND_SEGMENT_NOT_APPLICABLE
state to match actual component behavior (toggle should be present and checked)
- Fixed 'should show Segment when toggled on' test to start with assignAllTeamMembers: false
to properly test the flow of enabling it
- Added explicit types to satisfy biome lint requirements
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
* fix: use JSX.Element instead of React.JSX.Element for type compatibility
Co-Authored-By: benny@cal.com <sldisek783@gmail.com >
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-01-05 12:53:51 -03:00
71792bdeaa
fix: ensure linkFailed event fires for 404, 500, and 403 errors in embeds ( #25261 )
...
- Add CalComPageStatus handling in NotFound and ErrorPage components using useLayoutEffect
- Remove redundant pageStatus logic from PageWrapperAppDir.tsx since App Router error/notFound pages set status themselves
- Refactor embed-iframe.ts: split checkPageStatusAndHandleError into hasPageError() and handlePageError()
- Add page status checks before firing linkReady to catch errors set after initialization
- Ensures linkFailed event fires correctly for all error status codes in embed scenarios
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-12-18 16:30:32 +00:00
Amit Sharma and GitHub
81224f324a
feat: google ads conversion tracking ( #25198 )
...
* feat: google ads conversion tracking
* gaClientid
* store gclid in stripe metadata
* tracking only in the us
* track google campaign id as well
* rename gclid -> google ads
* fix: build
* fix
* refactor
* fix: type check
* fix: type check
* fix: type check
* fix: type check
* fix: store it in cookie
* refactor
* fix
* cleanup
* linked ads tracking
* refactor checkout session tracking
2025-11-25 12:58:10 +00:00
Benny Joo and GitHub
a43437b1d6
fix ( #20693 )
2025-04-14 16:54:25 +00:00
Benny Joo and GitHub
b17b5a169f
perf: make useLocale hook to use server-fetched i18n if in App router context ( #20597 )
...
* write I18nProvider
* rename
* update useLocale
* fix
* use a singleton
* safer
* better
* fix e2e test 1
* fix e2e test 2
* fix e2e test 3
* fix e2e test 4
* fix
* refactor
* address comments
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix flaky test
* add more caching
* revert changes to e2e tests
* add jsdoc
* memoize
* update window object with new translations in /settings/my-account/general
* remove dead code
* only use locale and ns as deps
* fix
2025-04-11 14:28:26 -07:00
8ad442f2be
feat: Upgrade to Next 15 ( #18834 )
...
* wip
* update layoutHOC
* wip
* remove app router related code no longer used
* remove more
* await cookies, headers, params, serachparams
* update yarn.lock
* await cookies, headers, params, serachparams more
* update yarn lock again
* downgrade next-auth to 4.22.1
* update yarn lock
* fix
* update yarn lock
* fix type checks
* update yarn lock
* await headers and cookies
* restore pages folder
* restore yarn.lock
* update yarn.lock
* await headers and cookies
* remove
* await params in API routes
* updates
* restore next.config.js
* remove i18n from next.config.js
* Fixed tests
* Fixed types
* Removed duplicate favicon.ico
* Fixing more types
* ImageResponse moved to next/og
* Fixed prisma import issues
* dynamic import for @ewsjs/xhr
* remove deasync dep
* dynamic import for @tryvital/vital-node
* fix type checks
* add back turbopack command
* Type fix
* Removed unneeded file
* fix turbopack relative path errors
* add comments
* remove unneeded code
* Fixed build errors
* await apis
* use Promise<Params> type in defaultResponderForAppDir util
* refactor scim api route
* fix type checks
* separate app-routing.config into client-config and server-config
* wip
* refactor routing forms components
* revert unneeded changes for easier review
* fix
* fix
* use CustomTrans
* fix type
* fix unit tests
* fix type error
* fix build error
* fix build error
* fix build error
* fix warnings
* fix warnings
* upgrade @tremor/react and tailwindcss
* numCols -> numItems
* fix forgot-password e2e test
* fix 1 more e2e test
* fix login e2e test
* fix e2e tests
* fix e2e tests
* clean up
* remove error
* use tremor/react 2.11.0
* fix
* rename CustomTrans to ServerTrans
* address comment
* fix test
* fix ServerTrans
* fix
* fix type
* fix ServerTrans usages 1
* fix translations
* fix type checks
* fix type checks
* link styling
* fix
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2025-03-20 21:30:51 -03:00
Hariom Balhara and GitHub
564c84dade
fix: App theme being used in routing-form embed ( #19489 )
...
* fix wrong theme routing-form embed
* fix wrong theme routing-form embed
2025-02-28 23:50:46 +05:30
Benny Joo and GitHub
6ea879f265
perf: run ssrInit() at root layout ( #19460 )
...
* wip
* remove ssrInit unneeded
* refactor
* revert unneeded changes
* update booking-page-wrapper layout
2025-02-25 06:08:23 -05:00
Benny Joo and GitHub
4424b2aea3
useIsThemeSupported hook ( #18746 )
2025-01-20 14:30:18 +05:30
Christoffer Bjelke and GitHub
a75a5b72b2
chore: enable eslint rule react/no-danger ( #17983 )
...
* enable react/no-danger and disable rule all places
* remove wild rule
2024-12-04 15:07:30 +00:00
Anik Dhabal Babu and GitHub
4d38c6d0c7
fix: Form link in Reroute Dialog gives 404 for members that aren't admin/owner of team ( #17537 )
...
* fix: Form link in Reroute Dialog gives 404 for members that aren't admin/owner of team
* NIT
2024-11-11 20:25:08 +05:30
706d7dff42
perf: Server-Side Data Fetching in App Router: SettingsLayout / AdminLayout ( #16537 )
...
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com >
2024-09-09 14:38:51 -07:00
ecb693c70e
chore: [app-router-migration 8.6] reorganize future pages file structure ( #12988 )
...
* make no-meeting-found page use ssr
* remove-route-groups
* add LayoutHOC
* fix
* fix
* ensure proper types for withLayout function
---------
Co-authored-by: Greg Pabian <35925521+grzpab@users.noreply.github.com >
2024-01-04 11:26:11 -07:00
DmytroHryshyn and GitHub
add6ffdfc4
chore: [app-router-migration-4]: apps/categories page ( #12619 )
2023-12-12 11:43:15 -07:00
1de05ebf3d
chore: migrate the event-types page to the app directory ( #12390 )
...
Co-authored-by: Omar López <zomars@me.com >
2023-11-22 19:17:33 +00:00
139a7c8249
chore: [app dir bootstrapping 5] add RootLayout ( #11982 )
...
Co-authored-by: zomars <zomars@me.com >
Co-authored-by: Greg Pabian <35925521+grzpab@users.noreply.github.com >
2023-10-25 13:58:08 -07:00