<commit_before>﻿<Window x:Class="adrilight.ui.SettingsWindow"
        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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:adrilight.ui"
        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
        mc:Ignorable="d"
        TextElement.Foreground="{DynamicResource MaterialDesignBody}"
        TextElement.FontWeight="Regular"
        TextElement.FontSize="13"
        TextOptions.TextFormattingMode="Ideal" 
        TextOptions.TextRenderingMode="Auto"        
        Background="{DynamicResource MaterialDesignPaper}"
        FontFamily="{StaticResource MaterialDesignFont}"
        d:DataContext="{Binding Source={StaticResource Locator}, Path=SettingsViewModel}"
        DataContext="{Binding Source={StaticResource Locator}, Path=SettingsViewModel}"
        Title="{Binding Title}" WindowStartupLocation="CenterScreen" MinWidth="730" MinHeight="480" d:DesignWidth="1461.241" d:DesignHeight="739.969">
    <DockPanel>

        <DockPanel Background="{DynamicResource MaterialDesignCardBackground}" Width="256" LastChildFill="True" DockPanel.Dock="Left" materialDesign:ShadowAssist.ShadowDepth="Depth2">

            <materialDesign:ColorZone materialDesign:ShadowAssist.ShadowDepth="Depth1"
                                            Mode="Accent" DockPanel.Dock="Top">
                <DockPanel>
                    <Image Source="Images/adrilight_icon.ico" DockPanel.Dock="Top"/>
                    <TextBlock Padding="16" Text="{Binding Title}" TextAlignment="Center" />
                </DockPanel>
            </materialDesign:ColorZone>
            <ListBox x:Name="DemoItemsListBox" Margin="0 16 0 16"  
                             ItemsSource="{Binding SelectableViewParts}"
                             SelectedItem="{Binding SelectedViewPart}">
                <ListBox.ItemTemplate>
                    <DataTemplate DataType="domain:DemoItem">
                        <TextBlock Text="{Binding ViewPartName}" Margin="32 0 32 0" /><commit_msg>the min window should be larger to allow better design<commit_after>﻿<Window x:Class="adrilight.ui.SettingsWindow"
        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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:adrilight.ui"
        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
        mc:Ignorable="d"
        TextElement.Foreground="{DynamicResource MaterialDesignBody}"
        TextElement.FontWeight="Regular"
        TextElement.FontSize="13"
        TextOptions.TextFormattingMode="Ideal" 
        TextOptions.TextRenderingMode="Auto"        
        Background="{DynamicResource MaterialDesignPaper}"
        FontFamily="{StaticResource MaterialDesignFont}"
        d:DataContext="{Binding Source={StaticResource Locator}, Path=SettingsViewModel}"
        DataContext="{Binding Source={StaticResource Locator}, Path=SettingsViewModel}"
        Title="{Binding Title}" WindowStartupLocation="CenterScreen" MinWidth="1200" MinHeight="700" d:DesignWidth="1461.241" d:DesignHeight="739.969">
    <DockPanel>

        <DockPanel Background="{DynamicResource MaterialDesignCardBackground}" Width="256" LastChildFill="True" DockPanel.Dock="Left" materialDesign:ShadowAssist.ShadowDepth="Depth2">

            <materialDesign:ColorZone materialDesign:ShadowAssist.ShadowDepth="Depth1"
                                            Mode="Accent" DockPanel.Dock="Top">
                <DockPanel>
                    <Image Source="Images/adrilight_icon.ico" DockPanel.Dock="Top"/>
                    <TextBlock Padding="16" Text="{Binding Title}" TextAlignment="Center" />
                </DockPanel>
            </materialDesign:ColorZone>
            <ListBox x:Name="DemoItemsListBox" Margin="0 16 0 16"  
                             ItemsSource="{Binding SelectableViewParts}"
                             SelectedItem="{Binding SelectedViewPart}">
                <ListBox.ItemTemplate>
                    <DataTemplate DataType="domain:DemoItem">
                        <TextBlock Text="{Binding ViewPartName}" Margin="32 0 32 0" />
{'fraction_non_alphanumeric': 0.1198237885462555, 'fraction_numerical': 0.02488986784140969, 'mean_word_length': 2.962478184991274, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 14}, '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': '4020874', 'n_tokens_mistral': 1333, 'n_tokens_neox': 1172, 'n_words': 163}