<commit_before>﻿<w:TccWindow x:Class="TCC.Windows.ChatWindow"
             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:w="clr-namespace:TCC.Windows" 
             xmlns:vm="clr-namespace:TCC.ViewModels"
             xmlns:data="clr-namespace:TCC.Data"
             xmlns:c="clr-namespace:TCC.Controls"
             xmlns:chatcontrols="clr-namespace:TCC.Controls.ChatControls"
             xmlns:dragablz="http://dragablz.net/winfx/xaml/dragablz"
             xmlns:dockablz="http://dragablz.net/winfx/xaml/dockablz"
             mc:Ignorable="d" 
             Style="{StaticResource BaseWindowStyle}"
             MouseDoubleClick="TccWindow_MouseDoubleClick" 
             MouseLeave="TccWindow_MouseLeave" 
             MouseEnter="TccWindow_MouseEnter"
             Title="ChatWindow" 
             MinWidth="350" MinHeight="110"
             Loaded="TccWindow_Loaded" 
             ResizeMode="CanResize">
    <WindowChrome.WindowChrome>
        <WindowChrome CaptionHeight="0" ResizeBorderThickness="5,5,5,5" GlassFrameThickness="0,0,0,1" CornerRadius="0"/>
    </WindowChrome.WindowChrome>
    <w:TccWindow.DataContext>
        <vm:ChatViewModel />
    </w:TccWindow.DataContext>
    <w:TccWindow.Resources>
        <DataTemplate x:Key="ChatMessageTemplate">
            <c:ChatMessageControl VerticalAlignment="Top">
                <c:ChatMessageControl.LayoutTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleY="1"></ScaleTransform>
                        <RotateTransform Angle="180"></RotateTransform>
                    </TransformGroup>
                </c:ChatMessageControl.LayoutTransform>
            </c:ChatMessageControl>
        </DataTemplate>
        <Style TargetType="ItemsControl" x:Key="LfgItemsControl">
            <Setter Property="Height" Value="Auto"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate>
                        <Border SnapsToDevicePixels="True"
                                        BorderThickness="{TemplateBinding Border.BorderThickness}"
                                        Padding="{TemplateBinding Control.Padding}"
                                        BorderBrush="{TemplateBinding Border.BorderBrush}"
                                        Background="{TemplateBinding Panel.Background}"><commit_msg>fix chat window going fullscreen<commit_after>﻿<w:TccWindow x:Class="TCC.Windows.ChatWindow"
             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:w="clr-namespace:TCC.Windows" 
             xmlns:vm="clr-namespace:TCC.ViewModels"
             xmlns:data="clr-namespace:TCC.Data"
             xmlns:c="clr-namespace:TCC.Controls"
             xmlns:chatcontrols="clr-namespace:TCC.Controls.ChatControls"
             xmlns:dragablz="http://dragablz.net/winfx/xaml/dragablz"
             xmlns:dockablz="http://dragablz.net/winfx/xaml/dockablz"
             mc:Ignorable="d" 
             Style="{StaticResource BaseWindowStyle}"
             MouseDoubleClick="TccWindow_MouseDoubleClick" 
             MouseLeave="TccWindow_MouseLeave" 
             MouseEnter="TccWindow_MouseEnter"
             Title="ChatWindow" 
             MinWidth="350" MinHeight="110"
             Loaded="TccWindow_Loaded" 
             ResizeMode="CanResize"
             SizeToContent="Manual">
    <WindowChrome.WindowChrome>
        <WindowChrome CaptionHeight="0" ResizeBorderThickness="5,5,5,5" GlassFrameThickness="0,0,0,1" CornerRadius="0"/>
    </WindowChrome.WindowChrome>
    <w:TccWindow.DataContext>
        <vm:ChatViewModel />
    </w:TccWindow.DataContext>
    <w:TccWindow.Resources>
        <DataTemplate x:Key="ChatMessageTemplate">
            <c:ChatMessageControl VerticalAlignment="Top">
                <c:ChatMessageControl.LayoutTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleY="1"></ScaleTransform>
                        <RotateTransform Angle="180"></RotateTransform>
                    </TransformGroup>
                </c:ChatMessageControl.LayoutTransform>
            </c:ChatMessageControl>
        </DataTemplate>
        <Style TargetType="ItemsControl" x:Key="LfgItemsControl">
            <Setter Property="Height" Value="Auto"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate>
                        <Border SnapsToDevicePixels="True"
                                        BorderThickness="{TemplateBinding Border.BorderThickness}"
                                        Padding="{TemplateBinding Control.Padding}"
                                        BorderBrush="{TemplateBinding Border.BorderBrush}"
                                        Background="{TemplateBinding Panel.Background}">
{'fraction_non_alphanumeric': 0.1141518275538894, 'fraction_numerical': 0.013495782567947517, 'mean_word_length': 2.0684301322599197, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 24}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2340696', 'n_tokens_mistral': 1512, 'n_tokens_neox': 1387, 'n_words': 142}