The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Heading changes
Terry Sutton015e09f890f1
diff --git a/studio/components/layouts/ReportsLayout/ReportsLayout.tsx b/studio/components/layouts/ReportsLayout/ReportsLayout.tsxindex d2b090f6c2c..07888894ebe 100644--- a/studio/components/layouts/ReportsLayout/ReportsLayout.tsx+++ b/studio/components/layouts/ReportsLayout/ReportsLayout.tsx@@ -17,28 +17,7 @@ const ReportsLayout: FC<Props> = ({ title, children }) => {const router = useRouter()const page = router.pathname.split('/')[4] || ''- const menuRoutes = [- {- items: [- {- name: 'Overview',- key: '',- url: `/project/${project}/reports`,- items: [],- },- ],- },- {- items: [- {- name: 'Dashboard',- key: 'dashboard',- url: `/project/${project}/reports/dashboard`,- items: [],- },- ],- },- ]+return (<BaseLayouttitle={title}diff --git a/studio/components/layouts/ReportsLayout/ReportsMenu.utils.ts b/studio/components/layouts/ReportsLayout/ReportsMenu.utils.tsindex b36fec9b7dd..ba6849adcb9 100644--- a/studio/components/layouts/ReportsLayout/ReportsMenu.utils.ts+++ b/studio/components/layouts/ReportsLayout/ReportsMenu.utils.ts@@ -1,29 +1,27 @@import { Project } from 'types'import { ProductMenuGroup } from 'components/ui/ProductMenu/ProductMenu.types'-import { useFlag } from 'hooks'export const generateReportsMenu = (project?: Project): ProductMenuGroup[] => {const ref = project?.ref ?? 'default'- const productReports = useFlag('productReports')return [{title: 'Reports',items: [{- name: 'Custom reports?',+ name: 'Custom reports',key: 'reports',url: `/project/${ref}/reports`,items: [],},{- name: 'API?',+ name: 'API',key: 'api-usage',url: `/project/${ref}/reports/api-usage`,items: [],},{- name: 'Database?',+ name: 'Database',key: 'database',url: `/project/${ref}/reports/database`,items: [],diff --git a/studio/components/layouts/StorageLayout/StorageMenu.tsx b/studio/components/layouts/StorageLayout/StorageMenu.tsxindex f268f14869e..1d379d5fd22 100644--- a/studio/components/layouts/StorageLayout/StorageMenu.tsx+++ b/studio/components/layouts/StorageLayout/StorageMenu.tsx@@ -95,7 +95,7 @@ const StorageMenu: FC<Props> = () => {)}</div></div>-+ <div className="h-px w-full bg-scale-500"></div><div className=""><Menu.Group title="Configuration" /><Link href={`/project/${projectRef}/storage/policies`}>diff --git a/studio/pages/project/[ref]/reports/index.tsx b/studio/pages/project/[ref]/reports/index.tsxindex 3c8315fd8e4..ac2f6334460 100644--- a/studio/pages/project/[ref]/reports/index.tsx+++ b/studio/pages/project/[ref]/reports/index.tsx@@ -9,9 +9,9 @@ import { post } from 'lib/common/fetch'import { API_URL, PROJECT_STATUS } from 'lib/constants'import { useProjectContentStore } from 'stores/projectContentStore'import Loading from 'components/ui/Loading'-import { ProjectLayoutWithAuth } from 'components/layouts'import ProductEmptyState from 'components/to-be-cleaned/ProductEmptyState'import { createReport } from 'components/to-be-cleaned/Reports/Reports.utils'+import ReportsLayout from 'components/layouts/ReportsLayout/ReportsLayout'export const UserReportPage: NextPageWithLayout = () => {const [loading, setLoading] = useState(true)@@ -52,7 +52,7 @@ export const UserReportPage: NextPageWithLayout = () => {}, [ref])return (- <div className="mx-auto my-16 w-full max-w-7xl flex-grow space-y-16">+ <div className="mx-auto my-32 w-full max-w-7xl flex-grow space-y-16">{loading ? (<Loading />) : (@@ -83,6 +83,6 @@ export const UserReportPage: NextPageWithLayout = () => {)}-UserReportPage.getLayout = (page) => <ProjectLayoutWithAuth>{page}</ProjectLayoutWithAuth>+UserReportPage.getLayout = (page) => <ReportsLayout>{page}</ReportsLayout>export default observer(UserReportPage)diff --git a/studio/pages/project/[ref]/settings/database.tsx b/studio/pages/project/[ref]/settings/database.tsxindex 3a28f1b5826..6c7ee82e098 100644--- a/studio/pages/project/[ref]/settings/database.tsx+++ b/studio/pages/project/[ref]/settings/database.tsx@@ -278,8 +278,9 @@ const GeneralSettings: FC<any> = ({ projectRef }) => {return (<>- <div className="">- <section className="mt-6 space-y-6">+ <div className="mx-auto max-w-4xl px-12 pt-8 pb-8">+ <section className="space-y-6">+ <h3 className="text-scale-1200 mb-2 text-xl">Database Settings</h3><Paneltitle={<h5 key="panel-title" className="mb-0">@@ -342,8 +343,8 @@ const GeneralSettings: FC<any> = ({ projectRef }) => {<ResetDbPassword /><DownloadCertificate createdAt={connectionInfo.inserted_at} /></div>- <div>- <section className="mt-6 space-y-6">+ <div className="mx-auto max-w-4xl px-12 -mt-8">+ <section className="space-y-6"><Paneltitle={<h5 key="panel-title" className="mb-0">