Home / Function/ EmptyIntegrationConnection() — supabase Function Reference

EmptyIntegrationConnection() — supabase Function Reference

Architecture documentation for the EmptyIntegrationConnection() function in IntegrationPanels.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/Integrations/VercelGithub/IntegrationPanels.tsx lines 276–314

>(({ className, showNode = true, onClick, disabled, ...props }, ref) => {
  return (
    <div
      ref={ref}
      {...props}
      className={cn(
        showNode && 'ml-6 pl-8 mt-4 border-l',
        'relative pb-2',
        'last:border-l-transparent',
        className
      )}
    >
      {showNode && (
        <div className="absolute w-8 rounded-bl-full border-b border-l border-muted h-14 -top-4 -left-px"></div>
      )}
      <div
        className={cn(
          'w-full',
          'border border-dashed bg-surface-100 border-overlay',
          'flex h-20 px-10 rounded-lg justify-center items-center'
        )}
      >
        <ButtonTooltip
          type="default"
          disabled={disabled}
          onClick={() => onClick()}
          tooltip={{
            content: {
              side: 'bottom',
              text: disabled ? 'Additional permissions required to add connection' : undefined,
            },
          }}
        >
          Add new project connection
        </ButtonTooltip>
      </div>
    </div>
  )
})

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free