feat: make calcom UI dumb again (#19658)
* remove create button for teams from calcom ui * migrate timezone select to features * remove trpc from phone and storybook provider * new-yarn.lock * fix imports + test file for select * fix platform timezone select to use Raw timezone select * fix timezone type import * use correct select in timezone-select.tsx - needs trpc version * fix lock and remove test-utils * fix log file * Updated yarn.lock * Fixed types * Fixed tests --------- Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
1 parent
1b111c8add
commit
4cdb8f3bae
30 files changed
+97
-89
No files matched your search
@@ -1,10 +1,11 @@
|
||||
import { useRouter } from "next/navigation";
|
||||
|
||||
import { CreateButtonWithTeamsList } from "@calcom/features/ee/teams/components/createButton/CreateButtonWithTeamsList";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import { HttpError } from "@calcom/lib/http-error";
|
||||
import { trpc } from "@calcom/trpc/react";
|
||||
import type { IconName } from "@calcom/ui";
|
||||
import { CreateButtonWithTeamsList, EmptyScreen as ClassicEmptyScreen, Icon, showToast } from "@calcom/ui";
|
||||
import { EmptyScreen as ClassicEmptyScreen, Icon, showToast } from "@calcom/ui";
|
||||
|
||||
type WorkflowExampleType = {
|
||||
Icon: IconName;
|
||||
|
||||
@@ -5,6 +5,7 @@ import { useRouter } from "next/navigation";
|
||||
import type { Dispatch, SetStateAction } from "react";
|
||||
import { useState } from "react";
|
||||
|
||||
import { CreateButtonWithTeamsList } from "@calcom/features/ee/teams/components/createButton/CreateButtonWithTeamsList";
|
||||
import Shell, { ShellMain } from "@calcom/features/shell/Shell";
|
||||
import { WEBAPP_URL } from "@calcom/lib/constants";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
@@ -12,7 +13,7 @@ import { useRouterQuery } from "@calcom/lib/hooks/useRouterQuery";
|
||||
import { HttpError } from "@calcom/lib/http-error";
|
||||
import type { WorkflowRepository } from "@calcom/lib/server/repository/workflow";
|
||||
import { trpc } from "@calcom/trpc/react";
|
||||
import { AnimatedPopover, Avatar, CreateButtonWithTeamsList, showToast } from "@calcom/ui";
|
||||
import { AnimatedPopover, Avatar, showToast } from "@calcom/ui";
|
||||
import classNames from "@calcom/ui/classNames";
|
||||
|
||||
import { FilterResults } from "../../../filters/components/FilterResults";
|
||||
|
||||
Reference in new issue
Block a user