The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Remove warehouse settings from settings menu (#31038)
Joshen Limb862a74f607a
diff --git a/apps/studio/components/layouts/ProjectSettingsLayout/SettingsLayout.tsx b/apps/studio/components/layouts/ProjectSettingsLayout/SettingsLayout.tsxindex 81af839800a..61456306745 100644--- a/apps/studio/components/layouts/ProjectSettingsLayout/SettingsLayout.tsx+++ b/apps/studio/components/layouts/ProjectSettingsLayout/SettingsLayout.tsx@@ -46,7 +46,6 @@ const SettingsLayout = ({ title, children }: PropsWithChildren<SettingsLayoutPro'billing:invoices',])- const warehouseEnabled = useFlag('warehouse')const diskAndComputeEnabled = useFlag('diskAndComputeForm')const menuRoutes = generateSettingsMenu(ref, project, organization, {@@ -54,7 +53,6 @@ const SettingsLayout = ({ title, children }: PropsWithChildren<SettingsLayoutProedgeFunctions: edgeFunctionsEnabled,storage: storageEnabled,invoices: invoicesEnabled,- warehouse: warehouseEnabled,diskAndCompute: diskAndComputeEnabled,})diff --git a/apps/studio/components/layouts/ProjectSettingsLayout/SettingsMenu.utils.tsx b/apps/studio/components/layouts/ProjectSettingsLayout/SettingsMenu.utils.tsxindex 33c7ef972fb..f365c006b18 100644--- a/apps/studio/components/layouts/ProjectSettingsLayout/SettingsMenu.utils.tsx+++ b/apps/studio/components/layouts/ProjectSettingsLayout/SettingsMenu.utils.tsx@@ -14,7 +14,6 @@ export const generateSettingsMenu = (edgeFunctions?: booleanstorage?: booleaninvoices?: boolean- warehouse?: booleandiskAndCompute?: boolean}): ProductMenuGroup[] => {@@ -24,7 +23,6 @@ export const generateSettingsMenu = (const authEnabled = features?.auth ?? trueconst edgeFunctionsEnabled = features?.edgeFunctions ?? trueconst storageEnabled = features?.storage ?? true- const warehouseEnabled = features?.warehouse ?? falseconst newDiskComputeEnabled = features?.diskAndCompute ?? falsereturn [@@ -124,16 +122,6 @@ export const generateSettingsMenu = (},]: []),- ...(IS_PLATFORM && warehouseEnabled- ? [- {- name: 'Warehouse',- key: 'warehouse',- url: `/project/${ref}/settings/warehouse`,- items: [],- },- ]- : []),...(IS_PLATFORM? [{diff --git a/apps/studio/next.config.js b/apps/studio/next.config.jsindex 6eca251889e..604c300a633 100644--- a/apps/studio/next.config.js+++ b/apps/studio/next.config.js@@ -434,6 +434,11 @@ const nextConfig = {source: '/project/:ref/integrations/cron-jobs',destination: '/project/:ref/integrations/cron',},+ {+ permanent: true,+ source: '/project/:ref/settings/warehouse',+ destination: '/project/:ref/settings/general',+ },...(process.env.NEXT_PUBLIC_BASE_PATH?.length? [{