<commit_before>﻿<UserControl x:Class="GitHub.VisualStudio.UI.OptionsControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:GitHub.VisualStudio.UI"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:prop="clr-namespace:GitHub.VisualStudio.UI;assembly=GitHub.VisualStudio.UI"
             d:DesignHeight="200"
             mc:Ignorable="d">
  <UserControl.Resources>
    <BorderGapMaskConverter x:Key="BorderGapMaskConverter" />
    <Style x:Key="GroupBoxFlat" TargetType="{x:Type GroupBox}">
      <Setter Property="BorderBrush" Value="#D5DFE5" />
      <Setter Property="BorderThickness" Value="1" />
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate TargetType="{x:Type GroupBox}">
            <Grid SnapsToDevicePixels="true">
              <Grid.ColumnDefinitions>
                <ColumnDefinition Width="6" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="6" />
              </Grid.ColumnDefinitions>
              <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
                <RowDefinition Height="6" />
              </Grid.RowDefinitions>
              <Border x:Name="Header"
                      Grid.Row="0"
                      Grid.RowSpan="2"
                      Grid.Column="1"
                      Padding="3,1,3,0">
                <ContentPresenter ContentSource="Header" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
              </Border>
              <Border Grid.Row="1"
                      Grid.RowSpan="3"
                      Grid.ColumnSpan="4"
                      BorderBrush="Transparent"
                      BorderThickness="{TemplateBinding BorderThickness}"
                      CornerRadius="4">
                <Border.OpacityMask>
                  <MultiBinding Converter="{StaticResource BorderGapMaskConverter}" ConverterParameter="7">
                    <Binding ElementName="Header" Path="ActualWidth" />
                    <Binding Path="ActualWidth" RelativeSource="{RelativeSource Self}" />
                    <Binding Path="ActualHeight" RelativeSource="{RelativeSource Self}" />
                  </MultiBinding>
                </Border.OpacityMask>
                <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" />
              </Border>
              <ContentPresenter Grid.Row="2"
                                Grid.Column="1"
                                Grid.ColumnSpan="2"
                                Margin="{TemplateBinding Padding}"
                                SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
            </Grid>
          </ControlTemplate>
        </Setter.Value>
      </Setter>
    </Style>
  </UserControl.Resources>
  <StackPanel>
    <GroupBox
            Margin="8,0,8,0"
            VerticalAlignment="Top"
            BorderBrush="LightGray"
            BorderThickness="1"
            Padding="6 8 6 8"
            Style="{DynamicResource GroupBoxFlat}">
      <GroupBox.Header>
        <Run Text="{x:Static prop:Resources.Options_PrivacyTitle}" />
      </GroupBox.Header>
      <DockPanel>
        <WrapPanel DockPanel.Dock="Top">
          <CheckBox x:Name="chkMetrics" VerticalAlignment="Center" Content="{x:Static prop:Resources.Options_MetricsLabel}" />
        </WrapPanel>
        <TextBlock>
        <Hyperlink ToolTip="https://visualstudio.github.com/samples.html" NavigateUri="https://visualstudio.github.com/samples.html" RequestNavigate="Hyperlink_RequestNavigate"><TextBlock Text="{x:Static prop:Resources.learnMoreLink}"/></Hyperlink>
      </TextBlock>
      </DockPanel>
    </GroupBox>
    <GroupBox
            Margin="8,0,8,0"
            VerticalAlignment="Top"
            BorderBrush="LightGray"
            BorderThickness="1"
            Padding="6 8 6 8"
            Style="{DynamicResource GroupBoxFlat}">
      <GroupBox.Header>
            <Run Text="{x:Static prop:Resources.Options_DebuggingTitle}" />
      </GroupBox.Header>
      <DockPanel>
        <WrapPanel DockPanel.Dock="Top">
            <CheckBox x:Name="chkEnableTraceLogging" VerticalAlignment="Center" Content="{x:Static prop:Resources.Options_EnableTraceLoggingText}" />
        </WrapPanel>
      </DockPanel>
    </GroupBox>
    <GroupBox
            Margin="8,0,8,0"
            VerticalAlignment="Top"
            BorderBrush="LightGray"
            BorderThickness="1"
            Padding="6 8 6 8"
            Style="{DynamicResource GroupBoxFlat}">
      <GroupBox.Header>
        <Run Text="{x:Static prop:Resources.Options_ExperimentalTitle}" />
      </GroupBox.Header>
      <DockPanel>
        <WrapPanel DockPanel.Dock="Top">
          <CheckBox x:Name="chkEditorComments" VerticalAlignment="Center" Content="{x:Static prop:Resources.Options_EditorCommentsLabel}" />
        </WrapPanel>
        <TextBlock DockPanel.Dock="Bottom" TextWrapping="Wrap">
          <LineBreak />
          <Italic>
              <Run Text="{x:Static prop:Resources.Options_ExperimentalNote}" />
          </Italic>
        </TextBlock>
      </DockPanel>
    </GroupBox>
  </StackPanel>
