|
67 | 67 | <ComboBoxItem Content="Executions" Tag="executions"/> |
68 | 68 | </ComboBox> |
69 | 69 | </StackPanel> |
| 70 | + <StackPanel Spacing="4"> |
| 71 | + <TextBlock Text="Group by" Foreground="{DynamicResource ForegroundBrush}" FontSize="11"/> |
| 72 | + <ComboBox x:Name="GroupByBox" Width="130" Height="36" FontSize="13" |
| 73 | + SelectedIndex="0" SelectionChanged="GroupBy_SelectionChanged"> |
| 74 | + <ComboBoxItem Content="None" Tag="none"/> |
| 75 | + <ComboBoxItem Content="Query Hash" Tag="query-hash"/> |
| 76 | + <ComboBoxItem Content="Module" Tag="module"/> |
| 77 | + </ComboBox> |
| 78 | + </StackPanel> |
70 | 79 | <StackPanel Spacing="4"> |
71 | 80 | <TextBlock Text="Search by" Foreground="{DynamicResource ForegroundBrush}" FontSize="11"/> |
72 | 81 | <ComboBox x:Name="SearchTypeBox" Width="120" Height="36" FontSize="13" |
|
141 | 150 | </ContextMenu> |
142 | 151 | </DataGrid.ContextMenu> |
143 | 152 | <DataGrid.Columns> |
| 153 | + <DataGridTemplateColumn Header="" Width="200" IsVisible="False"> |
| 154 | + <DataGridTemplateColumn.CellTemplate> |
| 155 | + <DataTemplate x:DataType="local:QueryStoreRow"> |
| 156 | + <StackPanel Orientation="Horizontal" Margin="{Binding IndentMargin}"> |
| 157 | + <Button Content="{Binding ExpandChevron}" |
| 158 | + IsVisible="{Binding HasChildren}" |
| 159 | + Width="24" Height="22" Padding="0" |
| 160 | + FontSize="14" FontWeight="Bold" |
| 161 | + Background="Transparent" BorderThickness="0" |
| 162 | + Foreground="{DynamicResource ForegroundBrush}" |
| 163 | + VerticalAlignment="Center" |
| 164 | + Click="ExpandRow_Click"/> |
| 165 | + <TextBlock Text="{Binding GroupDisplayText}" |
| 166 | + VerticalAlignment="Center" |
| 167 | + Margin="4,0,0,0" |
| 168 | + FontWeight="{Binding GroupFontWeight}" |
| 169 | + Foreground="{DynamicResource ForegroundBrush}" |
| 170 | + TextTrimming="CharacterEllipsis"/> |
| 171 | + </StackPanel> |
| 172 | + </DataTemplate> |
| 173 | + </DataGridTemplateColumn.CellTemplate> |
| 174 | + </DataGridTemplateColumn> |
144 | 175 | <DataGridTemplateColumn Header="" Width="40"> |
145 | 176 | <DataGridTemplateColumn.CellTemplate> |
146 | 177 | <DataTemplate x:DataType="local:QueryStoreRow"> |
|
0 commit comments