mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
Restores proper content in new marketplace detail overview pages compared to the legacy overview pages. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added Data API URL settings and a visible "Required extensions" section across integration overviews. * Unified install/manage UIs for webhooks, Stripe Sync, wrappers, queues, and others; marketplace mode now shows marketplace-specific overview content. * **Style** * Improved marketplace detail rail and filter-bar button styling; refined list/link row visuals. * **Refactor** * Overview pages reorganized to branch on marketplace mode and extract shared overview content for consistency. * **Tests** * Stabilized integration overview test data for deterministic runs. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46179?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
22 lines
644 B
TypeScript
22 lines
644 B
TypeScript
/**
|
|
* [Joshen] This is just to dynamically render either the V1 or V2 Overview tab based
|
|
* on the marketplace feature flag
|
|
*/
|
|
|
|
import { PropsWithChildren } from 'react'
|
|
|
|
import { IntegrationOverviewTab, IntegrationOverviewTabProps } from './IntegrationOverviewTab'
|
|
import { useIsMarketplaceEnabled } from '@/components/interfaces/App/FeaturePreview/FeaturePreviewContext'
|
|
|
|
export const IntegrationOverviewTabWrapper = (
|
|
props: PropsWithChildren<IntegrationOverviewTabProps>
|
|
) => {
|
|
const isMarketplaceEnabled = useIsMarketplaceEnabled()
|
|
|
|
if (isMarketplaceEnabled) {
|
|
return null
|
|
}
|
|
|
|
return <IntegrationOverviewTab {...props} />
|
|
}
|