The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(studio): clarify integration settings copy (#47578)
Danny White5677b0ec2a49
diff --git a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsxindex f261fa21e9c..eb672742b98 100644--- a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx+++ b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubIntegrationConnectionForm.tsx@@ -102,7 +102,7 @@ export const GitHubIntegrationConnectionForm = ({const { mutate: createConnection, isPending: isCreatingConnection } =useGitHubConnectionCreateMutation({onSuccess: () => {- toast.success('GitHub integration successfully updated')+ toast.success('GitHub connection updated')},onError: (error) => {// Don't show error toast when connection already exists - the branch@@ -116,7 +116,7 @@ export const GitHubIntegrationConnectionForm = ({const { mutateAsync: deleteConnection, isPending: isDeletingConnection } =useGitHubConnectionDeleteMutation({onSuccess: () => {- toast.success('Successfully removed GitHub integration')+ toast.success('GitHub connection removed')},})@@ -391,7 +391,7 @@ export const GitHubIntegrationConnectionForm = ({<GitHubRepositoryFieldform={githubSettingsForm}name="repositoryId"- label="GitHub Repository"+ label="GitHub repository"layout="flex-row-reverse"description={connectiondiff --git a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubStatus.tsx b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubStatus.tsxindex 5aa2bc41153..337adeed3f7 100644--- a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubStatus.tsx+++ b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GitHubStatus.tsx@@ -44,7 +44,7 @@ export const GitHubStatus = () => {className="block w-full transition truncate text-sm text-foreground-light hover:text-foreground"><div className="w-full flex items-center justify-between">- <h3 className="text-sm">GitHub Integration</h3>+ <h3 className="text-sm">GitHub connection</h3><ArrowUpRight strokeWidth={1} className="h-4 w-4" /></div><p className="mt-0.5 text-xs text-foreground-lighter flex items-center gap-2">diff --git a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GithubSection.tsx b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GithubSection.tsxindex 8450bdee8d9..5bfd2dff6ff 100644--- a/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GithubSection.tsx+++ b/apps/studio/components/interfaces/Settings/Integrations/GithubIntegration/GithubSection.tsx@@ -80,7 +80,7 @@ export const GitHubSection = ({ isProjectScoped }: { isProjectScoped: boolean })const { mutate: deleteGitHubConnection } = useGitHubConnectionDeleteMutation({onSuccess: () => {- toast.success('Successfully deleted GitHub connection')+ toast.success('GitHub connection deleted')},})@@ -97,6 +97,10 @@ export const GitHubSection = ({ isProjectScoped }: { isProjectScoped: boolean })enabled: !isProjectScoped && canCreateGitHubConnection,})+ const description = isProjectScoped+ ? 'Connect this Supabase project to a GitHub repository. Supabase applies database changes when you merge into your production branch. If branching is enabled, each pull request gets its own preview database.'+ : 'Connect GitHub repositories to Supabase projects in this organization. The Supabase GitHub app watches file, branch, and pull request activity in each connected repository.'+const onDeleteGitHubConnection = useCallback(async (connection: IntegrationProjectConnection) => {if (!org?.id) {@@ -118,14 +122,8 @@ export const GitHubSection = ({ isProjectScoped }: { isProjectScoped: boolean })<div className="flex flex-1 items-start gap-6"><IntegrationSectionIcon title="github" /><PageSectionSummary>- <PageSectionTitle>- {isProjectScoped ? 'GitHub Integration' : 'GitHub Connections'}- </PageSectionTitle>- <PageSectionDescription>- {isProjectScoped- ? 'Connect any of your GitHub repositories to a project. Supabase applies database changes when you merge into your production branch. If branching is enabled, each pull request gets its own preview database.'- : 'Connect any of your GitHub repositories to a project. The GitHub app watches file, branch, and pull request activity in your repository.'}- </PageSectionDescription>+ <PageSectionTitle>GitHub</PageSectionTitle>+ <PageSectionDescription>{description}</PageSectionDescription></PageSectionSummary></div></PageSectionMeta>@@ -133,7 +131,7 @@ export const GitHubSection = ({ isProjectScoped }: { isProjectScoped: boolean }){isLoadingPermissions ? (<GenericSkeletonLoader />) : !canReadGitHubConnection ? (- <NoPermission resourceText="view this organization's GitHub connections" />+ <NoPermission resourceText="view GitHub connections" />) : isProjectScoped ? (<GitHubIntegrationConnectionForm connection={existingConnection} />) : (@@ -162,7 +160,7 @@ export const GitHubSection = ({ isProjectScoped }: { isProjectScoped: boolean }){gitHubAuthorization && (<p className="text-sm text-foreground-light">- You are authorized with the Supabase GitHub App. You can configure your{' '}+ You are authorized with the Supabase GitHub app. You can configure your{' '}<InlineLink href={GITHUB_INTEGRATION_INSTALLATION_URL}>GitHub App installations and repository access</InlineLink>diff --git a/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx b/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsxindex 7e0c4a775ff..5b92a1e6e78 100644--- a/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx+++ b/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelSection.tsx@@ -138,6 +138,9 @@ export const VercelSection = ({ isProjectScoped }: { isProjectScoped: boolean })connections.length,'connection')} `+ const description = isProjectScoped+ ? 'Connect Vercel projects to this Supabase project. Supabase keeps environment variables up to date in each connected Vercel project.'+ : 'Connect your Vercel teams to this Supabase organization. Supabase keeps environment variables up to date in each connected project. You can also link multiple Vercel projects to the same Supabase project.'return (<PageSection>@@ -145,12 +148,8 @@ export const VercelSection = ({ isProjectScoped }: { isProjectScoped: boolean })<div className="flex flex-1 items-start gap-6"><IntegrationSectionIcon title="vercel" /><PageSectionSummary>- <PageSectionTitle>Vercel Integration</PageSectionTitle>- <PageSectionDescription>- Connect your Vercel teams to your Supabase organization. Supabase keeps environment- variables up to date in each assigned project. You can also link multiple Vercel- projects to the same Supabase project.- </PageSectionDescription>+ <PageSectionTitle>Vercel</PageSectionTitle>+ <PageSectionDescription>{description}</PageSectionDescription></PageSectionSummary></div></PageSectionMeta>@@ -221,9 +220,9 @@ export const VercelSection = ({ isProjectScoped }: { isProjectScoped: boolean })disabled={isBranch}href={integrationUrl}icon={<ExternalLink />}- disabledTooltip="Install Vercel Integration on your project's main branch"+ disabledTooltip="Install the Vercel integration on your project's main branch">- Install Vercel Integration+ Install Vercel integration</EmptyIntegrationConnection>)}</div>