<commit_before>﻿<UserControl x:Class="Eagleslist.Controls.ProfileViewerControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:Eagleslist.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="400" d:DesignWidth="640">

    <ScrollViewer>
        <Grid Background="{StaticResource lightBackground}">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>

            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>

            <Border Width="100" Height="100" Background="Red" ClipToBounds="True"
                        Grid.Row="0" Grid.Column="0" Margin="20 20 10 20">
                <Image x:Name="ProfileImage"/>
            </Border>

            <Grid Grid.Row="0" Grid.Column="1" Margin="10 20 20 20">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>

                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>

                <TextBlock Grid.Row="0" Grid.Column="0" Text="Username" VerticalAlignment="Center" 
                       x:Name="ProfileUsername" FontSize="21.333" FontWeight="Bold"
                       HorizontalAlignment="Left"/>

                <TextBlock Grid.Row="0" Grid.Column="1" Text="(n) listings" HorizontalAlignment="Right"
                       VerticalAlignment="Center"/>

                <!--<DockPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Background="Green">-->


                <!--<TextBlock Text=" - "/>-->

                <!--<TextBlock Text="Email" VerticalAlignment="Center" x:Name="ProfileEmail"/>-->
                <!--</DockPanel>-->

                <TextBlock Text="Bio" VerticalAlignment="Top" Grid.Row="1" Grid.Column="0"
                               TextWrapping="Wrap" x:Name="ProfileBio"/>
            </Grid>

            <Grid Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Background="{StaticResource lightBackground}" Margin="20">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>

                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>

                <TextBlock Grid.Row="0" Grid.Column="0" Text="Recent Listings" 
                           FontSize="18.667" HorizontalAlignment="Left" VerticalAlignment="Center"/>

                <TextBlock Grid.Row="0" Grid.Column="1" Text="(n)" 
                           FontSize="18.667" HorizontalAlignment="Right" VerticalAlignment="Center"/>

                <ListView Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Margin="0 10 0 0">
                    
                </ListView>
            </Grid>
        </Grid>
    </ScrollViewer>
</UserControl><commit_msg>Started template for user page listings<commit_after>﻿<UserControl x:Class="Eagleslist.Controls.ProfileViewerControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:Eagleslist.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="400" d:DesignWidth="640">

    <ScrollViewer>
        <Grid Background="{StaticResource lightBackground}">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>

            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>

            <Border Width="100" Height="100" Background="Red" ClipToBounds="True"
                        Grid.Row="0" Grid.Column="0" Margin="20 20 10 20">
                <Image x:Name="ProfileImage"/>
            </Border>

            <Grid Grid.Row="0" Grid.Column="1" Margin="10 20 20 20">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>

                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>

                <TextBlock Grid.Row="0" Grid.Column="0" Text="Username" VerticalAlignment="Center" 
                       x:Name="ProfileUsername" FontSize="21.333" FontWeight="Bold"
                       HorizontalAlignment="Left"/>

                <TextBlock Grid.Row="0" Grid.Column="1" Text="(n) listings" HorizontalAlignment="Right"
                       VerticalAlignment="Center"/>

                <!--<DockPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Background="Green">-->


                <!--<TextBlock Text=" - "/>-->

                <!--<TextBlock Text="Email" VerticalAlignment="Center" x:Name="ProfileEmail"/>-->
                <!--</DockPanel>-->

                <TextBlock Text="Bio" VerticalAlignment="Top" Grid.Row="1" Grid.Column="0"
                               TextWrapping="Wrap" x:Name="ProfileBio"/>
            </Grid>

            <Grid Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Background="{StaticResource lightBackground}" Margin="20">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>

                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>

                <TextBlock Grid.Row="0" Grid.Column="0" Text="Recent Listings" 
                           FontSize="18.667" HorizontalAlignment="Left" VerticalAlignment="Center"/>

                <TextBlock Grid.Row="0" Grid.Column="1" Text="0 listings" x:Name="ListingsCountTextBlock"
                           FontSize="12" HorizontalAlignment="Right" VerticalAlignment="Center"/>

                <ListView Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Margin="0 10 0 0" x:Name="ListingsListView">
                    <ListView.Resources>
                        <Style TargetType="ListViewItem">
                            <Setter Property="BorderThickness" Value="0"/>
                            <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
                        </Style>
                    </ListView.Resources>

                    <ListView.ItemTemplate>
                        <DataTemplate>
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>

                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="*"/>
                                    <ColumnDefinition Width="*"/>
                                </Grid.ColumnDefinitions>
                            </Grid>
                        </DataTemplate>
                    </ListView.ItemTemplate>
                </ListView>
            </Grid>
        </Grid>
    </ScrollViewer>
</UserControl>
{'fraction_non_alphanumeric': 0.13501032932312554, 'fraction_numerical': 0.02150929639081298, 'mean_word_length': 1.622689611217336, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 127, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6806151', 'n_tokens_mistral': 2286, 'n_tokens_neox': 1935, 'n_words': 320}