feature: allow to view contribution chart based on selected author (#1196)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-15 16:08:38 +08:00
parent 90b37663ed
commit 33a463ce59
No known key found for this signature in database
3 changed files with 81 additions and 26 deletions

View file

@ -139,6 +139,7 @@
<!-- Table By Autor -->
<ListBox Grid.Column="0"
ItemsSource="{Binding Authors}"
SelectedItem="{Binding SelectedAuthor, Mode=TwoWay}"
SelectionMode="Single"
BorderThickness="1"
BorderBrush="{DynamicResource Brush.Border2}"
@ -160,7 +161,7 @@
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
<DataTemplate DataType="m:StaticsticsAuthor">
<DataTemplate DataType="m:StatisticsAuthor">
<Border BorderThickness="0,0,0,1" BorderBrush="{DynamicResource Brush.Border2}">
<Grid ColumnDefinitions="26,*,100">
<v:Avatar Grid.Column="0"