</UserControl><commit_msg>Removing extra WrapPanel<commit_after>﻿<UserControl x:Class="GitHub.VisualStudio.UI.OptionsControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:GitHub.VisualStudio.UI"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:prop="clr-namespace:GitHub.VisualStudio.UI;assembly=GitHub.VisualStudio.UI"
             d:DesignHeight="200"
             mc:Ignorable="d">
  <UserControl.Resources>
    <BorderGapMaskConverter x:Key="BorderGapMaskConverter" />
    <Style x:Key="GroupBoxFlat" TargetType="{x:Type GroupBox}">
      <Setter Property="BorderBrush" Value="#D5DFE5" />
      <Setter Property="BorderThickness" Value="1" />
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate TargetType="{x:Type GroupBox}">
            <Grid SnapsToDevicePixels="true">
              <Grid.ColumnDefinitions>
                <ColumnDefinition Width="6" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="6" />
              </Grid.ColumnDefinitions>
              <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
                <RowDefinition Height="6" />
              </Grid.RowDefinitions>
              <Border x:Name="Header"
                      Grid.Row="0"
                      Grid.RowSpan="2"
                      Grid.Column="1"
                      Padding="3,1,3,0">
                <ContentPresenter ContentSource="Header" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
              </Border>
              <Border Grid.Row="1"
                      Grid.RowSpan="3"
                      Grid.ColumnSpan="4"
                      BorderBrush="Transparent"
                      BorderThickness="{TemplateBinding BorderThickness}"
                      CornerRadius="4">
                <Border.OpacityMask>
                  <MultiBinding Converter="{StaticResource BorderGapMaskConverter}" ConverterParameter="7">
                    <Binding ElementName="Header" Path="ActualWidth" />
                    <Binding Path="ActualWidth" RelativeSource="{RelativeSource Self}" />
                    <Binding Path="ActualHeight" RelativeSource="{RelativeSource Self}" />
                  </MultiBinding>
                </Border.OpacityMask>
                <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" />
              </Border>
              <ContentPresenter Grid.Row="2"
                                Grid.Column="1"
                                Grid.ColumnSpan="2"
                                Margin="{TemplateBinding Padding}"
                                SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
            </Grid>
          </ControlTemplate>
        </Setter.Value>
      </Setter>
    </Style>
  </UserControl.Resources>
  <StackPanel>
    <GroupBox
            Margin="8,0,8,0"
            VerticalAlignment="Top"
            BorderBrush="LightGray"
            BorderThickness="1"
            Padding="6 8 6 8"
            Style="{DynamicResource GroupBoxFlat}">
      <GroupBox.Header>
        <Run Text="{x:Static prop:Resources.Options_PrivacyTitle}" />
      </GroupBox.Header>
      <DockPanel>
        <WrapPanel DockPanel.Dock="Top">
          <CheckBox x:Name="chkMetrics" VerticalAlignment="Center" Content="{x:Static prop:Resources.Options_MetricsLabel}" />
        </WrapPanel>
        <TextBlock>
        <Hyperlink ToolTip="https://visualstudio.github.com/samples.html" NavigateUri="https://visualstudio.github.com/samples.html" RequestNavigate="Hyperlink_RequestNavigate"><TextBlock Text="{x:Static prop:Resources.learnMoreLink}"/></Hyperlink>
      </TextBlock>
      </DockPanel>
    </GroupBox>
    <GroupBox
            Margin="8,0,8,0"
            VerticalAlignment="Top"
            BorderBrush="LightGray"
            BorderThickness="1"
            Padding="6 8 6 8"
            Style="{DynamicResource GroupBoxFlat}">
      <GroupBox.Header>
            <Run Text="{x:Static prop:Resources.Options_DebuggingTitle}" />
      </GroupBox.Header>
      <DockPanel>
        <CheckBox x:Name="chkEnableTraceLogging" VerticalAlignment="Center" Content="{x:Static prop:Resources.Options_EnableTraceLoggingText}" />
      </DockPanel>
    </GroupBox>
    <GroupBox
            Margin="8,0,8,0"
            VerticalAlignment="Top"
            BorderBrush="LightGray"
            BorderThickness="1"
            Padding="6 8 6 8"
            Style="{DynamicResource GroupBoxFlat}">
      <GroupBox.Header>
        <Run Text="{x:Static prop:Resources.Options_ExperimentalTitle}" />
      </GroupBox.Header>
      <DockPanel>
        <WrapPanel DockPanel.Dock="Top">
          <CheckBox x:Name="chkEditorComments" VerticalAlignment="Center" Content="{x:Static prop:Resources.Options_EditorCommentsLabel}" />
        </WrapPanel>
        <TextBlock DockPanel.Dock="Bottom" TextWrapping="Wrap">
          <LineBreak />
          <Italic>
              <Run Text="{x:Static prop:Resources.Options_ExperimentalNote}" />
          </Italic>
        </TextBlock>
      </DockPanel>
    </GroupBox>
  </StackPanel>
</UserControl>
{'fraction_non_alphanumeric': 0.12576550989615692, 'fraction_numerical': 0.012070648797372859, 'mean_word_length': 2.0956043956043957, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 173, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7483795', 'n_tokens_mistral': 3267, 'n_tokens_neox': 2949, 'n_words': 422}