Skip to content

chore: marketplace UI fixes - #46146

Merged
fsansalvadore merged 4 commits into
masterfrom
chore/marketplace-ui-polish
May 22, 2026
Merged

fsansalvadore merged 4 commits into
masterfrom
chore/marketplace-ui-polish

Conversation

@fsansalvadore

@fsansalvadore fsansalvadore commented May 20, 2026 •

Copy link
Copy Markdown
Contributor
  • add loading state to "Installed" integrations in sidebar
  • share filtering and sorting logic from legacy to new marketplace
  • integrate missing/empty categories
Screenshot 2026-05-20 at 12 30 14

Summary by CodeRabbit

  • New Features

    • Added loading indicators while installed integrations are being fetched.
  • Improvements

    • Enhanced integration categorization to surface meaningful categories for more integrations.
    • Empty categories are now hidden from the category filter.
    • Sorting now prioritizes installed integrations and improves alphabetical ordering.
    • Simplified and more consistent status badge display.
    • Updated featured integrations ordering and fixed featured hero rotation to restart its progress animation when resumed.
  • Refactor

    • Consolidated filtering and sorting into a shared hook for consistent behavior.

Review Change Stack

@vercel

vercel Bot commented May 20, 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 22, 2026 8:19am
studio-staging Ready Ready Preview, Comment May 22, 2026 8:19am
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored May 22, 2026 8:19am
design-system Skipped Skipped May 22, 2026 8:19am
docs Skipped Skipped May 22, 2026 8:19am
ui-library Skipped Skipped May 22, 2026 8:19am
zone-www-dot-com Skipped Skipped May 22, 2026 8:19am

Request Review

@coderabbitai

coderabbitai Bot commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: b627863b-175e-40b9-a823-55a7e4cb36f8

📥 Commits

Reviewing files that changed from the base of the PR and between a9efd54 and 3d0fcaa.

📒 Files selected for processing (5)
  • apps/studio/components/interfaces/Integrations/Landing/Integrations.constants.tsx
  • apps/studio/components/interfaces/Integrations/Landing/useIntegrationFilteringAndSort.ts
  • apps/studio/components/interfaces/Integrations/Marketplace/Marketplace.constants.tsx
  • apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceFeaturedHero.tsx
  • apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.types.ts
💤 Files with no reviewable changes (2)
  • apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.types.ts
  • apps/studio/components/interfaces/Integrations/Landing/Integrations.constants.tsx

📝 Walkthrough

Walkthrough

Adds categories to wrappers, normalizes categories across integration sources, introduces a shared hook for sorting/filtering/featured selection, and updates marketplace and legacy integration UIs to use the new hook and category logic.

Changes

Integration Categories & Filtering

Layer / File(s) Summary
Wrapper categories foundation
apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.types.ts, apps/studio/components/interfaces/Integrations/Wrappers/Wrappers.constants.ts
WrapperMeta gains an optional categories field and multiple wrapper entries are populated with categories arrays (billing, auth, data-platform, devtools, storage, observability, messaging, etc.).
Integration categories normalization
apps/studio/components/interfaces/Integrations/Landing/Integrations.constants.tsx
Wrapper integrations now carry categories from wrappers; new INTEGRATIONS_WITH_CATEGORIES assigns taxonomy categories to Supabase and template integrations and becomes the exported INTEGRATIONS source.
Filtering & sorting abstraction
apps/studio/components/interfaces/Integrations/Landing/useIntegrationFilteringAndSort.ts
New useIntegrationFilteringAndSort hook memoizes sorted (installed-first then locale name) and featured (built from featuredIds and optional featured flags; empty when an active filter exists). Exports sortByInstalledThenName and UseIntegrationFilteringAndSortOptions.
Marketplace component refactoring
apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceIndex.tsx, .../MarketplaceFilterBar.tsx, .../MarketplaceCard.tsx, .../MarketplaceListRow.tsx, .../MarketplaceSidebar.tsx, .../Marketplace/Marketplace.constants.tsx, .../Marketplace/MarketplaceFeaturedHero.tsx
MarketplaceIndex builds category options from DB + static integration categories and delegates sorting/featured selection to the shared hook. MarketplaceFilterBar hides zero-count categories. Status badges simplified in MarketplaceCard/MarketplaceListRow. MarketplaceSidebar shows ShimmeringLoader placeholders while installed integrations load. Featured IDs updated in constants.
Legacy integrations page refactoring
apps/studio/pages/project/[ref]/integrations/index.tsx
Replaces local helper hooks with useIntegrationFilteringAndSort; computes filteredIntegrations and hasActiveFilter then delegates sorting/featured selection to the hook.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

  • supabase/supabase#46141: Related changes to featured-integrations UI/behavior in the featured hero component.
  • supabase/supabase#45507: Prior work on featured integration handling and legacy featured logic; closely related to featured selection behavior.
  • supabase/supabase#45856: Changes to MarketplaceIndex layout/filtering that this PR further refactors.

Suggested reviewers

  • dnywh
  • djhi
  • kemaldotearth

Poem

🐰 I hopped through wrappers, tags in my paws,
I nudged sorting rules with delicate cause,
Installed first, then names arranged in line,
Featured flags and shimmers make the UI shine,
A tiny rabbit cheer for categories aligned!

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description lacks adherence to the template structure, missing required sections like 'kind of change', 'current behavior', and 'new behavior', though it does address the key changes via bullet points. Follow the repository template by adding sections for 'What kind of change', 'What is the current behavior', and 'What is the new behavior' with proper context and details.
Title check ❓ Inconclusive The title 'chore: marketplace UI fixes' is vague and generic, using non-descriptive language that doesn't convey specific information about the substantial changes. Revise the title to be more specific about the primary changes, such as 'refactor: consolidate integration filtering/sorting and add loading states' or similar.
✅ Passed checks (3 passed)
Check name Status Explanation
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 docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/marketplace-ui-polish

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.

@supabase

supabase Bot commented May 20, 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 ↗︎.

@github-actions

github-actions Bot commented May 20, 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  2 minutes, 54 seconds
commit  3d0fcaa

Flaky tests

Features › realtime-inspector.spec.ts › Realtime Inspector › Broadcast Messages › broadcast messages appear in the UI when listening

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

@fsansalvadore
fsansalvadore marked this pull request as ready for review May 20, 2026 10:42
@fsansalvadore
fsansalvadore requested a review from a team as a code owner May 20, 2026 10:42

@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.

tested on staging 👍

@fsansalvadore
fsansalvadore merged commit a2a43f7 into master May 22, 2026
24 checks passed
@fsansalvadore
fsansalvadore deleted the chore/marketplace-ui-polish branch May 22, 2026 08:22
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.

2 participants