diff --git a/components/dashboard/src/settings/Integrations.tsx b/components/dashboard/src/settings/Integrations.tsx index 5611d5a4b129ea..00127dc3f1967b 100644 --- a/components/dashboard/src/settings/Integrations.tsx +++ b/components/dashboard/src/settings/Integrations.tsx @@ -11,6 +11,7 @@ import AlertBox from "../components/AlertBox"; import CheckBox from "../components/CheckBox"; import ConfirmationModal from "../components/ConfirmationModal"; import { ContextMenuEntry } from "../components/ContextMenu"; +import InfoBox from "../components/InfoBox"; import { Item, ItemField, ItemFieldContextMenu, ItemFieldIcon, ItemsList } from "../components/ItemsList"; import Modal from "../components/Modal"; import { PageWithSubMenu } from "../components/PageWithSubMenu"; @@ -443,7 +444,7 @@ function GitIntegrations() {

Git Integrations

-

Manage Git integrations for GitLab or GitHub self-hosted instances.

+

Manage Git integrations for self-managed instances of GitLab, GitHub, or Bitbucket.

{providers.length !== 0 ? (
@@ -710,6 +711,8 @@ export function GitIntegrationModal( return "github.example.com"; case "GitLab": return "gitlab.example.com"; + case "BitbucketServer": + return "bitbucket.example.com"; default: return ""; } @@ -737,7 +740,7 @@ export function GitIntegrationModal(
{props.headerText || - "Configure a Git integration with a GitLab or GitHub self-hosted instance."} + "Configure an integration with a self-managed instance of GitLab, GitHub, or Bitbucket."}
@@ -756,9 +759,23 @@ export function GitIntegrationModal( > +
)} + {mode === "new" && type === "BitbucketServer" && ( + + Support for OAuth2 in Bitbucket Server was{" "} + + added in version 7.20 + + + )}