<commit_before>﻿<Window x:Class="DesktopWidgets.Windows.WidgetPackageExport"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:p="clr-namespace:DesktopWidgets.Properties"
        mc:Ignorable="d"
        Title="Widget Package Exporter"
        Width="400"
        SizeToContent="Height"
        WindowStartupLocation="CenterScreen"
        FocusManager.FocusedElement="{Binding ElementName=NameTextBox}">
    <Grid Margin="15">
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="15" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Grid Grid.Row="0"
              IsSharedSizeScope="True">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="31"
                               SharedSizeGroup="optionsHeight" />
                <RowDefinition Height="Auto"
                               SharedSizeGroup="optionsHeight" />
                <RowDefinition Height="Auto"
                               SharedSizeGroup="optionsHeight" />
            </Grid.RowDefinitions>
            <Grid.Resources>
                <Style TargetType="TextBlock">
                    <Setter Property="VerticalAlignment"
                            Value="Center" />
                    <Setter Property="HorizontalAlignment"
                            Value="Left" />
                    <Setter Property="Margin"
                            Value="0,0,15,0" />
                    <Setter Property="Padding"
                            Value="0" />
                </Style>
                <Style TargetType="TextBox">
                    <Setter Property="VerticalAlignment"
                            Value="Center" />
                    <Setter Property="HorizontalAlignment"
                            Value="Stretch" />
                    <Setter Property="Height"
                            Value="23" />
                </Style>
            </Grid.Resources>

            <TextBlock x:Name="NameTextBox"
                       Grid.Row="0"
                       Grid.Column="0"
                       Text="Name:" />
            <TextBox Grid.Row="0"
                     Grid.Column="1"
                     VerticalAlignment="Center"
                     Height="23"
                     Text="{Binding Path=Settings.PackageInfo.Name, Mode=TwoWay}" />
            <TextBlock Grid.Row="1"
                       Grid.Column="0"
                       Text="Publisher:" />
            <TextBox Grid.Row="1"
                     Grid.Column="1"
                     Height="23"
                     VerticalAlignment="Center"
                     Text="{Binding Source={x:Static p:Settings.Default}, Path=WidgetPackagePublisherName, Mode=TwoWay}" />
            <TextBlock Grid.Row="2"
                       Grid.Column="0"
                       Text="Path:" />
            <Grid Grid.Row="2"
                  Grid.Column="1"
                  Height="23"
                  VerticalAlignment="Center">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="10" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <TextBox Grid.Column="0"
                         Height="23"
                         VerticalAlignment="Center"
                         Text="{Binding Path=Path, Mode=TwoWay}" />
                <Button Grid.Column="2"
                        Content="_Browse..."
                        Width="75"
                        Height="23"
                        Click="btnBrowse_OnClick" />
            </Grid>
        </Grid>

        <Grid Grid.Row="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="75" />
                <ColumnDefinition Width="5" /><commit_msg>Improve Widget Package Export UI<commit_after>﻿<Window x:Class="DesktopWidgets.Windows.WidgetPackageExport"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:p="clr-namespace:DesktopWidgets.Properties"
        mc:Ignorable="d"
        Title="Widget Exporter"
        Width="350"
        SizeToContent="Height"
        WindowStartupLocation="CenterScreen"
        ResizeMode="CanMinimize"
        FocusManager.FocusedElement="{Binding ElementName=NameTextBox}">
    <Grid Margin="15">
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="15" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Grid Grid.Row="0"
              IsSharedSizeScope="True">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="10" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"
                               SharedSizeGroup="optionsHeight" />
                <RowDefinition Height="5" />
                <RowDefinition Height="Auto"
                               SharedSizeGroup="optionsHeight" />
                <RowDefinition Height="5" />
                <RowDefinition Height="Auto"
                               SharedSizeGroup="optionsHeight" />
            </Grid.RowDefinitions>
            <Grid.Resources>
                <Style TargetType="TextBlock">
                    <Setter Property="VerticalAlignment"
                            Value="Center" />
                </Style>
                <Style TargetType="TextBox">
                    <Setter Property="VerticalAlignment"
                            Value="Center" />
                    <Setter Property="Height"
                            Value="23" />
                </Style>
            </Grid.Resources>

            <TextBlock x:Name="NameTextBox"
                       Grid.Row="0"
                       Grid.Column="0"
                       Text="Name:"
                       HorizontalAlignment="Right" />
            <TextBox Grid.Row="0"
                     Grid.Column="2"
                     Height="23"
                     Text="{Binding Path=Settings.PackageInfo.Name, Mode=TwoWay}" />
            <TextBlock Grid.Row="2"
                       Grid.Column="0"
                       Text="Publisher:"
                       HorizontalAlignment="Right" />
            <TextBox Grid.Row="2"
                     Grid.Column="2"
                     Height="23"
                     Text="{Binding Source={x:Static p:Settings.Default}, Path=WidgetPackagePublisherName, Mode=TwoWay}" />
            <TextBlock Grid.Row="4"
                       Grid.Column="0"
                       Text="Path:"
                       HorizontalAlignment="Right" />
            <Grid Grid.Row="4"
                  Grid.Column="2"
                  Height="23"
                  VerticalAlignment="Center">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="5" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <TextBox Grid.Column="0"
                         Height="23"
                         VerticalAlignment="Center"
                         Text="{Binding Path=Path, Mode=TwoWay}" />
                <Button Grid.Column="2"
                        Content="_Browse..."
                        Width="75"
                        Height="23"
                        Click="btnBrowse_OnClick" />
            </Grid>
        </Grid>

        <Grid Grid.Row="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="75" />
                <ColumnDefinition Width="5" />
{'fraction_non_alphanumeric': 0.11551542160197022, 'fraction_numerical': 0.014893866541573824, 'mean_word_length': 1.2796043838545843, 'pattern_counts': {'":': 0, '<': 102, '<?xml version=': 0, '>': 102, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, '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': '2265946', 'n_tokens_mistral': 2191, 'n_tokens_neox': 1899, 'n_words': 285}