Skip to content

Commit f3c7e5a

Browse files
Add Azure DevOps to browser extension ad (#20283)
1 parent 8161361 commit f3c7e5a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Binary file not shown.

components/dashboard/src/workspaces/BrowserExtensionBanner.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,22 @@ import { trackEvent } from "../Analytics";
1616
import bitbucketButton from "../images/browser-extension/bitbucket.webp";
1717
import githubButton from "../images/browser-extension/github.webp";
1818
import gitlabButton from "../images/browser-extension/gitlab.webp";
19+
import azuredevopsButton from "../images/browser-extension/azure-devops.webp";
1920
import uniq from "lodash/uniq";
2021

2122
const browserExtensionImages = {
2223
Bitbucket: bitbucketButton,
2324
GitHub: githubButton,
2425
GitLab: gitlabButton,
26+
"Azure DevOps": azuredevopsButton,
2527
} as const;
2628

2729
type BrowserOption = {
2830
type: "firefox" | "chromium";
2931
aliases?: string[];
3032
url: string;
3133
};
32-
type UnifiedAuthProvider = "Bitbucket" | "GitLab" | "GitHub";
34+
type UnifiedAuthProvider = "Bitbucket" | "GitLab" | "GitHub" | "Azure DevOps";
3335

3436
const installationOptions: BrowserOption[] = [
3537
{
@@ -54,6 +56,8 @@ const unifyProviderType = (type: AuthProviderType): UnifiedAuthProvider | undefi
5456
return "GitHub";
5557
case AuthProviderType.GITLAB:
5658
return "GitLab";
59+
case AuthProviderType.AZURE_DEVOPS:
60+
return "Azure DevOps";
5761
default:
5862
return undefined;
5963
}

0 commit comments

Comments
 (0)