The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
update consts
Jonathan Summers-Muir31175bba07c7
diff --git a/studio/components/interfaces/Integrations/ProjectLinker.tsx b/studio/components/interfaces/Integrations/ProjectLinker.tsxindex 9ac75b97b1d..e8abddfd9f6 100644--- a/studio/components/interfaces/Integrations/ProjectLinker.tsx+++ b/studio/components/interfaces/Integrations/ProjectLinker.tsx@@ -136,8 +136,8 @@ const ProjectLinker = ({const noSupabaseProjects = supabaseProjects.length === 0const noForeignProjects = foreignProjects.length === 0- const missingEntityString = noSupabaseProjects ? 'Supabase' : 'Vercel'- const oppositeEntityString = noSupabaseProjects ? 'Vercel' : 'Supabase'+ const missingEntity = noSupabaseProjects ? 'Supabase' : 'Vercel'+ const oppositeMissingEntity = noSupabaseProjects ? 'Vercel' : 'Supabase'return (<div className="flex flex-col gap-4">@@ -146,13 +146,13 @@ const ProjectLinker = ({className="absolute inset-0 bg-grid-black/5 [mask-image:linear-gradient(0deg,#fff,rgba(255,255,255,0.6))] dark:bg-grid-white/5 dark:[mask-image:linear-gradient(0deg,rgba(255,255,255,0.1),rgba(255,255,255,0.5))]"style={{ backgroundPosition: '10px 10px' }}></div>- {(supabaseProjects.length === 0 || foreignProjects.length === 0) &&+ {(noSupabaseProjects || noForeignProjects) &&(!loadingForeignProjects || !loadingSupabaseProjects) ? (<div className="text-center">- <h5 className="text">No {missingEntityString} Projects found</h5>+ <h5 className="text">No {missingEntity} Projects found</h5><p className="text-light text-sm">- You will need to create a {missingEntityString} Project to link to a{' '}- {oppositeEntityString} Project.+ You will need to create a {missingEntity} Project to link to a {oppositeMissingEntity}{' '}+ Project.<br />You can skip this and create a Project Connection later.</p>diff --git a/studio/pages/integrations/vercel/install.tsx b/studio/pages/integrations/vercel/install.tsxindex d531def52cc..2b023802ef0 100644--- a/studio/pages/integrations/vercel/install.tsx+++ b/studio/pages/integrations/vercel/install.tsx@@ -114,8 +114,8 @@ const VercelIntegration: NextPageWithLayout = () => {},onSuccess({ id }) {setOrganizationIntegrationId(id)- snapshot.setLoading(false)handleRouteChange()+ snapshot.setLoading(false)},onError(error) {toast.error(`Creating Vercel integration failed: ${error.message}`)@@ -214,7 +214,9 @@ const VercelIntegration: NextPageWithLayout = () => {{noOrganizations && (<Alert_Shadcn_ variant="warning"><IconAlertTriangle className="h-4 w-4" strokeWidth={2} />- <AlertTitle_Shadcn_>There are no Supabase Organizations</AlertTitle_Shadcn_>+ <AlertTitle_Shadcn_>+ No Supabase Organizations to install Integration.+ </AlertTitle_Shadcn_><AlertDescription_Shadcn_ className="prose">You will need to create a Supabase Organization before you can install the VercelIntegration. You can create a new organization{' '}