refactor: move AppList to features with slot props (#28100)
* refactor: move AppSetDefaultLinkDialog to features + inline QueryCell + fix broken type import Co-Authored-By: [email protected] <[email protected]> * refactor: move AppList to features with slot props + delete AppListCard switcher Co-Authored-By: [email protected] <[email protected]> * fix: correct ConnectedApps type to avoid double nesting of items Co-Authored-By: [email protected] <[email protected]> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: bot_apk <[email protected]>
This commit is contained in:
10 files changed
+104
-133
No files matched your search
@@ -11,12 +11,11 @@ import { ShellSubHeading } from "@calcom/ui/components/layout";
|
||||
import { List } from "@calcom/ui/components/list";
|
||||
import { showToast } from "@calcom/ui/components/toast";
|
||||
import { revalidateSettingsCalendars } from "@calcom/web/app/cache/path/settings/my-account";
|
||||
import AppListCard from "@calcom/web/modules/apps/components/AppListCard";
|
||||
import AppListCardWebWrapper from "@calcom/web/modules/apps/components/AppListCardWebWrapper";
|
||||
import { SkeletonLoader } from "@calcom/web/modules/apps/components/SkeletonLoader";
|
||||
import { SelectedCalendarsSettingsWebWrapper } from "@calcom/web/modules/calendars/components/SelectedCalendarsSettingsWebWrapper";
|
||||
import SubHeadingTitleWithConnections from "@components/integrations/SubHeadingTitleWithConnections";
|
||||
import useRouterQuery from "@lib/hooks/useRouterQuery";
|
||||
|
||||
import { QueryCell } from "@lib/QueryCell";
|
||||
import { Suspense, useEffect } from "react";
|
||||
import { DestinationCalendarSettingsWebWrapper } from "./DestinationCalendarSettingsWebWrapper";
|
||||
@@ -45,7 +44,7 @@ function CalendarList(props: Props): JSX.Element {
|
||||
success={({ data }) => (
|
||||
<List>
|
||||
{data.items.map((item) => (
|
||||
<AppListCard
|
||||
<AppListCardWebWrapper
|
||||
title={item.name}
|
||||
key={item.name}
|
||||
logo={item.logo}
|
||||
|
||||
Reference in new issue
Block a user