<commit_before>﻿<controls:WindowBase x:Class="Playnite.DesktopApp.Windows.UpdateWindow"
        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:controls="clr-namespace:Playnite.Controls;assembly=Playnite"
        xmlns:html="clr-namespace:TheArtOfDev.HtmlRenderer.WPF;assembly=HtmlRenderer.WPF"
        xmlns:pcon="clr-namespace:Playnite.Converters;assembly=Playnite"
        mc:Ignorable="d"                     
        d:DesignStyle="{StaticResource WindowDesignStyle}"
        Style="{DynamicResource StandardWindowStyle}"
        Title="{DynamicResource LOCUpdaterWindowTitle}" Height="500" Width="600" WindowStartupLocation="CenterOwner"
        ShowInTaskbar="True" ShowCloseButton="False" ShowMaximizeButton="False" ShowMinimizeButton="False">
    
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <DockPanel Background="{StaticResource ControlBackgroundBrush}" Grid.Row="0" Margin="5,5,5,0">
            <TextBlock Text="{DynamicResource LOCUpdaterChangesInfo}"
                       Style="{DynamicResource BaseTextBlockStyle}"
                       Margin="10" DockPanel.Dock="Top"/>
            <ScrollViewer DockPanel.Dock="Top">
                <ItemsControl Name="ItemsNotes" ItemsSource="{Binding ReleaseNotes}">
                    <ItemsControl.ItemTemplate>
                        <DataTemplate>
                            <DockPanel Margin="0,5,0,0">
                                <Border BorderThickness="0,0,0,2" BorderBrush="{StaticResource NormalBorderBrush}" DockPanel.Dock="Top">
                                    <Label Content="{Binding Version}"  Margin="15,5,0,5"/>
                                </Border>
                                <html:HtmlPanel Text="{Binding Note}" Foreground="White" Margin="0,5,0,0"
                                            Background="Transparent" DockPanel.Dock="Top"
                                            ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                                            ScrollViewer.VerticalScrollBarVisibility="Disabled"
                                            HorizontalAlignment="Left"/>
                            </DockPanel>
                        </DataTemplate>
                    </ItemsControl.ItemTemplate>
                </ItemsControl>
            </ScrollViewer>
        </DockPanel>
        <Border Grid.Column="0" Grid.Row="1" BorderThickness="0,1,0,0" BorderBrush="{StaticResource NormalBorderBrush}">
            <DockPanel LastChildFill="False" Margin="5">
                <ProgressBar Value="{Binding UpdateProgress}" Maximum="100"
                             Visibility="{Binding ShowProgress, Converter={pcon:BooleanToVisibilityConverter}}"
                             DockPanel.Dock="Top" Margin="5"/>
                <Button Name="ButtonClose" Content="{DynamicResource LOCCloseLabel}" DockPanel.Dock="Right" IsCancel="True"<commit_msg>Download progress is not visible on update dialog<commit_after>﻿<controls:WindowBase x:Class="Playnite.DesktopApp.Windows.UpdateWindow"
        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:controls="clr-namespace:Playnite.Controls;assembly=Playnite"
        xmlns:html="clr-namespace:TheArtOfDev.HtmlRenderer.WPF;assembly=HtmlRenderer.WPF"
        xmlns:pcon="clr-namespace:Playnite.Converters;assembly=Playnite"
        mc:Ignorable="d"                     
        d:DesignStyle="{StaticResource WindowDesignStyle}"
        Style="{DynamicResource StandardWindowStyle}"
        Title="{DynamicResource LOCUpdaterWindowTitle}" Height="500" Width="600" WindowStartupLocation="CenterOwner"
        ShowInTaskbar="True" ShowCloseButton="False" ShowMaximizeButton="False" ShowMinimizeButton="False">
    
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <DockPanel Background="{StaticResource ControlBackgroundBrush}" Grid.Row="0" Margin="5,5,5,0">
            <TextBlock Text="{DynamicResource LOCUpdaterChangesInfo}"
                       Style="{DynamicResource BaseTextBlockStyle}"
                       Margin="10" DockPanel.Dock="Top"/>
            <ScrollViewer DockPanel.Dock="Top">
                <ItemsControl Name="ItemsNotes" ItemsSource="{Binding ReleaseNotes}">
                    <ItemsControl.ItemTemplate>
                        <DataTemplate>
                            <DockPanel Margin="0,5,0,0">
                                <Border BorderThickness="0,0,0,2" BorderBrush="{StaticResource NormalBorderBrush}" DockPanel.Dock="Top">
                                    <Label Content="{Binding Version}"  Margin="15,5,0,5"/>
                                </Border>
                                <html:HtmlPanel Text="{Binding Note}" Foreground="White" Margin="0,5,0,0"
                                            Background="Transparent" DockPanel.Dock="Top"
                                            ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                                            ScrollViewer.VerticalScrollBarVisibility="Disabled"
                                            HorizontalAlignment="Left"/>
                            </DockPanel>
                        </DataTemplate>
                    </ItemsControl.ItemTemplate>
                </ItemsControl>
            </ScrollViewer>
        </DockPanel>
        <Border Grid.Column="0" Grid.Row="1" BorderThickness="0,1,0,0" BorderBrush="{StaticResource NormalBorderBrush}">
            <DockPanel LastChildFill="False" Margin="5">
                <ProgressBar Value="{Binding UpdateProgress}" Maximum="100" Height="25"
                             Visibility="{Binding ShowProgress, Converter={pcon:BooleanToVisibilityConverter}}"
                             DockPanel.Dock="Top" Margin="5"/>
                <Button Name="ButtonClose" Content="{DynamicResource LOCCloseLabel}" DockPanel.Dock="Right" IsCancel="True"
{'fraction_non_alphanumeric': 0.1174219228413962, 'fraction_numerical': 0.017758726270667484, 'mean_word_length': 2.1575640405993233, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 16}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 19, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6032492', 'n_tokens_mistral': 1784, 'n_tokens_neox': 1599, 'n_words': 211}