refactor: remove 10 trpc imports from features package by moving 16 tRPC-driven components to apps/web/modules (#27336)

* refactor: move Segment, BookerLayoutSelector, CreateLicenseKeyForm from packages/features to apps/web/modules

Co-Authored-By: [email protected] <[email protected]>

* fix: update relative imports to absolute paths in moved files

Co-Authored-By: [email protected] <[email protected]>

* refactor: move useBookingLocation and blocklist components from packages/features to apps/web/modules

Co-Authored-By: [email protected] <[email protected]>

* refactor: move EmbedTabs and embed hooks from packages/features to apps/web/modules

Co-Authored-By: [email protected] <[email protected]>

* fix

* migrate useBookerUrl

* migrate embed tabs

* fix

* fix

* fix

* mv ThemeLabel

* mv settings headers to webn

* update imports

* clean up

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Benny JooandDevin AI authored and GitHub committed 2026-01-30 04:55:50 -03:00
1 parent ea0d9cbbeb
commit b3430c8efc
107 files changed
+186 -137

No files matched your search

@@ -1,7 +1,7 @@
"use client";
import { InstallAppButton } from "@calcom/app-store/InstallAppButton";
import SettingsHeader from "@calcom/features/settings/appDir/SettingsHeader";
import SettingsHeader from "@calcom/web/modules/settings/components/SettingsHeader";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import type { RouterOutputs } from "@calcom/trpc/react";
import { trpc } from "@calcom/trpc/react";
+1 -1
View File
@@ -15,7 +15,7 @@ import { substituteVariables } from "@calcom/app-store/routing-forms/lib/substit
import type { FormResponse, LocalRoute } from "@calcom/app-store/routing-forms/types/types";
import { RouteActionType } from "@calcom/app-store/routing-forms/zod";
import dayjs from "@calcom/dayjs";
import { useBookerUrl } from "@calcom/features/bookings/hooks/useBookerUrl";
import { useBookerUrl } from "../../modules/bookings/hooks/useBookerUrl";
import { createBooking } from "@calcom/features/bookings/lib/create-booking";
import { Dialog } from "@calcom/features/components/controlled-dialog";
import { getUrlSearchParamsToForwardForReroute } from "@calcom/features/routing-forms/lib/getUrlSearchParamsToForward";