The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Merge branch 'master' of github.com:supabase/supabase into feat/abac-phase-two-part-7
Joshen Lim7a501733521d
diff --cc studio/components/to-be-cleaned/ProductEmptyState.tsxindex bbc91439743,486c5c3eb0e..f0b725174d1--- a/studio/components/to-be-cleaned/ProductEmptyState.tsx+++ b/studio/components/to-be-cleaned/ProductEmptyState.tsx@@@ -22,50 -22,42 +22,50 @@@ const ProductEmptyState: FC<Props> = (onClickCta = () => {},disabled = false,disabledMessage = '',-}) => (- <div className="flex items-center justify-center w-full h-full">- <div className="flex space-x-4 p-6 rounded border border-panel-border-light dark:border-panel-border-dark bg-panel-body-light dark:bg-panel-body-dark shadow-md">- {/* A graphic can probably be placed here as a sibling to the div below*/}- <div className="flex flex-col">- <div className="w-80 space-y-4">- <Typography.Title level={5}>{title}</Typography.Title>- <div className="flex flex-col space-y-2">{children}</div>- <div className="flex items-center space-x-2">- <Tooltip.Root delayDuration={0}>- <Tooltip.Trigger>- <Button type="primary" onClick={onClickCta} disabled={disabled}>- {ctaButtonLabel}- </Button>- </Tooltip.Trigger>- {disabled && disabledMessage.length > 0 && (- <Tooltip.Content side="bottom">- <Tooltip.Arrow className="radix-tooltip-arrow" />- <div- className={[- 'bg-scale-100 rounded py-1 px-2 leading-none shadow',- 'border-scale-200 border',- ].join(' ')}- >- <span className="text-scale-1200 text-xs">{disabledMessage}</span>- </div>- </Tooltip.Content>- )}- </Tooltip.Root>- {infoButtonUrl && infoButtonLabel ? (- <Button type="default">- <a target="_blank" href={infoButtonUrl}>- {infoButtonLabel}- </a>- </Button>- ) : null}+}) => {+ const hasAction = (ctaButtonLabel && onClickCta) || (infoButtonUrl && infoButtonLabel)++ return (+ <div className="flex items-center justify-center w-full h-full">+ <div className="flex space-x-4 p-6 rounded border border-panel-border-light dark:border-panel-border-dark bg-panel-body-light dark:bg-panel-body-dark shadow-md">+ {/* A graphic can probably be placed here as a sibling to the div below*/}+ <div className="flex flex-col">+ <div className="w-80 space-y-4">+ <Typography.Title level={5}>{title}</Typography.Title>+ <div className="flex flex-col space-y-2">{children}</div>+ {hasAction && (+ <div className="flex items-center space-x-2">+ {ctaButtonLabel && onClickCta && (+ <Tooltip.Root delayDuration={0}>+ <Tooltip.Trigger>+ <Button type="primary" onClick={onClickCta} disabled={disabled}>+ {ctaButtonLabel}+ </Button>+ </Tooltip.Trigger>- {disabled && disabledMessage && (++ {disabled && disabledMessage.length > 0 && (+ <Tooltip.Content side="bottom">+ <Tooltip.Arrow className="radix-tooltip-arrow" />+ <div+ className={[+ 'bg-scale-100 rounded py-1 px-2 leading-none shadow',+ 'border-scale-200 border',+ ].join(' ')}+ >+ <span className="text-scale-1200 text-xs">{disabledMessage}</span>+ </div>+ </Tooltip.Content>+ )}+ </Tooltip.Root>+ )}+ {infoButtonUrl && infoButtonLabel ? (+ <Button type="default">+ <a target="_blank" href={infoButtonUrl}>+ {infoButtonLabel}+ </a>+ </Button>+ ) : null}+ </div>+ )}</div></div></div>