refactor: move data-table hooks/contexts/provider from features to web modules (#27833)

* refactor: move data-table hooks/contexts/provider from features to web modules

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

* fix: update broken useColumnResizing import path in DataTable.tsx

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

* fix: update remaining broken import paths for moved hooks

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

* docs: update GUIDE.md import paths and file references for moved modules

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

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Eunjae LeeandDevin AI authored and GitHub committed 2026-02-13 00:00:40 +09:00
1 parent 397bf3cc0c
commit 1368ffe55d
63 files changed
+123 -124

No files matched your search

@@ -3,7 +3,7 @@ import { trpc } from "@calcom/trpc/react";
import { Dialog, ConfirmationDialogContent } from "@calcom/ui/components/dialog";
import { showToast } from "@calcom/ui/components/toast";
import { useDataTable } from "@calcom/features/data-table/hooks";
import { useDataTable } from "~/data-table/hooks";
import type { FilterSegmentOutput } from "@calcom/features/data-table/lib/types";
export function DeleteSegmentDialog({
@@ -9,7 +9,7 @@ import { Dialog, DialogContent, DialogFooter, DialogHeader } from "@calcom/ui/co
import { Form, TextField } from "@calcom/ui/components/form";
import { showToast } from "@calcom/ui/components/toast";
import { useDataTable } from "@calcom/features/data-table/hooks";
import { useDataTable } from "~/data-table/hooks";
import type { CombinedFilterSegment } from "@calcom/features/data-table/lib/types";
type FormValues = {
@@ -1,5 +1,5 @@
import { checkAdminOrOwner } from "@calcom/features/auth/lib/checkAdminOrOwner";
import { useDataTable } from "@calcom/features/data-table/hooks";
import { useDataTable } from "~/data-table/hooks";
import type {
CombinedFilterSegment,
FilterSegmentOutput,
@@ -19,7 +19,7 @@ import { Form, Input, Label, Select, Switch } from "@calcom/ui/components/form";
import { RadioGroup, RadioField } from "@calcom/ui/components/radio";
import { showToast } from "@calcom/ui/components/toast";
import { useDataTable } from "@calcom/features/data-table/hooks";
import { useDataTable } from "~/data-table/hooks";
interface FormValues {
name: string;