Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

add skip button on project connections

Alaister Young320f59bf80d6
diff --git a/studio/components/interfaces/Integrations/ProjectLinker.tsx b/studio/components/interfaces/Integrations/ProjectLinker.tsx
index 449b197d618..41cf88e40ed 100644
--- a/studio/components/interfaces/Integrations/ProjectLinker.tsx
+++ b/studio/components/interfaces/Integrations/ProjectLinker.tsx
@@ -25,6 +25,7 @@ export interface ProjectLinkerProps {
onCreateConnections?: () => void
installedConnections: IntegrationProjectConnection[] | undefined
setLoading?: (x: boolean) => void
+ showSkip?: boolean
}
const UNDEFINED_SELECT_VALUE = 'undefined'
@@ -36,6 +37,7 @@ const ProjectLinker = ({
onCreateConnections: _onCreateConnections,
installedConnections = [],
setLoading,
+ showSkip = false,
}: ProjectLinkerProps) => {
const selectedOrganization = useSelectedOrganization()
@@ -207,7 +209,18 @@ const ProjectLinker = ({
</Panel>
</div>
</div>
- <div className="flex w-full justify-end">
+ <div className="flex w-full justify-end gap-2">
+ {showSkip && (
+ <Button
+ size="medium"
+ type="default"
+ onClick={() => {
+ _onCreateConnections?.()
+ }}
+ >
+ Skip
+ </Button>
+ )}
<Button
size="medium"
className="self-end"
diff --git a/studio/pages/integrations/vercel/[slug]/marketplace/choose-project.tsx b/studio/pages/integrations/vercel/[slug]/marketplace/choose-project.tsx
index 5a44b916f90..bbb7dbd0b86 100644
--- a/studio/pages/integrations/vercel/[slug]/marketplace/choose-project.tsx
+++ b/studio/pages/integrations/vercel/[slug]/marketplace/choose-project.tsx
@@ -85,6 +85,7 @@ This Supabase integration manages your environment variables automatically to pr
}}
installedConnections={integration?.connections}
setLoading={setLoading}
+ showSkip={true}
/>
</ScaffoldContainer>
</>