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
spandev and GitHub
11150309d4
fix: added message in schedule bulk update ( #26334 )
2025-12-31 10:02:40 +00:00
9048d053ac
feat: posthog version upgrade and added trackings ( #24401 )
...
* posthog version upgrade and calai banner tracking
* disable posthog for EU
* bunch more posthog tracking
* Revert yarn.lock changes
* add posthog package yarn changes
* fix: add missing posthog import and fix lint warning in MemberInvitationModal
Co-Authored-By: amit@cal.com <samit91848@gmail.com >
* fix: type check
* cubic fixes
* refactor
* remove ui playground
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-11-28 12:43:37 +00:00
Rajiv Sahal and GitHub
0757b00db7
feat: list schedules atom ( #24205 )
...
* feat: add api v2 endpoint to fetch all user schedules
* chore: update typing
* feat: custom hook to fetch all user schedules
* refactor: shift logic to transform schedules into function of its own
* init: list schedules atom
* feat: api endpoints for list schedules atom
* refactor: accept redirect url as prop
* fix: pass redirect url prop
* integrate list schedules atom with availability settings
* refactor: extract types to be reused in api v2 endpoints
* skip availability settings page for the time being until we have api v2 endpoints in prod
* feat: add docs for list schedules atom
* fixup
* export Schedule type
* make sure we always have a default schedule if user deletes his default schedule
* chore: implement code rabbit feedback
* chore: implement PR feedback
* fix: resolve merge conflicts
* fix: import path
* update platform libraries
* fix: type check
* resolve merge conflicts
* update atoms export
* update platform libraries schedule
* chore: arrange atoms in alphabetical order
* update atoms controller to include endpoints for list schedules atom
* add create atom scheule atom
* fix: invalidate schedules on new schedule creation
* chore: add changesets
2025-10-15 17:57:22 +02:00
Chinmay Patil and GitHub
f74434a282
fix: show temporarily out-of-office message on all screen sizes ( #23130 )
2025-08-18 16:56:49 +05:30
bd5e14b488
perf: Remove me.get call in event-types / availability ( #22336 )
...
* perf: Event types page remove me.get call
* Update ts definition listing view
* fix type check
* get rid of me call from availability page
---------
Co-authored-by: hbjORbj <sldisek783@gmail.com >
2025-07-12 06:49:29 +00:00
Benny Joo and GitHub
ae2d85d81b
chore: Remove @calcom/features/schedules barrel files ( #21199 )
...
* remove barrel files
* update imports
2025-05-08 23:15:51 +01:00
Benny Joo and GitHub
6815f2f9c7
perf: server-side fetching for /availability ( #20804 )
...
* availability
* refactor
* add loader
* improve
* update
* fix loader
* rename
* satisfying types
* refactor
* remove log
* add CTA to skeleton
* refactor
* fix revalidations
* refactor
* update
* finish
2025-04-24 11:10:54 +02:00
Benny Joo and GitHub
a957c15062
perf: SSR - /availablilty/[schedule] ( #20829 )
...
* ssr for schedule page
* improve skeleton
* improve skeleton
* improve skeleton
2025-04-23 11:31:01 -03:00
sean-brydon and GitHub
3e466022b8
fix availability CTA height ( #20714 )
2025-04-15 20:11:29 +00:00
89772a0dac
fix: make padding equal on availability toggle ( #20708 )
...
* fix: trigger lingo.dev by removing duplicate value
* fix: uneven height in toggle
* address mrge bots comments
* use tailwind
* fix: make padding equal for availability toggle
* Update apps/web/modules/availability/availability-view.tsx
---------
Co-authored-by: Tushar Bhatt <95581504+TusharBhatt1@users.noreply.github.com >
2025-04-15 18:40:04 +00:00
amrit and GitHub
7b6999831a
fix: uneven toggle ui on availability page ( #20701 )
...
* fix: trigger lingo.dev by removing duplicate value
* fix: uneven height in toggle
2025-04-15 14:11:47 +00:00
Eunjae Lee and GitHub
5b08b9f11f
fix: add isAdminOrOwner and useIsOrgAdminOrOwner ( #20429 )
...
* fix: add isAdminOrOwner and useIsOrgAdminOrOwner
* make useIsOrgAdminOrOwner to accept session
* revert change
* remove useIsOrgAdminOrOwner and rename isAdminOrOwner to checkAdminOrOwner
* fix type
* fix type
* fix import
2025-03-28 17:01:06 +00:00
78ddf71823
perf: Move OOO-related tRPC procedures to new routers ( #20136 )
...
* perf: Move OOO-related tRPC procedures to new routers
* Moved test file
* push fix for import path in tests
* fix trpc response url that we wait for
---------
Co-authored-by: sean-brydon <sean@cal.com >
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
2025-03-21 09:03:10 -07:00
Benny Joo and GitHub
cfd1c5dfe3
show-skeleton-only-if-cached-data-do-not-exist ( #20275 )
2025-03-21 09:38:58 +05:30
853f9bc436
perf: do not import from @calcom/ui barrel file ( #20184 )
...
* Icon and IconName
* Button and ButtonGroup
* UserAvatar
* AvatarGroup
* Avatar
* WizardLayout
* Dialogs
* EmptyScreen
* showToast and TextField
* Editor
* Skeleton
* Skeleton
* TopBanner and showToast
* Button again
* more
* perf: Remove app-store reference from @calcom/ui
* more
* Fixing types
* Icon
* Fixed casing
* dropdown
* more
* Select
* more
* Badge
* List
* more
* Divider
* more
* fix
* fix type check
* refactor
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix type check
* fix
* fix
* fix
* fix
* more
* more
* more
* more
* add index file to components/command
* fix
* fix
* fix
* fix imports
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix build errors
* fix build errors
* fix
---------
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2025-03-19 19:00:55 -03:00
Benny Joo and GitHub
cc1b6bac4a
perf: Remove QueryCell from availability view ( #20176 )
2025-03-18 17:05:02 -03:00
30dce7bacd
perf: Move apps procedures off of loggedInViewer ( #20112 )
...
* perf: Slim down loggedInViewer tRPC router
* Fixed trpc client calls for new routes
* Moved bookingUnconfirmedCount
* Moved getUserTopBanners to me router
* Moved shouldVerifyEmail to me router
* Moved i18n from public to its own router
* fix ssrInit
* fix ssrInit usage
* fix type check
* better naming
* fix
* fix
* Fix types
* Removed used of importHandler
* perf: Move apps procedures off of loggedInViewer
* Moved 2 more apps-related procedures
---------
Co-authored-by: hbjORbj <sldisek783@gmail.com >
2025-03-17 17:18:19 +00:00
20d6eb5200
perf: Slim down loggedInViewer tRPC router ( #20111 )
...
* perf: Slim down loggedInViewer tRPC router
* Fixed trpc client calls for new routes
* Moved bookingUnconfirmedCount
* Moved getUserTopBanners to me router
* Moved shouldVerifyEmail to me router
* Moved i18n from public to its own router
* fix ssrInit
* fix ssrInit usage
* fix type check
* better naming
* fix
* fix
* Fix types
* Removed used of importHandler
---------
Co-authored-by: hbjORbj <sldisek783@gmail.com >
2025-03-16 18:22:48 -07:00
Keith Williams and GitHub
381f2781a3
perf: remove atoms monorepo imports ( #19688 )
...
* perf: Remove atoms/monorepo barrel exports
* Removed more exports
* completely removed the monorepo file
* fixed types
* fixing tests
* fixing package errors
* Pushing latest
* Fixed atoms build
* hack to fix type
* Fixed web build
2025-03-05 09:49:13 -03:00
f28c605b50
fix: bulk-update-in-scheduleId-in-detailed-view ( #19295 )
...
* fix: bulk-update-in-scheduleId-in-detailed-view
* minor-change
---------
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com >
2025-02-17 14:39:27 +00:00
ee31633e2b
perf: layout persistence and reduced bundle size ( #18889 )
...
* create /(main-nav)/layout.tsx file that uses Shell
* Add ShellMainAppDir that clones ShellMain but with client/server separation
* event-types, availability, bookings
* update pagesAndRewritePaths logic
* fix
---------
Co-authored-by: Peer Richelsen <peeroke@gmail.com >
2025-01-27 11:08:47 +00:00
Benny Joo and GitHub
8e191fed71
perf: Use one PageWrapper instance for every non-settings / non-bookings page in App Router ( #18747 )
...
* add a layoutfile to use-page-wrapper route group
* refactor and move bookings status page to route group
* improve logic in pagesAndRewritePaths
* fix
* add use client directive
* move /403 and /500
* move /auth/error
* move /connect-and-join
* move /enterprise
* move /maintenance
* move /more
* move /upgrade
* chore: remove WithLayout from 8 low-risk single pages (#18745 )
* move /403 and /500
* move /auth/error
* move /connect-and-join
* move /enterprise
* move /maintenance
* move /more
* move /upgrade
* move /availability pages
* move /event-types pages
* move /insights pages
* move /apps to use-page-wrapper group
* move /getting-started to use-page-wrapper group
* move /signup to use-page-wrapper group
* move /workflows to use-page-wrapper group
* move /video pages to use-page-wrapper group
* pass dehydratedState in layout
* pass dehydratedState in layout
* fix test
* fix @test
* fix
2025-01-23 10:01:46 -05:00
Benny Joo and GitHub
0a08680084
cleanup: remove-headseo-from-migrated-app-router-components ( #18576 )
2025-01-10 10:35:37 +01:00
Benny Joo and GitHub
3eda7858c0
chore: Remove HeadSeo components where no longer needed + improve app router metadata logic ( #18348 )
...
* remove HeadSeo for already migrated pages and refactor prepareMetadata
* create _generateMetadataWithoutImage and refactor _generateMetadata
2024-12-23 10:02:59 +01:00
063400fcbc
feat: conferencing atoms ( #17988 )
...
* added api/v2 for zoom connect
* Update conferencing.controller.ts
* fix: added api for ConferencingAppsViewPlatformWrapper
* type fixes
* added getBulkEventTypes api for bulk-update default location
* added bulk-update-to-default-location
* fix:bulk-update-to-default-location
* invalidated
* fixed returnTo and onErrorReturnTo
* make logos work for conferencing atoms
* smalll improvements
* fixup
* share common types
* type fix, and fixed a typo
* fix: type-error
* fix: json.parse(json.parse())
* fix: invalidate query
* fix: removing app throws error in the main app
* undo platform-libraries-1.2.3
* update platform-libraries version
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-12-06 19:03:04 +05:30
868cf91c35
refactor: conferencing apps atoms web wrapper ( #17732 )
...
* conferencing apps atoms web wrapper
* Update DisconnectIntegrationModal.tsx
* formating changes
* handleBulkUpdateDefaultLocation -> bulkUpdateFunction
* fix: type error for handleRemoveApp
* fix: type error for handleRemoveApp
* refactor: removed ConferencingView component and migrated its functionality to ConferencingAppsViewWebWrapper
* refactor: moved AppList, AppListCard to packages/features
* fix: type changes
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-11-25 09:53:38 +02:00
Anik Dhabal Babu and GitHub
9d01025a1f
revert: team availability view ( #17222 )
2024-10-22 13:55:20 +05:30
Benny Joo and GitHub
7b5a2726ab
fix: translations for insights, routing-forms, apps store, etc ( #16933 )
...
* remove outdated translations for insights
* use i18n strings for insights
* use i18n strings for routing forms
* use i18n strings for apps store
* fix more pages
* refactor
* fix
2024-10-04 09:45:51 -03:00
sean-brydon and GitHub
32b2e83564
fix: fix org check on team slider ( #16659 )
2024-09-16 14:25:10 +00:00
Benny Joo and GitHub
74a9f3c19e
hotfix: availability/[schedule] ( #16598 )
2024-09-11 18:11:10 +00:00
Benny Joo and GitHub
d9777a3011
perf: Server-Side Data Fetching in App Router: /availability ( #16536 )
...
* wip
* add method to OrganizationRepository
* server side fetching for availability
* fix error
* server side fetching finish
* remove log
* fix
* fix
* fix type
* no need to export
* fix type
* address nit comments
2024-09-10 19:23:42 -07:00
Benny Joo and GitHub
963d22648b
chore: App-router-migration(/availability) add pages / extract components into /module ( #16404 )
...
* migrate availability/[schedule]
* add use client directive
* migrate main availability page
* migrate availability/troubleshoot page
* add env var
* extract AvailabilitySettingsWebWrapper into /modules
* fix build
* add missing default
* add missing export
* fix troubleshoot
* use params, not searchParams in generateMetadata
* fix schedule page in app router
2024-09-05 12:37:18 +00:00