chore: App router migration - settings/platform/**/*, settings/organizations/new and settings/organizations/[id]/* (#16334)
* remove WizardLayoutAppDir * refactor organizations/new and add platform/new * refactor organizations/[id]/* * add APP_ROUTER_SETTINGS_ORG_ENABLED * fix type error * fix organizations/new page * remove code not needed and fix type errors * Fix Metadata utils * remove unnecessary code * remove unneeded code * wip * do not remove buildWrappedOnboardTeamMembersPage * fix type error * do not introduce changes to yarn.lock * fix wrong route name * fix onboard members * fix platform pages * fix settings/platform main view * add requiresLicense to WithLayout * refactor * add requiresLicense to platform/new * Add LicenseRequired back to platform/new * add env variable * fix onboard-members --------- Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
1 parent
5dff1c6df0
commit
9ed1624111
36 files changed
+738
-570
No files matched your search
@@ -8,6 +8,8 @@ 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/admin/:path*", process.env.APP_ROUTER_SETTINGS_ADMIN_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,
|
||||
["/apps/:slug/setup", process.env.APP_ROUTER_APPS_SLUG_SETUP_ENABLED === "1"] as const,
|
||||
|
||||
Reference in new issue
Block a user