about page updates
This commit is contained in:
jliddev
2020-07-07 12:16:05 -05:00
parent e078f47f7f
commit fbf20366ff
4 changed files with 28 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
{
"ChangeLogs": [
{
"Version": "1.2.5",
"Description": "Jazz up the about page."
},
{
"Version": "1.2.4",
"Description": "More protection against weird toc files.\nImprovements to re-scan function."

View File

@@ -34,6 +34,11 @@ namespace WowUp.WPF.ViewModels
Version = $"v{_wowUpService.CurrentVersionString}";
var changeLogFile = await _wowUpService.GetChangeLogFile();
if(changeLogFile == null)
{
return;
}
foreach(var changeLog in changeLogFile.ChangeLogs)
{
ChangeLogs.Add(changeLog);

View File

@@ -56,7 +56,19 @@
<Border Padding="10" Grid.Row="0">
<TextBlock Text="Change Log" FontSize="18"/>
</Border>
<ListView ItemsSource="{Binding ChangeLogs}" Grid.Row="1"
<ItemsControl Padding="10" ItemsSource="{Binding ChangeLogs}" Grid.Row="1">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Border Margin="0 10" Padding="10 0" BorderBrush="{StaticResource Purple1}" BorderThickness="1 0 0 0">
<StackPanel >
<TextBlock FontSize="13" FontWeight="Medium" Text="{Binding Version}" />
<TextBlock FontSize="12" Text="{Binding Description}" />
</StackPanel>
</Border>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
<!--<ListView ItemsSource="{Binding ChangeLogs}" Grid.Row="1"
Background="Transparent"
BorderBrush="Transparent">
<ListView.ItemContainerStyle>
@@ -80,7 +92,7 @@
</StackPanel>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</ListView>-->
</Grid>
</Grid>
</ScrollViewer>

View File

@@ -10,8 +10,12 @@
<PackageId>WowUp</PackageId>
<Authors>Jliddev</Authors>
<Product>WowUp</Product>
<Version>1.2.4</Version>
<Version>1.2.5</Version>
<ApplicationIcon>wowup_logo_512np_RRT_icon.ico</ApplicationIcon>
<Copyright>jliddev</Copyright>
<PackageProjectUrl>https://wowup.io</PackageProjectUrl>
<Description>World of Warcraft addon updater</Description>
<RepositoryUrl>https://github.com/jliddev/WowUp</RepositoryUrl>
</PropertyGroup>
<ItemGroup>