Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 5d0b1f2

Browse files
Adding notice count to files view
1 parent 07003b3 commit 5d0b1f2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/GitHub.VisualStudio.UI/Views/GitHubPane/PullRequestFilesView.xaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,20 @@
9898
</TextBlock.Style>
9999
</TextBlock>
100100

101+
<TextBlock VerticalAlignment="Center" Margin="4 0">
102+
<TextBlock.Style>
103+
<Style TargetType="TextBlock">
104+
<Style.Triggers>
105+
<DataTrigger Binding="{Binding AnnotationNoticeCount}" Value="0">
106+
<Setter Property="Visibility" Value="Collapsed"/>
107+
</DataTrigger>
108+
</Style.Triggers>
109+
</Style>
110+
</TextBlock.Style>
111+
<ghfvs:OcticonImage Icon="beaker" Height="10" Margin="-2 0"/>
112+
<Label Content="{Binding AnnotationNoticeCount}"></Label>
113+
</TextBlock>
114+
101115
<TextBlock VerticalAlignment="Center" Margin="4 0">
102116
<TextBlock.Style>
103117
<Style TargetType="TextBlock">

0 commit comments

Comments
 (0)