Files
supabase/apps/studio/components/interfaces/Integrations/DataApi/DataApiDisabledState.tsx
Francesco SansalvadoreandJoshen Lim 7edbedcbec fix integration overview tab contents (#46179)
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 -->

[![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/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>
2026-05-25 09:08:38 +02:00

30 lines
863 B
TypeScript

import { useParams } from 'common'
import { AlertCircle } from 'lucide-react'
import { Alert, AlertDescription, AlertTitle } from 'ui'
import { InlineLink } from '@/components/ui/InlineLink'
interface DataApiDisabledStateProps {
description: string
}
export const DataApiDisabledState = ({ description }: DataApiDisabledStateProps) => {
const { ref: projectRef } = useParams()
return (
<div className="flex w-full p-10">
<Alert className="max-w-md mx-auto">
<AlertCircle size={16} />
<AlertTitle>Data API is disabled</AlertTitle>
<AlertDescription>
Enable the Data API in the{' '}
<InlineLink href={`/project/${projectRef}/integrations/data_api/overview`}>
Overview
</InlineLink>{' '}
tab to {description}.
</AlertDescription>
</Alert>
</div>
)
}