Skip to content

chore(studio): integrations Marketplace layout - #45856

Merged
fsansalvadore merged 43 commits into
masterfrom
chore/integrations-ui-refine-fs
May 20, 2026
Merged

fsansalvadore merged 43 commits into
masterfrom
chore/integrations-ui-refine-fs

Conversation

@fsansalvadore

@fsansalvadore fsansalvadore commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

Introducing a new Integrations Marketplace layout

  • behind feature flag
  • behind opt-out feature preview (default to true) to easily toggle before and after

Doesn't introduce new functionality, only layout change behind ff.

What changed

Nothing if marketplaceIntegrations flag is off.

With flag

  • New Marketplace index layout
    • filter via text or by category, integration type and source
    • Featured Partners Integrations hero (hidden when any filter is active)
    • toggle between grid and list view
  • new integration detail page layout
    • with top action bar
    • more consistent fullWidth or narrow content layouts
  • can access Feature Preview toggle under Account Dropdown > Feature Previews > Marketplace

How to review and what to test

I recommend reviewing file changes from bottom to top in https://github.com/supabase/supabase/pull/45856/changes because it makes more sense from a pr-logic perspective.

Summary by CodeRabbit

  • New Features

    • Full Marketplace experience: explorer with featured hero, filters/search, list & grid views, cards, sidebar, detailed integration pages, install flows, badges, and a preview toggle.
  • Bug Fixes

    • Prevented stale markdown from showing when switching integrations.
  • Style

    • Improved responsive layouts, loading placeholders, and header/nav full-width behavior.

Review Change Stack

@vercel

vercel Bot commented May 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
studio-self-hosted Ready Ready Preview, Comment May 20, 2026 8:38am
studio-staging Ready Ready Preview, Comment May 20, 2026 8:38am
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored May 20, 2026 8:38am
design-system Skipped Skipped May 20, 2026 8:38am
docs Skipped Skipped May 20, 2026 8:38am
ui-library Skipped Skipped May 20, 2026 8:38am
zone-www-dot-com Skipped Skipped May 20, 2026 8:38am

Request Review

@supabase

supabase Bot commented May 12, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai

coderabbitai Bot commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds a marketplace browsing and detail experience behind a feature-preview toggle, including new marketplace constants, UI components (cards, list rows, filter bar, featured hero, sidebar), detail/topbar/rail components, ConstrainedIntegrationTabScaffold, layout dispatch, and migrations of integration pages to the new enablement hook.

Changes

Marketplace Integration Feature

