The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
refactor(studio): clean up ProjectLayout title API (#43742)
Danny White7d6995bbfe85
diff --git a/apps/design-system/content/docs/ui-patterns/navigation.mdx b/apps/design-system/content/docs/ui-patterns/navigation.mdxindex 8a7a94e7a70..a94277fba22 100644--- a/apps/design-system/content/docs/ui-patterns/navigation.mdx+++ b/apps/design-system/content/docs/ui-patterns/navigation.mdx@@ -29,7 +29,7 @@ Implementation notes (Studio):- Use the shared title formatter in `apps/studio/lib/page-title.ts`- Prefer `ProjectLayout` for project-scoped pages- Prefer a layout's explicit `title` prop when a wrapper layout exposes one-- Use `browserTitle` for additional segments such as `entity` or `surface`, or when rendering `ProjectLayout` directly+- Use `browserTitle.section` when rendering `ProjectLayout` directly- Use `browserTitle.entity` for the most specific resource (table/function/query) when available-- `ProjectLayout.title` remains supported as legacy/deprecated compatibility when using `ProjectLayout` directly+- Use `product` as the single source of truth for the project-level surface segment- Avoid assembling `document.title` ad hoc in individual pages/layoutsdiff --git a/apps/studio/components/layouts/AuthLayout/AuthLayout.tsx b/apps/studio/components/layouts/AuthLayout/AuthLayout.tsxindex 746d2206103..51d1768f0cc 100644--- a/apps/studio/components/layouts/AuthLayout/AuthLayout.tsx+++ b/apps/studio/components/layouts/AuthLayout/AuthLayout.tsx@@ -22,8 +22,8 @@ export const AuthProductMenu = () => {const AuthLayout = ({ title, children }: PropsWithChildren<{ title: string }>) => {return (<ProjectLayout- title={title}product="Authentication"+ browserTitle={{ section: title }}productMenu={<AuthProductMenu />}isBlocking={false}>diff --git a/apps/studio/components/layouts/BranchLayout/BranchLayout.tsx b/apps/studio/components/layouts/BranchLayout/BranchLayout.tsxindex 29f53a3b91f..2b2ba475c5b 100644--- a/apps/studio/components/layouts/BranchLayout/BranchLayout.tsx+++ b/apps/studio/components/layouts/BranchLayout/BranchLayout.tsx@@ -1,10 +1,10 @@-import { useRouter } from 'next/router'-import { PropsWithChildren } from 'react'-import { useParams } from 'common'import { GitHubStatus } from 'components/interfaces/Settings/Integrations/GithubIntegration/GitHubStatus'import { ProductMenu } from 'components/ui/ProductMenu'import { withAuth } from 'hooks/misc/withAuth'+import { useRouter } from 'next/router'+import { PropsWithChildren } from 'react'+import { ProjectLayout } from '../ProjectLayout'import { generateBranchMenu } from './BranchLayout.utils'@@ -26,12 +26,7 @@ const BranchProductMenu = () => {const BranchLayout = ({ children }: PropsWithChildren<{}>) => {return (- <ProjectLayout- title="Branching"- product="Branching"- productMenu={<BranchProductMenu />}- isBlocking={false}- >+ <ProjectLayout product="Branching" productMenu={<BranchProductMenu />} isBlocking={false}>{children}</ProjectLayout>)diff --git a/apps/studio/components/layouts/DatabaseLayout/DatabaseLayout.tsx b/apps/studio/components/layouts/DatabaseLayout/DatabaseLayout.tsxindex 8210ff34b90..3ce98950134 100644--- a/apps/studio/components/layouts/DatabaseLayout/DatabaseLayout.tsx+++ b/apps/studio/components/layouts/DatabaseLayout/DatabaseLayout.tsx@@ -21,8 +21,8 @@ export const DatabaseProductMenu = () => {const DatabaseLayout = ({ children, title }: PropsWithChildren<DatabaseLayoutProps>) => {return (<ProjectLayout- title={title}product="Database"+ browserTitle={{ section: title }}productMenu={<DatabaseProductMenu />}isBlocking={false}>diff --git a/apps/studio/components/layouts/DocsLayout/DocsLayout.tsx b/apps/studio/components/layouts/DocsLayout/DocsLayout.tsxindex 1046fbc4a6d..19011e6685d 100644--- a/apps/studio/components/layouts/DocsLayout/DocsLayout.tsx+++ b/apps/studio/components/layouts/DocsLayout/DocsLayout.tsx@@ -1,6 +1,3 @@-import { useRouter } from 'next/router'-import { ReactElement } from 'react'-import { useParams } from 'common'import { useIsAPIDocsSidePanelEnabled } from 'components/interfaces/App/FeaturePreview/FeaturePreviewContext'import Error from 'components/ui/Error'@@ -10,6 +7,9 @@ import { useIsFeatureEnabled } from 'hooks/misc/useIsFeatureEnabled'import { useSelectedProjectQuery } from 'hooks/misc/useSelectedProject'import { withAuth } from 'hooks/misc/withAuth'import { PROJECT_STATUS } from 'lib/constants'+import { useRouter } from 'next/router'+import { ReactElement } from 'react'+import { ProjectLayout } from '../ProjectLayout'import { generateDocsMenu, getActivePage } from './DocsLayout.utils'@@ -55,9 +55,9 @@ function DocsLayout({ title, children }: { title: string; children: ReactElementreturn (<ProjectLayout- title={title || 'API Docs'}isLoading={isLoading}product="API Docs"+ browserTitle={{ section: title || 'API Docs' }}productMenu={!hideMenu && (<ProductMenudiff --git a/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx b/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsxindex 847804170e6..0dcdb9b6359 100644--- a/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx+++ b/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx@@ -219,11 +219,7 @@ const EdgeFunctionDetailsLayout = ({if (!isLoading && !canReadFunctions) {return (- <ProjectLayout- title={title || 'Edge Functions'}- product="Edge Functions"- browserTitle={browserTitle}- >+ <ProjectLayout product="Edge Functions" browserTitle={browserTitle}><NoPermission isFullPage resourceText="access your project's edge functions" /></ProjectLayout>)diff --git a/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionsLayout.tsx b/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionsLayout.tsxindex fe17e65341f..3da3e6bd119 100644--- a/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionsLayout.tsx+++ b/apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionsLayout.tsx@@ -47,9 +47,8 @@ const EdgeFunctionsLayout = ({}: PropsWithChildren<EdgeFunctionsLayoutProps>) => {return (<ProjectLayout- title={title}product="Edge Functions"- browserTitle={browserTitle}+ browserTitle={{ ...browserTitle, section: title }}productMenu={<EdgeFunctionsProductMenu />}isBlocking={false}>diff --git a/apps/studio/components/layouts/ProjectIntegrationsLayout.tsx b/apps/studio/components/layouts/ProjectIntegrationsLayout.tsxindex 58bab529809..b84ad41e082 100644--- a/apps/studio/components/layouts/ProjectIntegrationsLayout.tsx+++ b/apps/studio/components/layouts/ProjectIntegrationsLayout.tsx@@ -25,8 +25,8 @@ export const ProjectIntegrationsLayout = withAuth(({ children }: PropsWithChildrreturn (<ProjectLayout- title={'Integrations'}product="Integrations"+ browserTitle={{ section: 'Integrations' }}isBlocking={false}productMenu={<>diff --git a/apps/studio/components/layouts/ProjectLayout/index.test.tsx b/apps/studio/components/layouts/ProjectLayout/index.test.tsxindex 8a65fa03165..8fb816cf310 100644--- a/apps/studio/components/layouts/ProjectLayout/index.test.tsx+++ b/apps/studio/components/layouts/ProjectLayout/index.test.tsx@@ -175,7 +175,7 @@ describe('ProjectLayout title', () => {it('sets a composed document title and deduplicates identical section/surface labels', async () => {render(<MobileSheetProvider>- <ProjectLayout title="Settings" product="Settings" isBlocking={false}>+ <ProjectLayout browserTitle={{ section: 'Settings' }} product="Settings" isBlocking={false}><div>Page Content</div></ProjectLayout></MobileSheetProvider>@@ -192,7 +192,6 @@ describe('ProjectLayout title', () => {render(<MobileSheetProvider><ProjectLayout- title="Database"product="Database"browserTitle={{ entity: 'users', section: 'Tables' }}isBlocking={false}diff --git a/apps/studio/components/layouts/ProjectLayout/index.tsx b/apps/studio/components/layouts/ProjectLayout/index.tsxindex c2390a61933..e805fd4d9df 100644--- a/apps/studio/components/layouts/ProjectLayout/index.tsx+++ b/apps/studio/components/layouts/ProjectLayout/index.tsx@@ -76,8 +76,6 @@ const routesToIgnorePostgrestConnection = []export interface ProjectLayoutProps {- /** @deprecated Use browserTitle.section instead. */- title?: stringisLoading?: booleanisBlocking?: booleanproduct?: string@@ -85,7 +83,6 @@ export interface ProjectLayoutProps {browserTitle?: {entity?: stringsection?: string- surface?: stringoverride?: string}// Deprecated: use browserTitle.entity instead. Kept for backwards compatibility.@@ -97,7 +94,6 @@ export interface ProjectLayoutProps {export const ProjectLayout = forwardRef<HTMLDivElement, PropsWithChildren<ProjectLayoutProps>>(({- title,isLoading = false,isBlocking = true,product = '',@@ -140,8 +136,8 @@ export const ProjectLayout = forwardRef<HTMLDivElement, PropsWithChildren<ProjecbrowserTitle?.override ||buildStudioPageTitle({entity: browserTitle?.entity ?? selectedTable,- section: browserTitle?.section ?? title,- surface: browserTitle?.surface ?? product,+ section: browserTitle?.section,+ surface: product,project: projectName,org: organizationName,brand: brandTitle,diff --git a/apps/studio/components/layouts/ProjectSettingsLayout/SettingsLayout.tsx b/apps/studio/components/layouts/ProjectSettingsLayout/SettingsLayout.tsxindex 50ddecf86c9..78788f8a3fa 100644--- a/apps/studio/components/layouts/ProjectSettingsLayout/SettingsLayout.tsx+++ b/apps/studio/components/layouts/ProjectSettingsLayout/SettingsLayout.tsx@@ -24,15 +24,15 @@ export const SettingsProductMenu = () => {}interface SettingsLayoutProps {- title?: string+ title: string}export const SettingsLayout = ({ title, children }: PropsWithChildren<SettingsLayoutProps>) => {return (<ProjectLayoutisBlocking={false}- title={title || 'Settings'}product="Settings"+ browserTitle={{ section: title }}productMenu={<SettingsProductMenu />}>{children}diff --git a/apps/studio/components/layouts/RealtimeLayout/RealtimeLayout.tsx b/apps/studio/components/layouts/RealtimeLayout/RealtimeLayout.tsxindex 3c9e57fdcf3..6c4bfe001a0 100644--- a/apps/studio/components/layouts/RealtimeLayout/RealtimeLayout.tsx+++ b/apps/studio/components/layouts/RealtimeLayout/RealtimeLayout.tsx@@ -31,8 +31,8 @@ export const RealtimeLayout = ({ title, children }: PropsWithChildren<RealtimeLareturn (<ProjectLayout- title={title}product="Realtime"+ browserTitle={{ section: title }}productMenu={<ProductMenu page={page} menu={generateRealtimeMenu(project)} />}>{children}diff --git a/apps/studio/components/layouts/ReportsLayout/ReportsLayout.tsx b/apps/studio/components/layouts/ReportsLayout/ReportsLayout.tsxdeleted file mode 100644index af1c9695b85..00000000000--- a/apps/studio/components/layouts/ReportsLayout/ReportsLayout.tsx+++ /dev/null@@ -1,34 +0,0 @@-import { PropsWithChildren } from 'react'--import { useParams } from 'common'-import { UnknownInterface } from 'components/ui/UnknownInterface'-import { useIsFeatureEnabled } from 'hooks/misc/useIsFeatureEnabled'-import { withAuth } from 'hooks/misc/withAuth'-import { ProjectLayout } from '../ProjectLayout'-import ReportsMenu from './ReportsMenu'--interface ReportsLayoutProps {- title?: string-}--const ReportsLayout = ({ title, children }: PropsWithChildren<ReportsLayoutProps>) => {- const { ref } = useParams()- const { reportsAll } = useIsFeatureEnabled(['reports:all'])-- if (reportsAll) {- return (- <ProjectLayout- title={title}- product="Reports"- productMenu={<ReportsMenu />}- isBlocking={false}- >- {children}- </ProjectLayout>- )- } else {- return <UnknownInterface urlBack={`/project/${ref}`} />- }-}--export default withAuth(ReportsLayout)diff --git a/apps/studio/components/layouts/StorageLayout/StorageLayout.tsx b/apps/studio/components/layouts/StorageLayout/StorageLayout.tsxindex 3cc9602bed7..70cc2ba167b 100644--- a/apps/studio/components/layouts/StorageLayout/StorageLayout.tsx+++ b/apps/studio/components/layouts/StorageLayout/StorageLayout.tsx@@ -1,7 +1,7 @@-import { ReactNode } from 'react'-import { StorageMenuV2 } from 'components/interfaces/Storage/StorageMenuV2'import { withAuth } from 'hooks/misc/withAuth'+import { ReactNode } from 'react'+import { ProjectLayout } from '../ProjectLayout'export interface StorageLayoutProps {@@ -11,7 +11,11 @@ export interface StorageLayoutProps {const StorageLayout = ({ title, children }: StorageLayoutProps) => {return (- <ProjectLayout title={title || 'Storage'} product="Storage" productMenu={<StorageMenuV2 />}>+ <ProjectLayout+ product="Storage"+ browserTitle={{ section: title }}+ productMenu={<StorageMenuV2 />}+ >{children}</ProjectLayout>)diff --git a/apps/studio/components/layouts/editors/EditorBaseLayout.tsx b/apps/studio/components/layouts/editors/EditorBaseLayout.tsxindex 60b46ee06f2..4eb1480c849 100644--- a/apps/studio/components/layouts/editors/EditorBaseLayout.tsx+++ b/apps/studio/components/layouts/editors/EditorBaseLayout.tsx@@ -50,13 +50,13 @@ export const EditorBaseLayout = ({const mergedBrowserTitle = {...browserTitle,+ section: title ?? browserTitle?.section,entity: browserTitle?.entity ?? activeEditorTabEntity,}return (<ProjectLayoutWithAuthresizableSidebar- title={title}product={product}browserTitle={mergedBrowserTitle}productMenuClassName={productMenuClassName}diff --git a/apps/studio/pages/project/[ref]/logs/index.tsx b/apps/studio/pages/project/[ref]/logs/index.tsxindex 6a0ce4399df..30afc939315 100644--- a/apps/studio/pages/project/[ref]/logs/index.tsx+++ b/apps/studio/pages/project/[ref]/logs/index.tsx@@ -1,11 +1,10 @@-import { useRouter } from 'next/router'-import { useEffect } from 'react'-import { useParams } from 'common'import { useUnifiedLogsPreview } from 'components/interfaces/App/FeaturePreview/FeaturePreviewContext'import { UnifiedLogs } from 'components/interfaces/UnifiedLogs/UnifiedLogs'import DefaultLayout from 'components/layouts/DefaultLayout'import { ProjectLayout } from 'components/layouts/ProjectLayout'+import { useRouter } from 'next/router'+import { useEffect } from 'react'import type { NextPageWithLayout } from 'types'export const LogPage: NextPageWithLayout = () => {@@ -25,7 +24,7 @@ export const LogPage: NextPageWithLayout = () => {return (<DefaultLayout>{/* Omit the generic product segment here; project/org context already makes the route clear. */}- <ProjectLayout title="Unified Logs">+ <ProjectLayout browserTitle={{ section: 'Unified Logs' }}><UnifiedLogs /></ProjectLayout></DefaultLayout>diff --git a/apps/studio/pages/project/[ref]/settings/api-keys/index.tsx b/apps/studio/pages/project/[ref]/settings/api-keys/index.tsxindex e758c4f236b..1f7799e2e54 100644--- a/apps/studio/pages/project/[ref]/settings/api-keys/index.tsx+++ b/apps/studio/pages/project/[ref]/settings/api-keys/index.tsx@@ -48,7 +48,7 @@ const ApiKeysNewPage: NextPageWithLayout = () => {ApiKeysNewPage.getLayout = (page) => (<DefaultLayout>- <SettingsLayout>+ <SettingsLayout title="API Keys"><ApiKeysLayout>{page}</ApiKeysLayout></SettingsLayout></DefaultLayout>diff --git a/apps/studio/pages/project/[ref]/settings/api-keys/legacy.tsx b/apps/studio/pages/project/[ref]/settings/api-keys/legacy.tsxindex a7b2cde1fbd..799c927a7e0 100644--- a/apps/studio/pages/project/[ref]/settings/api-keys/legacy.tsx+++ b/apps/studio/pages/project/[ref]/settings/api-keys/legacy.tsx@@ -17,7 +17,7 @@ const ApiKeysLegacyPage: NextPageWithLayout = () => {ApiKeysLegacyPage.getLayout = (page) => (<DefaultLayout>- <SettingsLayout>+ <SettingsLayout title="API Keys (Legacy)"><ApiKeysLayout>{page}</ApiKeysLayout></SettingsLayout></DefaultLayout>diff --git a/apps/studio/pages/project/[ref]/settings/compute-and-disk.tsx b/apps/studio/pages/project/[ref]/settings/compute-and-disk.tsxindex b7368afb060..44dc0d628ef 100644--- a/apps/studio/pages/project/[ref]/settings/compute-and-disk.tsx+++ b/apps/studio/pages/project/[ref]/settings/compute-and-disk.tsx@@ -27,7 +27,7 @@ const AuthSettings: NextPageWithLayout = () => {AuthSettings.getLayout = (page) => (<DefaultLayout>- <SettingsLayout>{page}</SettingsLayout>+ <SettingsLayout title="Compute and Disk">{page}</SettingsLayout></DefaultLayout>)export default AuthSettingsdiff --git a/apps/studio/pages/project/[ref]/settings/integrations.tsx b/apps/studio/pages/project/[ref]/settings/integrations.tsxindex e6aa44922ea..06e7f8eea8d 100644--- a/apps/studio/pages/project/[ref]/settings/integrations.tsx+++ b/apps/studio/pages/project/[ref]/settings/integrations.tsx@@ -9,7 +9,7 @@ import {} from 'components/layouts/Scaffold'import type { NextPageWithLayout } from 'types'-const OrgIntegrationSettings: NextPageWithLayout = () => {+const ProjectSettingsIntegrations: NextPageWithLayout = () => {return (<><ScaffoldContainer>@@ -23,9 +23,9 @@ const OrgIntegrationSettings: NextPageWithLayout = () => {)}-OrgIntegrationSettings.getLayout = (page) => (+ProjectSettingsIntegrations.getLayout = (page) => (<DefaultLayout>- <SettingsLayout>{page}</SettingsLayout>+ <SettingsLayout title="Integrations">{page}</SettingsLayout></DefaultLayout>)-export default OrgIntegrationSettings+export default ProjectSettingsIntegrationsdiff --git a/apps/studio/pages/project/[ref]/settings/jwt/index.tsx b/apps/studio/pages/project/[ref]/settings/jwt/index.tsxindex 3b4ea47b0c5..4e9631dba0b 100644--- a/apps/studio/pages/project/[ref]/settings/jwt/index.tsx+++ b/apps/studio/pages/project/[ref]/settings/jwt/index.tsx@@ -1,5 +1,4 @@import { PermissionAction } from '@supabase/shared-types/out/constants'-import { JWTSecretKeysTable } from 'components/interfaces/JwtSecrets/jwt-secret-keys-table'import DefaultLayout from 'components/layouts/DefaultLayout'import JWTKeysLayout from 'components/layouts/JWTKeys/JWTKeysLayout'@@ -30,7 +29,7 @@ const JWTSigningKeysPage: NextPageWithLayout = () => {JWTSigningKeysPage.getLayout = (page) => (<DefaultLayout>- <SettingsLayout>+ <SettingsLayout title="JWT Keys"><JWTKeysLayout>{page}</JWTKeysLayout></SettingsLayout></DefaultLayout>diff --git a/apps/studio/pages/project/[ref]/settings/jwt/legacy.tsx b/apps/studio/pages/project/[ref]/settings/jwt/legacy.tsxindex ea17e0136c0..631b84132af 100644--- a/apps/studio/pages/project/[ref]/settings/jwt/legacy.tsx+++ b/apps/studio/pages/project/[ref]/settings/jwt/legacy.tsx@@ -1,19 +1,18 @@-import JWTSettings from 'components/interfaces/JwtSecrets/jwt-settings'-import DefaultLayout from 'components/layouts/DefaultLayout'-import JWTKeysLayout from 'components/layouts/JWTKeys/JWTKeysLayout'-import SettingsLayout from 'components/layouts/ProjectSettingsLayout/SettingsLayout'-import type { NextPageWithLayout } from 'types'-import { JwtSecretUpdateError, JwtSecretUpdateStatus } from '@supabase/shared-types/out/events'import { useQueryClient } from '@tanstack/react-query'import { useParams } from 'common'+import JWTSettings from 'components/interfaces/JwtSecrets/jwt-settings'import { JWT_SECRET_UPDATE_ERROR_MESSAGES } from 'components/interfaces/JwtSecrets/jwt.constants'+import DefaultLayout from 'components/layouts/DefaultLayout'+import JWTKeysLayout from 'components/layouts/JWTKeys/JWTKeysLayout'+import SettingsLayout from 'components/layouts/ProjectSettingsLayout/SettingsLayout'import { UnknownInterface } from 'components/ui/UnknownInterface'import { useJwtSecretUpdatingStatusQuery } from 'data/config/jwt-secret-updating-status-query'import { configKeys } from 'data/config/keys'import { useIsFeatureEnabled } from 'hooks/misc/useIsFeatureEnabled'import { useEffect, useRef } from 'react'import { toast } from 'sonner'+import type { NextPageWithLayout } from 'types'const JWTKeysLegacyPage: NextPageWithLayout = () => {const client = useQueryClient()@@ -63,7 +62,7 @@ const JWTKeysLegacyPage: NextPageWithLayout = () => {JWTKeysLegacyPage.getLayout = (page) => (<DefaultLayout>- <SettingsLayout>{page}</SettingsLayout>+ <SettingsLayout title="JWT Keys (Legacy)">{page}</SettingsLayout></DefaultLayout>)diff --git a/apps/studio/pages/project/[ref]/settings/webhooks/[endpointId].tsx b/apps/studio/pages/project/[ref]/settings/webhooks/[endpointId].tsxindex 61e703815c6..9c9a26e0f71 100644--- a/apps/studio/pages/project/[ref]/settings/webhooks/[endpointId].tsx+++ b/apps/studio/pages/project/[ref]/settings/webhooks/[endpointId].tsx@@ -1,8 +1,7 @@-import { useRouter } from 'next/router'-import { PlatformWebhooksPage } from 'components/interfaces/Platform/Webhooks'import DefaultLayout from 'components/layouts/DefaultLayout'import SettingsLayout from 'components/layouts/ProjectSettingsLayout/SettingsLayout'+import { useRouter } from 'next/router'import type { NextPageWithLayout } from 'types'const ProjectWebhookEndpointSettings: NextPageWithLayout = () => {@@ -14,7 +13,7 @@ const ProjectWebhookEndpointSettings: NextPageWithLayout = () => {ProjectWebhookEndpointSettings.getLayout = (page) => (<DefaultLayout>- <SettingsLayout>{page}</SettingsLayout>+ <SettingsLayout title="Webhooks">{page}</SettingsLayout></DefaultLayout>)diff --git a/apps/studio/pages/project/[ref]/settings/webhooks/index.tsx b/apps/studio/pages/project/[ref]/settings/webhooks/index.tsxindex 346efe7fcc7..ffadea2f6fe 100644--- a/apps/studio/pages/project/[ref]/settings/webhooks/index.tsx+++ b/apps/studio/pages/project/[ref]/settings/webhooks/index.tsx@@ -9,7 +9,7 @@ const ProjectWebhooksSettings: NextPageWithLayout = () => {ProjectWebhooksSettings.getLayout = (page) => (<DefaultLayout>- <SettingsLayout>{page}</SettingsLayout>+ <SettingsLayout title="Webhooks">{page}</SettingsLayout></DefaultLayout>)