Skip to content

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

chore(studio): default opt-in to integrations layout (#48183)

Francesco Sansalvadore50d7030f482e
diff --git a/apps/studio/components/interfaces/App/FeaturePreview/IntegrationsLayoutPreview.tsx b/apps/studio/components/interfaces/App/FeaturePreview/IntegrationsLayoutPreview.tsx
index 55c42690c66..ad21bc73acf 100644
--- a/apps/studio/components/interfaces/App/FeaturePreview/IntegrationsLayoutPreview.tsx
+++ b/apps/studio/components/interfaces/App/FeaturePreview/IntegrationsLayoutPreview.tsx
@@ -1,7 +1,19 @@
+import Image from 'next/image'
+import { BASE_PATH } from 'ui-patterns/CommandMenu/prepackaged/shared/constants'
+
export const IntegrationsLayoutPreview = () => (
<div>
- <p className="text-sm text-foreground-light">
- Browse and install integrations from a new layout with improved filtering and search.
+ <p className="text-sm text-foreground-light mb-4">
+ Install Dashboard Integrations in a single click, with improved filtering and search to help
+ you find the one you need.
</p>
+
+ <Image
+ alt="integrations layout preview"
+ src={`${BASE_PATH}/img/previews/integrations-layout-preview.png`}
+ width={1296}
+ height={900}
+ className="rounded-sm border"
+ />
</div>
)
diff --git a/apps/studio/components/interfaces/App/FeaturePreview/useFeaturePreviews.ts b/apps/studio/components/interfaces/App/FeaturePreview/useFeaturePreviews.ts
index dd425cc52f5..65be8e9df45 100644
--- a/apps/studio/components/interfaces/App/FeaturePreview/useFeaturePreviews.ts
+++ b/apps/studio/components/interfaces/App/FeaturePreview/useFeaturePreviews.ts
@@ -92,12 +92,12 @@ export const useFeaturePreviews = (): FeaturePreview[] => {
},
{
key: LOCAL_STORAGE_KEYS.UI_PREVIEW_MARKETPLACE,
- name: 'Integrations layout',
+ name: 'One-Click Integrations',
discussionsUrl: undefined,
enabled: isMarketplaceEnabled,
isNew: true,
- isPlatformOnly: true,
- isDefaultOptIn: false,
+ isPlatformOnly: false,
+ isDefaultOptIn: true,
getRoute: (ref?: string) => `/project/${ref}/integrations`,
},
{
diff --git a/apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceIndex.tsx b/apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceIndex.tsx
index 2314874e1dc..eb08824ef1c 100644
--- a/apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceIndex.tsx
+++ b/apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceIndex.tsx
@@ -229,7 +229,7 @@ export const MarketplaceIndex = () => {
</PageHeaderDescription>
</PageHeaderSummary>
<div className="flex shrink-0 items-center gap-2">
- <DocsButton href={`${DOCS_URL}/guides/integrations/partner-catalog`} />
+ <DocsButton href={`${DOCS_URL}/guides/integrations`} />
</div>
</PageHeaderMeta>
</PageHeader>
diff --git a/apps/studio/public/img/previews/integrations-layout-preview.png b/apps/studio/public/img/previews/integrations-layout-preview.png
new file mode 100644
index 00000000000..d026663a373
Binary files /dev/null and b/apps/studio/public/img/previews/integrations-layout-preview.png differ