feature: show branches count in branch tree (#1306)

This commit is contained in:
leo 2025-05-13 19:28:52 +08:00
parent 57d15dc6d3
commit 7bb4e355bd
No known key found for this signature in database
5 changed files with 38 additions and 6 deletions

View file

@ -60,9 +60,11 @@
<!-- Name -->
<TextBlock Grid.Column="1"
Classes="primary"
Text="{Binding Name}"
FontWeight="{Binding IsCurrent, Converter={x:Static c:BoolConverters.IsBoldToFontWeight}}"
TextTrimming="CharacterEllipsis"/>
TextTrimming="CharacterEllipsis">
<Run Text="{Binding Name}"/>
<Run Text="{Binding BranchesCount}" Foreground="{DynamicResource Brush.FG2}"/>
</TextBlock>
<!-- Upstream invalid tip -->
<Border Grid.Column="2"