<commit_before>﻿<UserControl x:Class="TogglDesktop.WPF.TimeEntryCell"
             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:toggl="clr-namespace:TogglDesktop.WPF"
             mc:Ignorable="d"
             d:DataContext="{d:DesignInstance Type=toggl:TimeEntryCellSample, IsDesignTimeCreatable=True}"
             d:DesignHeight="100" d:DesignWidth="455">
    
    <StackPanel  Style="{toggl:Resources ResourceKey=TimeEntryCell}"
                Background="Transparent">
        
        <!-- Day Header -->
        <StackPanel Name="dayHeader" x:FieldModifier="private"
                    Margin="0, 0, 0, 4">
            <Rectangle Height="4">
                <Rectangle.Fill>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="#CCCCCC" Offset="0.0" />
                        <GradientStop Color="Transparent" Offset="1" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <StackPanel Orientation="Horizontal" Height="37" Margin="20, 0, 0, 0">
                <TextBlock Name="labelFormattedDate" x:FieldModifier="private"
                           >Thu 22. Jan</TextBlock>
                <TextBlock Name="labelDateDuration" x:FieldModifier="private"
                           Foreground="#6F6F6F">2 h 12 min</TextBlock>
            </StackPanel>
        </StackPanel>

        <!-- seperator -->
        <Rectangle Name="entrySeperator" x:FieldModifier="private" Fill="#F7F7F7" Height="2"/>

        <!-- Entry -->
        <Grid Name="entryGrid" x:FieldModifier="private"
            Height="53" MouseDown="entry_MouseDown" MouseEnter="entryMouseEnter" MouseLeave="entryMouseLeave">
            
            <Grid.Background>
                <SolidColorBrush Color="{Binding EntryBackColor}"/>
            </Grid.Background>
            
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="4"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="100"/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions><commit_msg>Changed day header background to gray (win)<commit_after>﻿<UserControl x:Class="TogglDesktop.WPF.TimeEntryCell"
             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:toggl="clr-namespace:TogglDesktop.WPF"
             mc:Ignorable="d"
             d:DataContext="{d:DesignInstance Type=toggl:TimeEntryCellSample, IsDesignTimeCreatable=True}"
             d:DesignHeight="100" d:DesignWidth="455">
    
    <StackPanel  Style="{toggl:Resources ResourceKey=TimeEntryCell}"
                Background="#F7F7F7">
        
        <!-- Day Header -->
        <StackPanel Name="dayHeader" x:FieldModifier="private"
                    Margin="0, 0, 0, 4">
            <Rectangle Height="4">
                <Rectangle.Fill>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="#CCCCCC" Offset="0.0" />
                        <GradientStop Color="#F7F7F7 Offset="1" />
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <StackPanel Orientation="Horizontal" Height="37" Margin="20, 0, 0, 0">
                <TextBlock Name="labelFormattedDate" x:FieldModifier="private"
                           >Thu 22. Jan</TextBlock>
                <TextBlock Name="labelDateDuration" x:FieldModifier="private"
                           Foreground="#6F6F6F">2 h 12 min</TextBlock>
            </StackPanel>
        </StackPanel>

        <!-- seperator -->
        <Rectangle Name="entrySeperator" x:FieldModifier="private" Fill="#F7F7F7" Height="2"/>

        <!-- Entry -->
        <Grid Name="entryGrid" x:FieldModifier="private"
            Height="53" MouseDown="entry_MouseDown" MouseEnter="entryMouseEnter" MouseLeave="entryMouseLeave">
            
            <Grid.Background>
                <SolidColorBrush Color="{Binding EntryBackColor}"/>
            </Grid.Background>
            
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="4"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="100"/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions>
{'fraction_non_alphanumeric': 0.13176423254878294, 'fraction_numerical': 0.024944679139006234, 'mean_word_length': 1.9933774834437086, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '3524745', 'n_tokens_mistral': 1481, 'n_tokens_neox': 1315, 'n_words': 193}