mirror of
https://github.com/supabase/supabase.git
synced 2026-06-20 03:27:24 +08:00
Create branch without GitHub connection (#35983)
* allow creating branching without git * update branching modals * add account connections * edit branch * copy * update copy * enable branch modal changes * add gitless branching flag * update account connections * update pull requests empty state * Clean up * refinements to gitless branching * nit * nit --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
This commit is contained in:
@@ -154,18 +154,10 @@ const IntegrationConnectionItem = forwardRef<HTMLLIElement, IntegrationConnectio
|
||||
onCancel={onCancel}
|
||||
onConfirm={onConfirm}
|
||||
loading={isDeleting}
|
||||
alert={
|
||||
type === 'GitHub' && isBranchingEnabled
|
||||
? {
|
||||
title: 'Branching will be disabled for this project',
|
||||
description: ` Deleting this GitHub connection will remove all preview branches on this project,
|
||||
and also disable branching for ${project.name}`,
|
||||
}
|
||||
: undefined
|
||||
}
|
||||
>
|
||||
<p className="text-sm text-foreground-light">
|
||||
This action cannot be undone. Are you sure you want to delete this {type} connection?
|
||||
Deleting this GitHub connection will stop automatic creation and merging of preview
|
||||
branches. Existing preview branches will remain unchanged.
|
||||
</p>
|
||||
</ConfirmationModal>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user