Repository navigation
chore(studio): marketplace styling - #46574
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Note Reviews pausedIt 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 Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughThis PR refactors the integrations marketplace UI and underlying data structures. The FilesViewer component switches from a grid+modal to a Swiper carousel, marketplace headers migrate to a new breadcrumbs component, integration file metadata changes from strings to objects with src/alt fields, and Markdown list components are removed in favor of react-markdown defaults. ChangesStudio Marketplace and Integrations Refactor
Markdown Component Refactoring
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
🎭 Playwright Test ResultsDetails
Skipped testsFeatures › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@apps/studio/components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/FilesViewer.tsx`:
- Around line 23-26: FilesViewer currently renders images with Image src={file}
and alt="" making carousel images inaccessible; change the FilesViewer contract
to accept metadata (e.g., files: {src: string; alt: string}[] or a parallel
altTexts: string[]), update the FilesViewer props type and all call sites to
pass descriptive alt text, and use that alt value when rendering Image (replace
alt=""). Ensure the prop name and shape are reflected in the component signature
and any parent components that construct the files array so screen readers
receive meaningful alt text.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: bb9389eb-fc62-4fcd-9291-d19deac7f940
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (14)
apps/studio/components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/FilesViewer.tsxapps/studio/components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/MarkdownContent.tsxapps/studio/components/interfaces/Integrations/Marketplace/Marketplace.constants.tsxapps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetail.tsxapps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetailRail.tsxapps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetailTopBar.tsxapps/studio/components/interfaces/Integrations/Marketplace/MarketplaceFilterBar.tsxapps/studio/components/interfaces/Integrations/Marketplace/OverviewTab.tsxapps/studio/package.jsonapps/studio/styles/globals.cssapps/studio/types/config.d.tsapps/www/components/BuiltWithSupabase/ExamplesMobile.tsxapps/www/public/.well-known/agent-skills/index.jsonpackages/ui-patterns/src/Markdown/components.tsx
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetailBreadcrumbs.tsx`:
- Around line 31-32: Move the layout/chrome classes (sticky, z-20,
max-h-(--header-height)!, top-0, padding classes) off the inner Breadcrumb by
replacing their use in the PageBreadcrumbs className prop and instead pass them
to PageBreadcrumbs' containerClassName prop; in MarketplaceDetailBreadcrumbs
update the PageBreadcrumbs invocation so className keeps only
breadcrumb-specific styles and containerClassName receives the sticky/header
chrome styles (referencing the PageBreadcrumbs component's props className and
containerClassName to locate and apply the change).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: 826db9a9-5c96-4c64-94d6-9bdbcfde20f2
📒 Files selected for processing (7)
apps/studio/components/interfaces/Integrations/Integration/IntegrationOverviewTabV2/FilesViewer.tsxapps/studio/components/interfaces/Integrations/Landing/Integrations.constants.tsxapps/studio/components/interfaces/Integrations/Landing/useAvailableIntegrations.tsxapps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetail.tsxapps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetailBreadcrumbs.tsxapps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetailTopBar.tsxapps/studio/pages/project/[ref]/integrations/index.tsx
💤 Files with no reviewable changes (1)
- apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetailTopBar.tsx
…ketplaceDetailBreadcrumbs.tsx Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetailBreadcrumbs.tsx (1)
34-41:⚠️ Potential issue | 🔴 Critical | ⚡ Quick winSyntax error: Duplicate
actionsprop with unclosed JSX tag breaks the build.The
actionsprop is defined twice (lines 34-36 and 37-41), and the first occurrence is missing its closing</PageBreadcrumbsActions>tag. This causes all CI pipelines to fail.Proposed fix
actions={ <PageBreadcrumbsActions> {isLoading ? <ShimmeringLoader className="w-24" /> : actions} - actions={ - <PageBreadcrumbsActions> - {isLoading ? <ShimmeringLoader className="w-24" /> : actions} </PageBreadcrumbsActions> }🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetailBreadcrumbs.tsx` around lines 34 - 41, The JSX in MarketplaceDetailBreadcrumbs has a duplicated actions prop and an unclosed <PageBreadcrumbsActions> element causing a syntax error; locate the JSX that sets actions (the prop using PageBreadcrumbsActions) and remove the duplicate prop block so there is only one actions={...} entry, and ensure the remaining <PageBreadcrumbsActions> wrapper is properly closed around the conditional expression (isLoading ? <ShimmeringLoader className="w-24" /> : actions) so the component compiles.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In
`@apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetailBreadcrumbs.tsx`:
- Around line 34-41: The JSX in MarketplaceDetailBreadcrumbs has a duplicated
actions prop and an unclosed <PageBreadcrumbsActions> element causing a syntax
error; locate the JSX that sets actions (the prop using PageBreadcrumbsActions)
and remove the duplicate prop block so there is only one actions={...} entry,
and ensure the remaining <PageBreadcrumbsActions> wrapper is properly closed
around the conditional expression (isLoading ? <ShimmeringLoader
className="w-24" /> : actions) so the component compiles.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: c9702434-6525-4ee8-83a6-9c6ad63c86b9
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (2)
apps/studio/components/interfaces/Integrations/Landing/useAvailableIntegrations.tsxapps/studio/components/interfaces/Integrations/Marketplace/MarketplaceDetailBreadcrumbs.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
- apps/studio/components/interfaces/Integrations/Landing/useAvailableIntegrations.tsx
Braintrust eval reportEvals in progress... ⌛ |
Summary by CodeRabbit
New Features
Bug Fixes
Refactor