From 7263f3b00b4e66a7df9fa394cec95d3c9de26c3f Mon Sep 17 00:00:00 2001 From: Benny Joo Date: Mon, 4 Nov 2024 13:56:43 -0500 Subject: [PATCH] chore: `settings/platform`, `settings/license-key` - remove pages router and use app router (#17384) * remove pages router and use app router * remove pages router and use app router for platform * add billing page and plans page * fix metadata for settings/platform/billing * fix metadata for settings/platform/oauth-clients --- .env.example | 2 - apps/web/abTest/middlewareFactory.ts | 2 - .../oauth-clients/[clientId]/edit/page.tsx | 2 +- .../[clientId]/edit/webhooks/page.tsx | 2 +- .../settings/license-key/new/page.tsx | 0 .../app/settings/platform/billing/page.tsx | 15 +++++ apps/web/app/settings/platform/new/page.tsx | 21 ++++++ .../oauth-clients/[clientId]/edit/page.tsx | 15 +++++ .../[clientId]/edit/webhooks/page.tsx | 15 +++++ .../platform/oauth-clients/create/page.tsx | 19 ++++++ apps/web/app/settings/platform/page.tsx | 16 +++++ apps/web/app/settings/platform/plans/page.tsx | 15 +++++ .../platform/billing/billing-view.tsx | 6 +- .../[clientId]/edit/edit-view.tsx | 4 +- .../[clientId]/edit/edit-webhooks-view.tsx | 4 +- .../pages/settings/license-key/new/index.tsx | 27 -------- .../pages/settings/platform/billing/index.tsx | 12 ---- apps/web/pages/settings/platform/index.tsx | 12 ---- .../web/pages/settings/platform/new/index.tsx | 64 ------------------- .../oauth-clients/[clientId]/edit/index.tsx | 12 ---- .../[clientId]/edit/webhooks.tsx | 12 ---- .../platform/oauth-clients/create.tsx | 12 ---- .../pages/settings/platform/plans/index.tsx | 12 ---- apps/web/public/static/locales/en/common.json | 2 + apps/web/scripts/vercel-app-router-deploy.sh | 2 - turbo.json | 2 - 26 files changed, 129 insertions(+), 178 deletions(-) rename apps/web/app/{future => }/settings/license-key/new/page.tsx (100%) create mode 100644 apps/web/app/settings/platform/billing/page.tsx create mode 100644 apps/web/app/settings/platform/new/page.tsx create mode 100644 apps/web/app/settings/platform/oauth-clients/[clientId]/edit/page.tsx create mode 100644 apps/web/app/settings/platform/oauth-clients/[clientId]/edit/webhooks/page.tsx create mode 100644 apps/web/app/settings/platform/oauth-clients/create/page.tsx create mode 100644 apps/web/app/settings/platform/page.tsx create mode 100644 apps/web/app/settings/platform/plans/page.tsx delete mode 100644 apps/web/pages/settings/license-key/new/index.tsx delete mode 100644 apps/web/pages/settings/platform/billing/index.tsx delete mode 100644 apps/web/pages/settings/platform/index.tsx delete mode 100644 apps/web/pages/settings/platform/new/index.tsx delete mode 100644 apps/web/pages/settings/platform/oauth-clients/[clientId]/edit/index.tsx delete mode 100644 apps/web/pages/settings/platform/oauth-clients/[clientId]/edit/webhooks.tsx delete mode 100644 apps/web/pages/settings/platform/oauth-clients/create.tsx delete mode 100644 apps/web/pages/settings/platform/plans/index.tsx diff --git a/.env.example b/.env.example index 40a8a67df2..a59043e802 100644 --- a/.env.example +++ b/.env.example @@ -342,8 +342,6 @@ AB_TEST_BUCKET_PROBABILITY=50 # whether we redirect to the future/event-types from event-types or not APP_ROUTER_EVENT_TYPES_ENABLED=0 APP_ROUTER_SETTINGS_DEVELOPER_ENABLED=0 -APP_ROUTER_SETTINGS_MY_ACCOUNT_ENABLED=0 -APP_ROUTER_SETTINGS_PLATFORM_ENABLED=0 APP_ROUTER_SETTINGS_ORG_ENABLED=0 APP_ROUTER_APPS_INSTALLED_CATEGORY_ENABLED=0 APP_ROUTER_APPS_SLUG_ENABLED=0 diff --git a/apps/web/abTest/middlewareFactory.ts b/apps/web/abTest/middlewareFactory.ts index b618813189..65bdb7fc24 100644 --- a/apps/web/abTest/middlewareFactory.ts +++ b/apps/web/abTest/middlewareFactory.ts @@ -8,8 +8,6 @@ import { FUTURE_ROUTES_ENABLED_COOKIE_NAME, FUTURE_ROUTES_OVERRIDE_COOKIE_NAME } const ROUTES: [URLPattern, boolean][] = [ ["/event-types", process.env.APP_ROUTER_EVENT_TYPES_ENABLED === "1"] as const, ["/settings/developer/:path*", process.env.APP_ROUTER_SETTINGS_DEVELOPER_ENABLED === "1"] as const, - ["/settings/my-account/:path*", process.env.APP_ROUTER_SETTINGS_MY_ACCOUNT_ENABLED === "1"] as const, - ["/settings/platform/:path*", process.env.APP_ROUTER_SETTINGS_PLATFORM_ENABLED === "1"] as const, ["/settings/organizations/:path*", process.env.APP_ROUTER_SETTINGS_ORG_ENABLED === "1"] as const, ["/apps/installed/:category", process.env.APP_ROUTER_APPS_INSTALLED_CATEGORY_ENABLED === "1"] as const, ["/apps/:slug", process.env.APP_ROUTER_APPS_SLUG_ENABLED === "1"] as const, diff --git a/apps/web/app/future/settings/platform/oauth-clients/[clientId]/edit/page.tsx b/apps/web/app/future/settings/platform/oauth-clients/[clientId]/edit/page.tsx index 754e9a20fc..0b4ef43aff 100644 --- a/apps/web/app/future/settings/platform/oauth-clients/[clientId]/edit/page.tsx +++ b/apps/web/app/future/settings/platform/oauth-clients/[clientId]/edit/page.tsx @@ -5,7 +5,7 @@ import EditView from "~/settings/platform/oauth-clients/[clientId]/edit/edit-vie export const generateMetadata = async () => await _generateMetadata( - () => "OAuth client updation form", + (t) => t("oAuth_client_updation_form"), () => "" ); diff --git a/apps/web/app/future/settings/platform/oauth-clients/[clientId]/edit/webhooks/page.tsx b/apps/web/app/future/settings/platform/oauth-clients/[clientId]/edit/webhooks/page.tsx index 7eef008b4e..e26b343269 100644 --- a/apps/web/app/future/settings/platform/oauth-clients/[clientId]/edit/webhooks/page.tsx +++ b/apps/web/app/future/settings/platform/oauth-clients/[clientId]/edit/webhooks/page.tsx @@ -5,7 +5,7 @@ import EditWebhooksView from "~/settings/platform/oauth-clients/[clientId]/edit/ export const generateMetadata = async () => await _generateMetadata( - () => "OAuth client updation form", + (t) => t("oAuth_client_updation_form"), () => "" ); diff --git a/apps/web/app/future/settings/license-key/new/page.tsx b/apps/web/app/settings/license-key/new/page.tsx similarity index 100% rename from apps/web/app/future/settings/license-key/new/page.tsx rename to apps/web/app/settings/license-key/new/page.tsx diff --git a/apps/web/app/settings/platform/billing/page.tsx b/apps/web/app/settings/platform/billing/page.tsx new file mode 100644 index 0000000000..0644ec7c7f --- /dev/null +++ b/apps/web/app/settings/platform/billing/page.tsx @@ -0,0 +1,15 @@ +import { _generateMetadata } from "app/_utils"; +import { WithLayout } from "app/layoutHOC"; + +import PlatformBillingUpgrade from "~/settings/platform/billing/billing-view"; + +export const generateMetadata = async () => { + return await _generateMetadata( + (t) => t("platform_billing"), + (t) => t("manage_billing_description") + ); +}; + +export default WithLayout({ + Page: PlatformBillingUpgrade, +}); diff --git a/apps/web/app/settings/platform/new/page.tsx b/apps/web/app/settings/platform/new/page.tsx new file mode 100644 index 0000000000..033ef74380 --- /dev/null +++ b/apps/web/app/settings/platform/new/page.tsx @@ -0,0 +1,21 @@ +import { withAppDirSsr } from "app/WithAppDirSsr"; +import { _generateMetadata } from "app/_utils"; +import { WithLayout } from "app/layoutHOC"; + +import { getServerSideProps } from "@lib/settings/organizations/new/getServerSideProps"; +import { type inferSSRProps } from "@lib/types/inferSSRProps"; + +import LegacyPage, { LayoutWrapper } from "~/settings/platform/new/create-new-view"; + +export const generateMetadata = async () => + await _generateMetadata( + (t) => t("set_up_your_platform_organization"), + (t) => t("platform_organization_description") + ); + +export default WithLayout({ + getLayout: LayoutWrapper, + Page: LegacyPage, + getData: withAppDirSsr>(getServerSideProps), + requiresLicense: true, +}); diff --git a/apps/web/app/settings/platform/oauth-clients/[clientId]/edit/page.tsx b/apps/web/app/settings/platform/oauth-clients/[clientId]/edit/page.tsx new file mode 100644 index 0000000000..0b4ef43aff --- /dev/null +++ b/apps/web/app/settings/platform/oauth-clients/[clientId]/edit/page.tsx @@ -0,0 +1,15 @@ +import { _generateMetadata } from "app/_utils"; +import { WithLayout } from "app/layoutHOC"; + +import EditView from "~/settings/platform/oauth-clients/[clientId]/edit/edit-view"; + +export const generateMetadata = async () => + await _generateMetadata( + (t) => t("oAuth_client_updation_form"), + () => "" + ); + +export default WithLayout({ + getLayout: null, + Page: EditView, +}); diff --git a/apps/web/app/settings/platform/oauth-clients/[clientId]/edit/webhooks/page.tsx b/apps/web/app/settings/platform/oauth-clients/[clientId]/edit/webhooks/page.tsx new file mode 100644 index 0000000000..e26b343269 --- /dev/null +++ b/apps/web/app/settings/platform/oauth-clients/[clientId]/edit/webhooks/page.tsx @@ -0,0 +1,15 @@ +import { _generateMetadata } from "app/_utils"; +import { WithLayout } from "app/layoutHOC"; + +import EditWebhooksView from "~/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view"; + +export const generateMetadata = async () => + await _generateMetadata( + (t) => t("oAuth_client_updation_form"), + () => "" + ); + +export default WithLayout({ + getLayout: null, + Page: EditWebhooksView, +}); diff --git a/apps/web/app/settings/platform/oauth-clients/create/page.tsx b/apps/web/app/settings/platform/oauth-clients/create/page.tsx new file mode 100644 index 0000000000..5303d7dc4a --- /dev/null +++ b/apps/web/app/settings/platform/oauth-clients/create/page.tsx @@ -0,0 +1,19 @@ +import type { PageProps } from "app/_types"; +import { _generateMetadata } from "app/_utils"; +import { WithLayout } from "app/layoutHOC"; + +import CreateNewView from "~/settings/platform/oauth-clients/create-new-view"; + +export const generateMetadata = async ({ params, searchParams }: PageProps) => { + const p = { ...params, ...searchParams }; + const clientId = p?.clientId ?? ""; + return await _generateMetadata( + () => `OAuth client ${!!clientId ? "updation" : "creation"} form`, + () => "" + ); +}; + +export default WithLayout({ + getLayout: null, + Page: CreateNewView, +}); diff --git a/apps/web/app/settings/platform/page.tsx b/apps/web/app/settings/platform/page.tsx new file mode 100644 index 0000000000..e6105fcc58 --- /dev/null +++ b/apps/web/app/settings/platform/page.tsx @@ -0,0 +1,16 @@ +import { _generateMetadata } from "app/_utils"; +import { WithLayout } from "app/layoutHOC"; + +import PlatformView from "~/settings/platform/platform-view"; + +export const generateMetadata = async () => { + return await _generateMetadata( + () => "Platform", + () => "Manage everything related to platform." + ); +}; + +export default WithLayout({ + getLayout: null, + Page: PlatformView, +}); diff --git a/apps/web/app/settings/platform/plans/page.tsx b/apps/web/app/settings/platform/plans/page.tsx new file mode 100644 index 0000000000..a6c33b759a --- /dev/null +++ b/apps/web/app/settings/platform/plans/page.tsx @@ -0,0 +1,15 @@ +import { _generateMetadata } from "app/_utils"; +import { WithLayout } from "app/layoutHOC"; + +import PlatformPlansView from "~/settings/platform/plans/platform-plans-view"; + +export const generateMetadata = async () => { + return await _generateMetadata( + () => "Platform plans", + () => "" + ); +}; + +export default WithLayout({ + Page: PlatformPlansView, +}); diff --git a/apps/web/modules/settings/platform/billing/billing-view.tsx b/apps/web/modules/settings/platform/billing/billing-view.tsx index d7e1b7864d..8c4d6d16b1 100644 --- a/apps/web/modules/settings/platform/billing/billing-view.tsx +++ b/apps/web/modules/settings/platform/billing/billing-view.tsx @@ -55,11 +55,11 @@ export default function PlatformBillingUpgrade() { return (
<>
diff --git a/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-view.tsx b/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-view.tsx index 8285c97370..ec440afba5 100644 --- a/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-view.tsx +++ b/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-view.tsx @@ -5,6 +5,7 @@ import { useRouter } from "next/navigation"; import Shell from "@calcom/features/shell/Shell"; import { ErrorCode } from "@calcom/lib/errorCodes"; +import { useLocale } from "@calcom/lib/hooks/useLocale"; import { PERMISSIONS_GROUPED_MAP } from "@calcom/platform-constants"; import { showToast } from "@calcom/ui"; @@ -30,6 +31,7 @@ import { } from "../../../../../../../../packages/platform/utils/permissions"; export default function EditOAuthClient() { + const { t } = useLocale(); const router = useRouter(); const params = useParams<{ clientId: string }>(); const clientId = params?.clientId || ""; @@ -78,7 +80,7 @@ export default function EditOAuthClient() { if (isPlatformUser && isPaidUser) { return (
- +
diff --git a/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view.tsx b/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view.tsx index 35583707af..7e782eba0c 100644 --- a/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view.tsx +++ b/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view.tsx @@ -5,6 +5,7 @@ import { useRouter } from "next/navigation"; import Shell from "@calcom/features/shell/Shell"; import { WebhookForm } from "@calcom/features/webhooks/components"; +import { useLocale } from "@calcom/lib/hooks/useLocale"; import { WebhookTriggerEvents } from "@calcom/prisma/enums"; import { showToast } from "@calcom/ui"; @@ -18,6 +19,7 @@ import NoPlatformPlan from "@components/settings/platform/dashboard/NoPlatformPl import { useGetUserAttributes } from "@components/settings/platform/hooks/useGetUserAttributes"; export default function EditOAuthClientWebhooks() { + const { t } = useLocale(); const router = useRouter(); const params = useParams<{ clientId: string }>(); const clientId = params?.clientId || ""; @@ -40,7 +42,7 @@ export default function EditOAuthClientWebhooks() { if (isPlatformUser && isPaidUser) { return (
- +
diff --git a/apps/web/pages/settings/license-key/new/index.tsx b/apps/web/pages/settings/license-key/new/index.tsx deleted file mode 100644 index c607a3709e..0000000000 --- a/apps/web/pages/settings/license-key/new/index.tsx +++ /dev/null @@ -1,27 +0,0 @@ -"use client"; - -import { useLocale } from "@calcom/lib/hooks/useLocale"; -import { Meta } from "@calcom/ui"; - -import { getServerSideProps } from "@lib/settings/license-key/new/getServerSideProps"; - -import PageWrapper from "@components/PageWrapper"; - -import CreateANewLicenseKeyForm, { LayoutWrapper } from "~/settings/license-key/new/new-view"; - -const CreateNewLicenseKeyPage = () => { - const { t } = useLocale(); - return ( - <> - - - - ); -}; - -CreateNewLicenseKeyPage.getLayout = LayoutWrapper; -CreateNewLicenseKeyPage.PageWrapper = PageWrapper; - -export default CreateNewLicenseKeyPage; - -export { getServerSideProps }; diff --git a/apps/web/pages/settings/platform/billing/index.tsx b/apps/web/pages/settings/platform/billing/index.tsx deleted file mode 100644 index 4bdf02297b..0000000000 --- a/apps/web/pages/settings/platform/billing/index.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import PageWrapper from "@components/PageWrapper"; - -import PlatformBillingUpgrade from "~/settings/platform/billing/billing-view"; - -const Page = new Proxy<{ - (): JSX.Element; - PageWrapper?: typeof PageWrapper; -}>(PlatformBillingUpgrade, {}); - -Page.PageWrapper = PageWrapper; - -export default Page; diff --git a/apps/web/pages/settings/platform/index.tsx b/apps/web/pages/settings/platform/index.tsx deleted file mode 100644 index 3d02917526..0000000000 --- a/apps/web/pages/settings/platform/index.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import PageWrapper from "@components/PageWrapper"; - -import PlatformView from "~/settings/platform/platform-view"; - -const Page = new Proxy<{ - (): JSX.Element; - PageWrapper?: typeof PageWrapper; -}>(PlatformView, {}); - -Page.PageWrapper = PageWrapper; - -export default Page; diff --git a/apps/web/pages/settings/platform/new/index.tsx b/apps/web/pages/settings/platform/new/index.tsx deleted file mode 100644 index dfffff7d29..0000000000 --- a/apps/web/pages/settings/platform/new/index.tsx +++ /dev/null @@ -1,64 +0,0 @@ -import { useRouter } from "next/navigation"; - -import LicenseRequired from "@calcom/features/ee/common/components/LicenseRequired"; -import { useLocale } from "@calcom/lib/hooks/useLocale"; -import { Meta } from "@calcom/ui"; -import { SkeletonContainer, SkeletonText } from "@calcom/ui"; - -import { getServerSideProps } from "@lib/settings/organizations/new/getServerSideProps"; - -import PageWrapper from "@components/PageWrapper"; -import usePlatformMe from "@components/settings/platform/hooks/usePlatformMe"; - -import CreateNewOrganizationPage, { LayoutWrapper } from "~/settings/platform/new/create-new-view"; - -const SkeletonLoader = () => { - return ( - -
- - - -
-
- ); -}; - -const Page = () => { - const { t } = useLocale(); - const { isFetching, data: platformMe } = usePlatformMe(); - const router = useRouter(); - - if (isFetching) { - return ; - } - - if (platformMe?.organization?.id) { - // if user has a platform org redirect to platform dashboard - if (platformMe?.organization?.isPlatform) { - router.push("/settings/platform"); - // user has a regular org redirect to organization settings - } else { - router.push("/settings/organizations/profile"); - } - // display loader while redirection is happening - return ; - } - - return ( - - - - - ); -}; - -Page.getLayout = LayoutWrapper; -Page.PageWrapper = PageWrapper; - -export default Page; - -export { getServerSideProps }; diff --git a/apps/web/pages/settings/platform/oauth-clients/[clientId]/edit/index.tsx b/apps/web/pages/settings/platform/oauth-clients/[clientId]/edit/index.tsx deleted file mode 100644 index 5588eacbc3..0000000000 --- a/apps/web/pages/settings/platform/oauth-clients/[clientId]/edit/index.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import PageWrapper from "@components/PageWrapper"; - -import EditView from "~/settings/platform/oauth-clients/[clientId]/edit/edit-view"; - -const Page = new Proxy<{ - (): JSX.Element; - PageWrapper?: typeof PageWrapper; -}>(EditView, {}); - -Page.PageWrapper = PageWrapper; - -export default Page; diff --git a/apps/web/pages/settings/platform/oauth-clients/[clientId]/edit/webhooks.tsx b/apps/web/pages/settings/platform/oauth-clients/[clientId]/edit/webhooks.tsx deleted file mode 100644 index 818de3ef2c..0000000000 --- a/apps/web/pages/settings/platform/oauth-clients/[clientId]/edit/webhooks.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import PageWrapper from "@components/PageWrapper"; - -import EditWebhooksView from "~/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view"; - -const Page = new Proxy<{ - (): JSX.Element; - PageWrapper?: typeof PageWrapper; -}>(EditWebhooksView, {}); - -Page.PageWrapper = PageWrapper; - -export default Page; diff --git a/apps/web/pages/settings/platform/oauth-clients/create.tsx b/apps/web/pages/settings/platform/oauth-clients/create.tsx deleted file mode 100644 index 593eef06ff..0000000000 --- a/apps/web/pages/settings/platform/oauth-clients/create.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import PageWrapper from "@components/PageWrapper"; - -import CreateOAuthClientView from "~/settings/platform/oauth-clients/create-new-view"; - -const Page = new Proxy<{ - (): JSX.Element; - PageWrapper?: typeof PageWrapper; -}>(CreateOAuthClientView, {}); - -Page.PageWrapper = PageWrapper; - -export default Page; diff --git a/apps/web/pages/settings/platform/plans/index.tsx b/apps/web/pages/settings/platform/plans/index.tsx deleted file mode 100644 index 8aa52be3e5..0000000000 --- a/apps/web/pages/settings/platform/plans/index.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import PageWrapper from "@components/PageWrapper"; - -import PlatformPlansView from "~/settings/platform/plans/platform-plans-view"; - -const Page = new Proxy<{ - (): JSX.Element; - PageWrapper?: typeof PageWrapper; -}>(PlatformPlansView, {}); - -Page.PageWrapper = PageWrapper; - -export default Page; diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index f4527d2b68..d7aec12bdf 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -1630,6 +1630,7 @@ "format": "Format", "uppercase_for_letters": "Use uppercase for all letters", "replace_whitespaces_underscores": "Replace whitespaces with underscores", + "platform_billing": "Platform billing", "manage_billing": "Manage billing", "manage_billing_description": "Manage all things billing", "billing_freeplan_title": "You're currently on the FREE plan", @@ -2276,6 +2277,7 @@ "seat_options_doesnt_multiple_durations": "Seat option doesn't support multiple durations", "include_calendar_event": "Include calendar event", "oAuth": "OAuth", + "oAuth_client_updation_form": "OAuth client updation form", "recently_added": "Recently added", "connect_all_calendars": "Connect all your calendars", "connect_all_calendars_description": "{{appName}} reads availability from all your existing calendars.", diff --git a/apps/web/scripts/vercel-app-router-deploy.sh b/apps/web/scripts/vercel-app-router-deploy.sh index 442d193082..4f25330eee 100755 --- a/apps/web/scripts/vercel-app-router-deploy.sh +++ b/apps/web/scripts/vercel-app-router-deploy.sh @@ -9,8 +9,6 @@ checkRoute () { checkRoute "$APP_ROUTER_EVENT_TYPES_ENABLED" app/future/event-types checkRoute "$APP_ROUTER_AVAILABILITY_ENABLED" app/future/availability checkRoute "$APP_ROUTER_SETTINGS_DEVELOPER_ENABLED" app/future/settings/developer -checkRoute "$APP_ROUTER_SETTINGS_MY_ACCOUNT_ENABLED" app/future/settings/my-account -checkRoute "$APP_ROUTER_SETTINGS_PLATFORM_ENABLED" app/future/settings/platform checkRoute "$APP_ROUTER_SETTINGS_ORG_ENABLED" app/future/settings/organizations checkRoute "$APP_ROUTER_APPS_INSTALLED_CATEGORY_ENABLED" app/future/apps/installed checkRoute "$APP_ROUTER_APPS_SLUG_ENABLED" app/future/apps/\[slug\] diff --git a/turbo.json b/turbo.json index a76a271955..e89187f7da 100644 --- a/turbo.json +++ b/turbo.json @@ -241,8 +241,6 @@ "APP_ROUTER_EVENT_TYPES_ENABLED", "APP_ROUTER_GETTING_STARTED_STEP_ENABLED", "APP_ROUTER_SETTINGS_DEVELOPER_ENABLED", - "APP_ROUTER_SETTINGS_MY_ACCOUNT_ENABLED", - "APP_ROUTER_SETTINGS_PLATFORM_ENABLED", "APP_ROUTER_SETTINGS_ORG_ENABLED", "APP_ROUTER_SETTINGS_TEAMS_ENABLED", "APP_ROUTER_WORKFLOWS_ENABLED",