Replace old markdown and remove redundant events (#389)

* Remove redundant messages

* Replaced old markdown with preview.
Added nuget config to add preview feed

* Fix old extensions usage

* Scrollbar margin for the markdown.

---------

Co-authored-by: Burak Kaan Köse <bkaankose@outlook.com>
This commit is contained in:
Tiktack
2024-09-27 00:46:51 +02:00
committed by GitHub
parent 118e9bf50b
commit 939b395dcd
15 changed files with 35 additions and 97 deletions

View File

@@ -3,30 +3,19 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:abstract="using:Wino.Views.Abstract"
xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="using:Wino.Views"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:toolkitmd="using:CommunityToolkit.Labs.WinUI.MarkdownTextBlock"
mc:Ignorable="d">
<Border
Margin="0,0,7,7"
Background="{ThemeResource WinoContentZoneBackgroud}"
BorderBrush="{StaticResource CardStrokeColorDefaultBrush}"
BorderThickness="1"
CornerRadius="7">
<Grid Padding="24">
<Border Style="{StaticResource PageRootBorderStyle}">
<Grid Padding="15">
<ScrollViewer>
<controls:MarkdownTextBlock
x:Name="MarkdownControl"
Background="Transparent"
<toolkitmd:MarkdownTextBlock
Margin="0,0,16,0"
CharacterSpacing="12"
Config="{x:Bind _config, Mode=OneTime}"
FontSize="16"
Header1FontSize="30"
Header2FontSize="22"
ImageStretch="UniformToFill"
LinkClicked="HyperlinkClicked"
ListBulletSpacing="10"
Text="{x:Bind ViewModel.CurrentVersionNotes, Mode=OneWay}" />
</ScrollViewer>
</Grid>