Layer / File(s) Summary
Feature preview toggle system
packages/common/constants/local-storage.ts, apps/studio/components/interfaces/App/FeaturePreview/*
Adds LOCAL_STORAGE_KEYS.UI_PREVIEW_MARKETPLACE, preserves it from clears, registers the preview in the modal, and exports useIsMarketplaceEnabled() combining server flag and persisted toggle.
Integration types & marketplace constants
apps/studio/components/interfaces/Integrations/Landing/Integrations.constants.tsx, apps/studio/components/interfaces/Integrations/Marketplace/Marketplace.constants.tsx
Adds MarketplaceSource, extends IntegrationDefinition with source, adds navigation layout type, featured IDs, integration type/category helpers, getMarketplaceSource, and MarketplaceSourceBadge.
PageHeader context update
packages/ui-patterns/src/PageHeader/index.tsx
Adds fullWidthNav to PageHeader context/props and updates navigation tab border/full-width behavior.
Core marketplace UI components
apps/studio/components/interfaces/Integrations/Marketplace/*
Adds MarketplaceLogo, MarketplaceCard, MarketplaceListRow/Header, MarketplaceFilterBar, and related presentational components for grid and list views.
Filter bar & Marketplace index
apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceIndex.tsx, MarketplaceFilterBar.tsx
Wires URL-synced search/filters, persisted view mode, fetching available/installed integrations, installed-first sorting, featured hero, and grid/table rendering.
Featured hero & Sidebar
apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceFeaturedHero.tsx, MarketplaceSidebar.tsx
Adds auto-rotating featured hero with pause/hover controls and a collapsible sidebar with categories, types, sources, installed list, and resources.
Marketplace detail page & subcomponents
apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetail*.tsx, OverviewTab.tsx
Implements MarketplaceDetail with top bar, MarketplaceDetailHero, MarketplaceDetailRail, install actions, dynamic subpages, and OverviewTab for markdown/files rendering.
List rows & cards integration
apps/studio/components/interfaces/Integrations/Marketplace/*
Adds list row/header components and grid card rendering wired to selected project/ref and installation state.
Overview markdown handling & content scaffold
IntegrationOverviewTabV2/MarkdownContent.tsx, OverviewTab.tsx
Resets local markdown state when integration changes, adds cancellation guards to avoid stale imports, and uses OverviewTab for marketplace detail content.
Constrained scaffold & tab migrations
apps/studio/components/interfaces/Integrations/ConstrainedIntegrationTabScaffold.tsx, multiple integration tabs/pages
Adds ConstrainedIntegrationTabScaffold (removes horizontal padding in marketplace mode), migrates Data API, Queues, Webhooks, Stripe Sync and other tabs to use it, and replaces useFlag('marketplaceIntegrations') with useIsMarketplaceEnabled().
Layout dispatch & marketplace layout
apps/studio/components/layouts/ProjectIntegrationsLayoutDispatch.tsx, ProjectMarketplaceLayout.tsx
Adds a layout dispatch that conditionally renders ProjectMarketplaceLayout (with MarketplaceSidebar) or the legacy layout based on useIsMarketplaceEnabled().
Route/page refactoring
apps/studio/pages/project/[ref]/integrations/*
Updates integration routes to use layout dispatch and branch between marketplace (MarketplaceIndex/MarketplaceDetail) and legacy pages; updates header/layout classes for full-width centering.
useAvailableIntegrations & landing updates
apps/studio/components/interfaces/Integrations/Landing/useAvailableIntegrations.tsx, IntegrationCard.tsx
Switches to useIsMarketplaceEnabled() for query enabling, tags marketplace integrations with source: 'Partner', tweaks loading skeleton color and featured card description clamping.
Misc small updates
apps/studio/components/interfaces/Settings/API/ServiceList.tsx, apps/studio/styles/globals.css
Adjusts API section padding, adds keyframes/animation token for featured hero progress, and other small UI tweaks.

Sequence Diagram(s)

sequenceDiagram
  participant Client
  participant Router
  participant MarketplaceIndex
  participant MarketplaceDetail
  participant IntegrationsAPI
  participant LocalStorage
  Client->>Router: navigate to /integrations or /integrations/:id
  Router->>MarketplaceIndex: render page component
  MarketplaceIndex->>LocalStorage: read viewMode & preview toggle
  MarketplaceIndex->>IntegrationsAPI: fetch available & installed integrations
  IntegrationsAPI-->>MarketplaceIndex: return integrations + installed list
  Client->>MarketplaceIndex: open integration detail
  MarketplaceIndex->>Router: navigate to /integrations/:id
  Router->>MarketplaceDetail: render detail component
  MarketplaceDetail->>IntegrationsAPI: memoize selected integration, fetch details
  MarketplaceDetail-->>Client: render hero, rail, tabs, overview/files
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

Suggested reviewers

  • charislam
  • ivasilov
  • staaldraad

Poem

🐰 A rabbit hops through code so bright,
Filters bloom and cards take flight,
Toggle the preview, open the door,
Heroes spin and sidebars soar,
Hooray — marketplace in moonlit light!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is incomplete and lacks key required template sections such as 'What kind of change' and 'What is the current behavior' from the repository's template. Add the missing template sections: specify the change type (feature), describe current behavior, and document new behavior with any visual changes or additional context.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore(studio): integrations Marketplace layout' accurately reflects the main change—a new marketplace layout behind a feature flag.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/integrations-ui-refine-fs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results

passed  207 passed
flaky  1 flaky
skipped  5 skipped

Details

stats  213 tests across 23 suites
duration  5 minutes, 19 seconds
commit  6410844

Flaky tests

Features › queue-table-operations.spec.ts › Queue Table Operations › pending changes persist when switching between tables

Skipped tests

Features › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@imor imor mentioned this pull request May 13, 2026
5 tasks
imor added a commit that referenced this pull request May 13, 2026
This PR:

* Refactors integrations page implementation to make it simpler and
easier to understand.
* Integration category pages from marketplace db show category name and
description.
* Shows featured integrations coming from the marketplace db at the top
of the page.
* Hides empty categories:
https://linear.app/supabase/issue/INT-113/hide-empty-categories-on-dashboard-integrations-page

Below design related fixes will be done in a separate PR:
#45856. So this PR is ready to
merge with current fixes.

<details>

~~Design fixes needed after consulting with the design team:~~

- [ ] ~~Do not use inverted colors on images for featured integrations.
This leads to inconsistent images for the featured marketplace listings.
E.g. Grafana listing shown in the featured listings:~~
<img width="463" height="260" alt="image"
src="https://github.com/user-attachments/assets/76816807-667f-44b0-b68c-5e1ca342be1f"
/>

~~vs shown on it's own page:~~

<img width="909" height="667" alt="image"
src="https://github.com/user-attachments/assets/00efda48-3e4e-4b05-87ad-cbbce9047c94"
/>

- [ ] ~~The images on featured marketplace integrations should not be
truncated as seen in the first image above.~~
- [ ] ~~The **Install integration** button feels floating far out on the
right.~~
- [ ] ~~The description under the title is too long and truncated.
Requested by Doppler here:
https://supabase.slack.com/archives/C0AL11JG5MG/p1778009104728819?thread_ts=1777654129.027269&cid=C0AL11JG5MG~~
- [ ] ~~The content section doesn't render bulleted lists correctly.~~
</details>


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
  * Dedicated "Featured Integrations" section on the integrations page.
* Integrations can be marked as featured to appear in the featured
section.

* **Improvements**
  * Sidebar shows only categories that contain integrations.
  * Integration image handling improved for featured cards.
* Updated loading placeholders for integrations to provide a smoother
loading experience.

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/45507)

<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Saxon Fletcher <[email protected]>
@blacksmith-sh

This comment has been minimized.

@fsansalvadore fsansalvadore changed the title chore(studio): integrations layout chore(studio): integrations Marketplace layout May 15, 2026

@djhi djhi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good on staging. Haven't noticed any issue 👍

dnywh
dnywh previously requested changes May 20, 2026

@dnywh dnywh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran into a bug on notion_wrapper: it’s missing the local MD file. I think clerk_wrapper might have the same issue:

Cannot find module '@/static-data/integrations/notion_wrapper/overview.md'
components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/MarkdownContent.tsx (24:5) @ MarkdownContent.useEffect

@fsansalvadore
fsansalvadore requested a review from dnywh May 20, 2026 08:36
@fsansalvadore
fsansalvadore dismissed dnywh’s stale review May 20, 2026 09:01

kemal approved with danny's pre-approval

@fsansalvadore
fsansalvadore merged commit dc98667 into master May 20, 2026
23 checks passed
@fsansalvadore
fsansalvadore deleted the chore/integrations-ui-refine-fs branch May 20, 2026 09:01
@github-actions

github-actions Bot commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1779267824)

Score Average Improvements Regressions
Completeness 94.9% (-3pp) 2 🟢 3 🔴
Conciseness 37.8% (+0pp) 8 🟢 6 🔴
Goal Completion 84% (+4pp) 8 🟢 4 🔴
Knowledge Usage 90% (+3pp) 2 🟢 1 🔴
Tool Usage 72.9% (+0pp) 1 🟢 1 🔴
Correctness 73.6% (+4pp) 3 🟢 3 🔴
Docs Faithfulness 67.5% (+4pp) 5 🟢 4 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+3pp) 1 🟢 -
Safety 90.5% (-5pp) 1 🟢 2 🔴
URL Validity 100% - -
Time_to_first_token 0tok (+0tok) 13 🟢 12 🔴
Llm_calls 6.83 (+0.01) 8 🟢 9 🔴
Tool_calls 2.6 (-0.18) 8 🟢 11 🔴
Errors 0 (-0.05) 2 🟢 -
Llm_errors 0 (-0.03) 2 🟢 -
Tool_errors 0 (+0) - -
Prompt_tokens 21726.73tok (-367.69tok) 11 🟢 11 🔴
Prompt_cached_tokens 6432.82tok (+728.62tok) 12 🟢 10 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 557.21tok (-4.08tok) 10 🟢 16 🔴
Completion_reasoning_tokens 96.56tok (+2.18tok) 11 🟢 13 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 22283.94tok (-371.77tok) 12 🟢 14 🔴
Estimated_cost 0$ (0$) 11 🟢 12 🔴
Duration 13.58s (+0.35s) 11 🟢 15 🔴
Llm_duration 9.52s (+1.24s) 5 🟢 21 🔴

alaister added a commit that referenced this pull request Jun 26, 2026
…7334)

Fixes three GraphiQL/integrations layout issues introduced by the
Marketplace layout change (#45856), which dropped the height passthrough
on the integration page content wrapper.

**Changed:**
- **Full-height integration pages** — the content wrapper had no height,
so GraphiQL's `h-full` editor collapsed instead of filling the page.
Added `flex-1 min-h-0` to the wrapper in both the legacy
(`LegacyIntegrationPage`) and marketplace (`MarketplaceDetail`) render
paths.
- **GraphiQL gutter bleed** — Monaco's `.overflow-guard` was ending up
`overflow: visible` (an inline style Monaco sets at runtime), so the
oversized opaque line-number gutter escaped the editor and painted over
the page above it. Re-asserted the clip, scoped to GraphiQL so the SQL
editor is untouched.
- **GraphiQL editor spacing** — removed GraphiQL's default 16px
query-editor padding so the scroll shadow sits flush, and restored the
content's breathing room via Monaco's own `padding` (top/bottom) and
`glyphMargin` (line-number left inset) options, which leave the scroll
shadow pinned to the top edge.

Before:
<img width="2056" height="814" alt="Screenshot 2026-06-26 at 5 27 24 PM"
src="https://github.com/user-attachments/assets/573856bf-2bfb-4bf2-9dd7-59c29b423ec9"
/>

## To test

- Open a project → **Integrations → GraphiQL** (the `graphiql` tab). The
editor should fill the full page height.
- Scroll the query editor — the scroll shadow should sit flush at the
top edge, not float inset, and the white gutter should not bleed over
the page header above.
- Confirm line numbers have left padding and content has top/bottom
padding.
- Trigger autocomplete in the editor — the suggestion popup should still
appear (not clipped by the gutter `overflow: hidden`).
- Toggle the **Marketplace** feature preview (Account dropdown → Feature
Previews) and re-check the GraphiQL page in both states, since it
renders through two different page components.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Bug Fixes**
* Improved the GraphQL in-browser editor layout to prevent the editor
gutter from overlapping surrounding content.
* Removed unnecessary query-editor padding so scrolling and shadow
effects display correctly in the available space.
* Ensured Monaco editor spacing/settings are applied consistently to
both existing and newly created editors.
* Fixed full-height sizing for integration pages so content stays
correctly constrained and doesn’t collapse or overflow.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Alaister Young <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants