diff --git a/apps/web/app/notFoundClient.tsx b/apps/web/app/notFoundClient.tsx
index 2b9b2702c3..1229f54170 100644
--- a/apps/web/app/notFoundClient.tsx
+++ b/apps/web/app/notFoundClient.tsx
@@ -27,7 +27,6 @@ export function NotFound({ host }: { host: string }) {
const { username, pageType, url } = getPageInfo(pathname);
const isBookingSuccessPage = pathname?.startsWith("/booking");
const isSubpage = pathname?.includes("/", 2) || isBookingSuccessPage;
- const isInsights = pathname?.startsWith("/insights");
useLayoutEffect(() => {
if (typeof window !== "undefined") {
@@ -50,33 +49,6 @@ export function NotFound({ host }: { host: string }) {
},
];
- /**
- * If we're on 404 and the route is insights it means it is disabled
- * TODO: Abstract this for all disabled features
- **/
- if (isInsights) {
- return (
-
-
-
-
{t("error_404")}
-
- {t("feature_currently_disabled") ?? "Feature is currently disabled"}
-
-
-
-
-
- {t("or_go_back_home")}
- →
-
-
-
-
-
- );
- }
-
return (
diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts
index 124b88b6c0..133974fe4c 100644
--- a/apps/web/next.config.ts
+++ b/apps/web/next.config.ts
@@ -249,11 +249,6 @@ const nextConfig = (phase: string): NextConfig => {
"@coss/ui",
],
modularizeImports: {
- "@calcom/web/modules/insights/components": {
- transform: "@calcom/web/modules/insights/components/{{member}}",
- skipDefaultConversion: true,
- preventFullImport: true,
- },
lodash: {
transform: "lodash/{{member}}",
},
diff --git a/apps/web/playwright/app-router-not-found.e2e.ts b/apps/web/playwright/app-router-not-found.e2e.ts
index 0857e44cf7..5c5af5f987 100644
--- a/apps/web/playwright/app-router-not-found.e2e.ts
+++ b/apps/web/playwright/app-router-not-found.e2e.ts
@@ -10,7 +10,6 @@ test.describe("App Router - error handling", () => {
page,
}) => {
await expectPageToBeNotFound({ page, url: "/123491234" });
- await expectPageToBeNotFound({ page, url: "/insights/123491234" });
await expectPageToBeNotFound({ page, url: "/login/123491234" });
});
});
diff --git a/apps/web/playwright/booking-pages.e2e.ts b/apps/web/playwright/booking-pages.e2e.ts
index 8e4efde9c2..407af205fc 100644
--- a/apps/web/playwright/booking-pages.e2e.ts
+++ b/apps/web/playwright/booking-pages.e2e.ts
@@ -650,11 +650,11 @@ test.describe("GTM container", () => {
const [user] = users.get();
await user.apiLogin();
- // Go to /insights page and wait for one of the common API call to complete
+ // Go to a non-booking page and wait for one of the common API calls to complete.
const eventsByStatusRespPromise = page.waitForResponse(
(response) => response.url().includes("getEventTypesFromGroup") && response.status() === 200
);
- await page.goto(`/insights`);
+ await page.goto("/event-types");
await page.waitForLoadState("domcontentloaded");
await eventsByStatusRespPromise;
diff --git a/packages/emails/src/templates/MonthlyDigestEmail.tsx b/packages/emails/src/templates/MonthlyDigestEmail.tsx
index 78978a9e81..9420142d58 100644
--- a/packages/emails/src/templates/MonthlyDigestEmail.tsx
+++ b/packages/emails/src/templates/MonthlyDigestEmail.tsx
@@ -2,7 +2,7 @@ import type { TFunction } from "i18next";
import { APP_NAME, SENDER_NAME, SUPPORT_MAIL_ADDRESS } from "@calcom/lib/constants";
-import { BaseEmailHtml, CallToAction } from "../components";
+import { BaseEmailHtml } from "../components";
export type MonthlyDigestEmailData = {
language: TFunction;
@@ -177,13 +177,6 @@ export const MonthlyDigestEmail = (
))
: null}
-
-
-
diff --git a/packages/prisma/package.json b/packages/prisma/package.json
index 7a612efef7..2876b4e3c4 100644
--- a/packages/prisma/package.json
+++ b/packages/prisma/package.json
@@ -22,7 +22,6 @@
"seed-app-store": "ts-node --transpile-only ../../scripts/seed-app-store.ts",
"delete-app": "ts-node --transpile-only ./delete-app.ts",
"seed-basic": "ts-node --transpile-only ../../scripts/seed.ts",
- "seed-insights": "ts-node --transpile-only ../../scripts/seed-insights.ts",
"seed-pbac": "ts-node --transpile-only ../../scripts/seed-pbac-organization.ts"
},
"dependencies": {