The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update
Joshen Limf3d140752ece
diff --git a/studio/components/interfaces/BranchManagement/BranchManagement.tsx b/studio/components/interfaces/BranchManagement/BranchManagement.tsxindex b3cdd3b198f..f9c944a0d8c 100644--- a/studio/components/interfaces/BranchManagement/BranchManagement.tsx+++ b/studio/components/interfaces/BranchManagement/BranchManagement.tsx@@ -159,15 +159,8 @@ const BranchManagement = () => {<ScaffoldContainer><ScaffoldSection><div className="col-span-12">- <h3 className="text-xl mb-8">Branch Manager</h3>- <div className="mb-6 flex items-center justify-between">- <div className="flex items-center space-x-2">- <Input placeholder="Search branch" size="small" icon={<IconSearch />} />- </div>- <Button type="default" onClick={() => setShowCreateBranch(true)}>- Create preview branch- </Button>- </div>+ <h3 className="text-xl mb-8">Branches</h3>+<div className="">{isLoadingIntegrations && <GenericSkeletonLoader />}{isErrorIntegrations && (@@ -181,6 +174,7 @@ const BranchManagement = () => {<MainBranchPanelrepo={githubConnection?.metadata.name}branch={mainBranch}+ onSelectCreateBranch={() => setShowCreateBranch(true)}onSelectDisableBranching={() => setShowDisableBranching(true)}/><PullRequestsdiff --git a/studio/components/interfaces/BranchManagement/BranchPanels.tsx b/studio/components/interfaces/BranchManagement/BranchPanels.tsxindex 62e7eb41007..30e901054d1 100644--- a/studio/components/interfaces/BranchManagement/BranchPanels.tsx+++ b/studio/components/interfaces/BranchManagement/BranchPanels.tsx@@ -31,6 +31,7 @@ interface BranchPanelProps {branch?: BranchonSelectUpdate?: () => voidonSelectDelete?: () => void+ onSelectCreateBranch?: () => voidonSelectDisableBranching?: () => voidgenerateCreatePullRequestURL?: (branch?: string) => string}@@ -39,6 +40,7 @@ const MainBranchPanel = ({repo,branch,onSelectUpdate = noop,+ onSelectCreateBranch = noop,onSelectDisableBranching = noop,}: BranchPanelProps) => {const { ref } = useParams()@@ -48,23 +50,28 @@ const MainBranchPanel = ({return (<div className="border rounded-lg"><div className="bg-surface-200 shadow-sm flex justify-between items-center pl-8 pr-6 py-3 rounded-t-lg text-sm">- <div className="flex items-center space-x-4">- <div className="w-8 h-8 bg-scale-200 rounded-md flex items-center justify-center">- <IconGitHub size={18} strokeWidth={2} />+ <div className="flex items-center justify-between w-full">+ <div className="flex items-center space-x-4">+ <div className="w-8 h-8 bg-scale-200 rounded-md flex items-center justify-center">+ <IconGitHub size={18} strokeWidth={2} />+ </div>+ <p>Github branch workflow</p>+ <Link passHref href={`https://github.com/${repo}`}>+ <a target="_blank" rel="noreferrer">+ <Button+ type="text"+ size="small"+ className="text-light hover:text py-1 px-1.5"+ iconRight={<IconExternalLink size={14} strokeWidth={1.5} />}+ >+ {repo}+ </Button>+ </a>+ </Link></div>- <p>Github branch workflow</p>- <Link passHref href={`https://github.com/${repo}`}>- <a target="_blank" rel="noreferrer">- <Button- type="text"- size="small"- className="text-light hover:text py-1 px-1.5"- iconRight={<IconExternalLink size={14} strokeWidth={1.5} />}- >- {repo}- </Button>- </a>- </Link>+ <Button type="default" onClick={() => onSelectCreateBranch()}>+ Create preview branch+ </Button></div></div><div className="bg-surface-100 border-t shadow-sm flex justify-between items-center pl-8 pr-6 py-3 rounded-b-lg text-sm">