feat: Troubleshooter atom (#27497)

This commit is contained in:
Rajiv Sahal
2026-02-06 17:34:58 +02:00
committed by GitHub
parent a71d62dc33
commit 8a17ebc2ef
31 changed files with 821 additions and 305 deletions
@@ -25,6 +25,9 @@ export function Navbar({ username }: { username?: string }) {
<li>
<Link href="/availability">Availability</Link>
</li>
<li>
<Link href="/troubleshooter">Troubleshooter</Link>
</li>
<li>
<Link href="/event-types">EventTypes</Link>
</li>
@@ -0,0 +1,30 @@
import { TroubleShooter } from "@calcom/atoms";
import { Inter } from "next/font/google";
import { Navbar } from "@/components/Navbar";
// eslint-disable-next-line @calcom/eslint/deprecated-imports-next-router
import { useRouter } from "next/router";
const inter = Inter({ subsets: ["latin"] });
export default function Troubleshooter(props: {
calUsername: string;
calEmail: string;
}) {
const router = useRouter();
return (
<main className={`flex min-h-screen flex-col ${inter.className}`}>
<Navbar username={props.calUsername} />
<div data-testid="troubleshooter-atom">
<TroubleShooter
onManageCalendarsClick={() => {
router.push("/calendars");
}}
onInstallCalendarClick={() => {
router.push("/calendars");
}}
/>
</div>
</main>
);
}