The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Nudge form containers in settings panel
Terry Suttonec1e9fd960e1
diff --git a/studio/components/interfaces/Database/Pooling/ConnectionPooling.tsx b/studio/components/interfaces/Database/Pooling/ConnectionPooling.tsxindex 4780ba57714..5ce932a2488 100644--- a/studio/components/interfaces/Database/Pooling/ConnectionPooling.tsx+++ b/studio/components/interfaces/Database/Pooling/ConnectionPooling.tsx@@ -162,7 +162,7 @@ export const PgbouncerConfig: FC<ConfigProps> = observer(}return (- <div className="mx-auto max-w-4xl px-12 pb-8">+ <div><SchemaFormPaneltitle="Connection Pooling"schema={formSchema}diff --git a/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts b/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.tsindex aba21eee8b7..954c094af28 100644--- a/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts+++ b/studio/components/layouts/DatabaseLayout/DatabaseMenu.utils.ts@@ -20,14 +20,14 @@ export const generateDatabaseMenu = (project?: Project): ProductMenuGroup[] => {key: 'triggers',url: `/project/${ref}/database/triggers`,items: [],- isPreview: true,+ isPreview: false,},{name: 'Functions',key: 'functions',url: `/project/${ref}/database/functions`,items: [],- isPreview: true,+ isPreview: false,},{name: 'Extensions',@@ -42,13 +42,17 @@ export const generateDatabaseMenu = (project?: Project): ProductMenuGroup[] => {url: `/project/${ref}/database/replication`,items: [],},- {- name: 'Webhooks',- key: 'hooks',- url: `/project/${ref}/database/hooks`,- items: [],- isPreview: true,- },+ ...(showHooksRoute+ ? [+ {+ name: 'Webhooks',+ key: 'hooks',+ url: `/project/${ref}/database/hooks`,+ items: [],+ isPreview: true,+ },+ ]+ : []),{name: 'Backups',key: 'backups',diff --git a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsxindex bda1690a721..1370a36bce1 100644--- a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx+++ b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx@@ -66,7 +66,11 @@ export const generateProductRoutes = (ref?: string, project?: ProjectBase): Routicon: <IconDatabase size={18} strokeWidth={2} />,link:ref &&- (isProjectPaused ? homeUrl : isProjectBuilding ? buildingUrl : `/project/${ref}/editor`),+ (isProjectPaused+ ? homeUrl+ : isProjectBuilding+ ? buildingUrl+ : `/project/${ref}/database/tables`),},{key: 'auth',diff --git a/studio/pages/project/[ref]/settings/api.tsx b/studio/pages/project/[ref]/settings/api.tsxindex 37e3947aee2..15224b86f1e 100644--- a/studio/pages/project/[ref]/settings/api.tsx+++ b/studio/pages/project/[ref]/settings/api.tsx@@ -38,9 +38,9 @@ const ApiSettings: NextPageWithLayout = () => {return (<PageContext.Provider value={PageState}>- <FormsContainer>+ <div className="1xl:px-28 mx-auto flex flex-col gap-4 px-5 py-6 lg:px-16 xl:px-24 2xl:px-32"><ServiceList projectRef={ref as string} />- </FormsContainer>+ </div></PageContext.Provider>)}diff --git a/studio/pages/project/[ref]/settings/auth.tsx b/studio/pages/project/[ref]/settings/auth.tsxindex 87f50db0883..4ac0f372b80 100644--- a/studio/pages/project/[ref]/settings/auth.tsx+++ b/studio/pages/project/[ref]/settings/auth.tsx@@ -23,10 +23,10 @@ const PageLayout: NextPageWithLayout = () => {return <NoPermission isFullPage resourceText="access your project's authentication settings" />} else if (authConfig) {return (- <FormsContainer>+ <div className="1xl:px-28 mx-auto flex flex-col gap-4 px-5 py-6 lg:px-16 xl:px-24 2xl:px-32"><AutoSchemaForm /><SmtpForm />- </FormsContainer>+ </div>)} else {return <div />diff --git a/studio/pages/project/[ref]/settings/database.tsx b/studio/pages/project/[ref]/settings/database.tsxindex 6c7ee82e098..147150b7a20 100644--- a/studio/pages/project/[ref]/settings/database.tsx+++ b/studio/pages/project/[ref]/settings/database.tsx@@ -25,12 +25,10 @@ const ProjectSettings: NextPageWithLayout = () => {const { ref } = router.queryreturn (- <div>+ <div className="1xl:px-28 mx-auto flex flex-col gap-4 px-5 py-6 lg:px-16 xl:px-24 2xl:px-32"><div className="content h-full w-full overflow-y-auto">- <div className="w-full max-w-5xl px-4 py-4">- <GeneralSettings projectRef={ref} />- <ConnectionPooling />- </div>+ <GeneralSettings projectRef={ref} />+ <ConnectionPooling /></div></div>)@@ -278,7 +276,7 @@ const GeneralSettings: FC<any> = ({ projectRef }) => {return (<>- <div className="mx-auto max-w-4xl px-12 pt-8 pb-8">+ <div className="mb-8"><section className="space-y-6"><h3 className="text-scale-1200 mb-2 text-xl">Database Settings</h3><Panel@@ -343,7 +341,7 @@ const GeneralSettings: FC<any> = ({ projectRef }) => {<ResetDbPassword /><DownloadCertificate createdAt={connectionInfo.inserted_at} /></div>- <div className="mx-auto max-w-4xl px-12 -mt-8">+ <div className="mt-8"><section className="space-y-6"><Paneltitle={diff --git a/studio/pages/project/[ref]/settings/general.tsx b/studio/pages/project/[ref]/settings/general.tsxindex d5b6a739db6..ab210d6762c 100644--- a/studio/pages/project/[ref]/settings/general.tsx+++ b/studio/pages/project/[ref]/settings/general.tsx@@ -6,11 +6,11 @@ import { General, Infrastructure, DeleteProjectPanel } from 'components/interfacconst ProjectSettings: NextPageWithLayout = () => {return (- <FormsContainer>+ <div className="1xl:px-28 mx-auto flex flex-col gap-4 px-5 py-6 lg:px-16 xl:px-24 2xl:px-32 "><General /><Infrastructure /><DeleteProjectPanel />- </FormsContainer>+ </div>)}