Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Bring changes from master in and resolve conflicts

Joshen Lim36e25209e045
diff --cc studio/components/layouts/AppLayout/AppHeader.tsx
index dfa8b1950f1,8ce2088b4ad..7f8dbd0fb1b
--- a/studio/components/layouts/AppLayout/AppHeader.tsx
+++ b/studio/components/layouts/AppLayout/AppHeader.tsx
@@@ -20,15 -18,11 +20,15 @@@ const AppHeader = () =>
const organization = useSelectedOrganization()
const enableBranchManagement = useFlag('branchManagement')
+ const isBranchingAllowed = project?.cloud_provider === 'FLY'
+ const isBranchingEnabled =
+ project?.is_branch_enabled === true || project?.parent_project_ref !== undefined
+
return (
<div className="flex items-center justify-between px-4 py-1 bg-scale-200 border-b">
- <div className="flex items-center space-x-4">
+ <div className="flex items-center space-x-1">
<Link href={organization !== undefined ? `/org/${organization?.slug}` : '/'}>
- <a className="block">
+ <a className="block mr-3">
<img
src={`${router.basePath}/img/supabase-logo.svg`}
alt="Supabase"
diff --cc studio/components/layouts/AppLayout/ProjectDropdown.tsx
index 5e5b37d974d,fb92601b41b..ae528bc14c2
--- a/studio/components/layouts/AppLayout/ProjectDropdown.tsx
+++ b/studio/components/layouts/AppLayout/ProjectDropdown.tsx
@@@ -17,9 -17,9 +17,10 @@@ import
PopoverContent_Shadcn_,
PopoverTrigger_Shadcn_,
Popover_Shadcn_,
+ ScrollArea,
} from 'ui'
+ import { useParams } from 'common'
import ShimmeringLoader from 'components/ui/ShimmeringLoader'
import { useProjectsQuery } from 'data/projects/projects-query'
import { useProjectSubscriptionV2Query } from 'data/subscriptions/project-subscription-v2-query'
diff --cc studio/pages/org/[slug]/index.tsx
index da09bd120e1,f2fb60d07b0..93041ce5651
--- a/studio/pages/org/[slug]/index.tsx
+++ b/studio/pages/org/[slug]/index.tsx
@@@ -21,12 -20,10 +21,15 @@@ const ProjectsPage: NextPageWithLayout
} = useProjectsQuery()
const organization = useSelectedOrganization()
- const projects = allProjects?.filter((project) => project.organization_id === organization?.id)
+ const projects = allProjects
+ ?.filter((project) => project.organization_id === organization?.id)
+ .sort((a, b) => a.name.localeCompare(b.name))
+
+ const { data: integrations } = useOrgIntegrationsQuery({ orgSlug: organization?.slug })
+ const githubConnections = integrations
+ ?.filter((integration) => integration.integration.name === 'GitHub')
+ .flatMap((integration) => integration.connections)
+
return (
<ScaffoldContainer className="h-full overflow-y-auto">
<ScaffoldSection>