Skip to content

Commit e8f5834

Browse files
committed
Displays the associated Bitbucket issue on the Graph
(#4047, #4119)
1 parent 39e4477 commit e8f5834

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

src/webviews/apps/plus/graph/GraphWrapper.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ const createIconElements = (): Record<string, ReactElement> => {
184184
'issue-gitlab',
185185
'issue-jiraCloud',
186186
'issue-azureDevops',
187+
'issue-bitbucket',
187188
];
188189

189190
const miniIconList = ['upstream-ahead', 'upstream-behind'];

src/webviews/apps/plus/graph/graph.scss

+7
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,13 @@ button:not([disabled]),
871871
@include iconUtils.codicon('issues');
872872
}
873873
}
874+
875+
&--issue-bitbucket {
876+
&::before {
877+
font-family: codicon;
878+
@include iconUtils.codicon('issues');
879+
}
880+
}
874881
}
875882

876883
.titlebar {

src/webviews/plus/graph/graphWebview.ts

+3
Original file line numberDiff line numberDiff line change
@@ -4225,6 +4225,9 @@ function toGraphIssueTrackerType(id: string): GraphIssueTrackerType | undefined
42254225
case 'azure-devops':
42264226
// TODO: Remove the casting once this is officially recognized by the component
42274227
return 'azureDevops' as GraphIssueTrackerType;
4228+
case 'bitbucket':
4229+
// TODO: Remove the casting once this is officially recognized by the component
4230+
return HostingIntegrationId.Bitbucket as GraphIssueTrackerType;
42284231
default:
42294232
return undefined;
42304233
}

0 commit comments

Comments
 (0)