<commit_before>﻿<UserControl
    x:Class="Kimono.Controls.MasterDetailViewControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Kimono.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    x:Name="thisControl"
    d:DesignHeight="1080"
    d:DesignWidth="1920">

    <Grid x:Name="LayoutRoot" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup>
                <VisualState x:Name="TwoPaneVisualState">
                    <VisualState.Setters>
                        <Setter Target="PART_masterViewContentControl.Visibility" Value="Visible" />
                        <Setter Target="PART_masterViewContentControl.Width" Value="400" />
                        <Setter Target="PART_masterViewContentControl.(RelativePanel.AlignLeftWithPanel)" Value="True" />

                        <Setter Target="PART_detailViewContentControl.Visibility" Value="Visible" />
                        <Setter Target="PART_detailViewContentControl.(RelativePanel.AlignRightWithPanel)" Value="True" />
                        <Setter Target="PART_detailViewContentControl.(RelativePanel.RightOf)" Value="PART_masterViewContentControl" />
                    </VisualState.Setters>
                </VisualState>
                <VisualState x:Name="OnePaneMasterVisualState">
                    <VisualState.Setters>
                        <Setter Target="PART_masterViewContentControl.Visibility" Value="Visible" />
                        <Setter Target="PART_masterViewContentControl.Width" Value="NaN" />
                        <Setter Target="PART_masterViewContentControl.(RelativePanel.AlignLeftWithPanel)" Value="True" />

                        <Setter Target="PART_detailViewContentControl.Visibility" Value="Collapsed" />
                    </VisualState.Setters>
                </VisualState>
                <VisualState x:Name="OnePaneDetailVisualState">
                    <VisualState.Setters>
                        <Setter Target="PART_detailViewContentControl.Visibility" Value="Visible" />
                        <Setter Target="PART_detailViewContentControl.Width" Value="NaN" />
                        <Setter Target="PART_detailViewContentControl.(RelativePanel.AlignLeftWithPanel)" Value="True" />

                        <Setter Target="PART_masterViewContentControl.Visibility" Value="Collapsed" />
                    </VisualState.Setters>
                </VisualState>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>
        
        <RelativePanel x:Name="PART_relativePanelParent" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
            <ContentControl x:Name="PART_masterViewContentControl" RelativePanel.AlignLeftWithPanel="True" 
                            VerticalContentAlignment="Stretch" VerticalAlignment="Stretch" Width="400" 
                            HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch"
                            Content="{Binding MasterViewPaneContent, ElementName=thisControl, UpdateSourceTrigger=PropertyChanged}"
                            Height="NaN" />
            
            <ContentControl x:Name="PART_detailViewContentControl" RelativePanel.AlignRightWithPanel="True" 
                            RelativePanel.RightOf="PART_masterViewContentControl" Width="NaN"
                            VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" 
                            HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch"
                            Content="{Binding DetailViewPaneContent, ElementName=thisControl, UpdateSourceTrigger=PropertyChanged}"
                            Height="NaN" />
        </RelativePanel>
    </Grid>
</UserControl><commit_msg>Master pane is a bit wider. DataContext of PreviewPane is PreviewItem<commit_after>﻿<UserControl
    x:Class="Kimono.Controls.MasterDetailViewControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Kimono.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    x:Name="thisControl"
    d:DesignHeight="1080"
    d:DesignWidth="1920">

    <Grid x:Name="LayoutRoot" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup>
                <VisualState x:Name="TwoPaneVisualState">
                    <VisualState.Setters>
                        <Setter Target="PART_masterViewContentControl.Visibility" Value="Visible" />
                        <Setter Target="PART_masterViewContentControl.Width" Value="450" />
                        <Setter Target="PART_masterViewContentControl.(RelativePanel.AlignLeftWithPanel)" Value="True" />

                        <Setter Target="PART_detailViewContentControl.Visibility" Value="Visible" />
                        <Setter Target="PART_detailViewContentControl.(RelativePanel.AlignRightWithPanel)" Value="True" />
                        <Setter Target="PART_detailViewContentControl.(RelativePanel.RightOf)" Value="PART_masterViewContentControl" />
                    </VisualState.Setters>
                </VisualState>
                <VisualState x:Name="OnePaneMasterVisualState">
                    <VisualState.Setters>
                        <Setter Target="PART_masterViewContentControl.Visibility" Value="Visible" />
                        <Setter Target="PART_masterViewContentControl.Width" Value="NaN" />
                        <Setter Target="PART_masterViewContentControl.(RelativePanel.AlignLeftWithPanel)" Value="True" />

                        <Setter Target="PART_detailViewContentControl.Visibility" Value="Collapsed" />
                    </VisualState.Setters>
                </VisualState>
                <VisualState x:Name="OnePaneDetailVisualState">
                    <VisualState.Setters>
                        <Setter Target="PART_detailViewContentControl.Visibility" Value="Visible" />
                        <Setter Target="PART_detailViewContentControl.Width" Value="NaN" />
                        <Setter Target="PART_detailViewContentControl.(RelativePanel.AlignLeftWithPanel)" Value="True" />

                        <Setter Target="PART_masterViewContentControl.Visibility" Value="Collapsed" />
                    </VisualState.Setters>
                </VisualState>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>
        
        <RelativePanel x:Name="PART_relativePanelParent" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
            <ContentControl x:Name="PART_masterViewContentControl" RelativePanel.AlignLeftWithPanel="True" 
                            VerticalContentAlignment="Stretch" VerticalAlignment="Stretch" Width="450" 
                            HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch"
                            Content="{Binding MasterViewPaneContent, ElementName=thisControl, UpdateSourceTrigger=PropertyChanged}"
                            Height="NaN" />
            
            <ContentControl x:Name="PART_detailViewContentControl" RelativePanel.AlignRightWithPanel="True" 
                            RelativePanel.RightOf="PART_masterViewContentControl" Width="NaN"
                            VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" 
                            HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch"
                            DataContext="{Binding PreviewItem, ElementName=thisControl, UpdateSourceTrigger=PropertyChanged}"
                            Content="{Binding DetailViewPaneContent, ElementName=thisControl, UpdateSourceTrigger=PropertyChanged}"
                            Height="NaN" />
        </RelativePanel>
    </Grid>
</UserControl>
{'fraction_non_alphanumeric': 0.10055730554882482, 'fraction_numerical': 0.00726920281075842, 'mean_word_length': 2.4453255425709517, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '2496655', 'n_tokens_mistral': 2098, 'n_tokens_neox': 1875, 'n_words': 233}