mirror of
https://github.com/microsoft/PowerToys
synced 2025-08-22 10:07:37 +00:00
[S360] Revert "[CmdPal][AOT] Replace CommunityToolkit.MarkdownTextBlock with CommunityToolkit.Lab.MarkdownTextBlock (#39974)" (#40055)
This reverts commit 7d257cf00c0bd4fec6174719bfbe346085c1ed28 due to a security concern involving multiple feeds <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] **Closes:** #xxx - [ ] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed, or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
This commit is contained in:
parent
c551e27c40
commit
4556024b72
1
.github/actions/spell-check/expect.txt
vendored
1
.github/actions/spell-check/expect.txt
vendored
@ -1385,7 +1385,6 @@ riid
|
|||||||
ringbuffer
|
ringbuffer
|
||||||
RKey
|
RKey
|
||||||
RNumber
|
RNumber
|
||||||
Rns
|
|
||||||
rop
|
rop
|
||||||
ROUNDSMALL
|
ROUNDSMALL
|
||||||
ROWSETEXT
|
ROWSETEXT
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
<PackageVersion Include="CommunityToolkit.WinUI.Extensions" Version="8.2.250402" />
|
<PackageVersion Include="CommunityToolkit.WinUI.Extensions" Version="8.2.250402" />
|
||||||
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.DataGrid" Version="7.1.2" />
|
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.DataGrid" Version="7.1.2" />
|
||||||
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.Markdown" Version="7.1.2" />
|
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls.Markdown" Version="7.1.2" />
|
||||||
<PackageVersion Include="CommunityToolkit.Labs.WinUI.Controls.MarkdownTextBlock" Version="0.1.250513-build.2126" />
|
|
||||||
<PackageVersion Include="ControlzEx" Version="6.0.0" />
|
<PackageVersion Include="ControlzEx" Version="6.0.0" />
|
||||||
<PackageVersion Include="HelixToolkit" Version="2.24.0" />
|
<PackageVersion Include="HelixToolkit" Version="2.24.0" />
|
||||||
<PackageVersion Include="HelixToolkit.Core.Wpf" Version="2.24.0" />
|
<PackageVersion Include="HelixToolkit.Core.Wpf" Version="2.24.0" />
|
||||||
|
@ -1497,7 +1497,6 @@ SOFTWARE.
|
|||||||
- Appium.WebDriver 4.4.5
|
- Appium.WebDriver 4.4.5
|
||||||
- Azure.AI.OpenAI 1.0.0-beta.17
|
- Azure.AI.OpenAI 1.0.0-beta.17
|
||||||
- CommunityToolkit.Common 8.4.0
|
- CommunityToolkit.Common 8.4.0
|
||||||
- CommunityToolkit.Labs.WinUI.Controls.MarkdownTextBlock 0.1.250513-build.2126
|
|
||||||
- CommunityToolkit.Mvvm 8.4.0
|
- CommunityToolkit.Mvvm 8.4.0
|
||||||
- CommunityToolkit.WinUI.Animations 8.2.250402
|
- CommunityToolkit.WinUI.Animations 8.2.250402
|
||||||
- CommunityToolkit.WinUI.Collections 8.2.250402
|
- CommunityToolkit.WinUI.Collections 8.2.250402
|
||||||
|
@ -3,14 +3,10 @@
|
|||||||
<packageSources>
|
<packageSources>
|
||||||
<clear />
|
<clear />
|
||||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||||
<add key="lab" value="https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-Labs/nuget/v3/index.json" />
|
|
||||||
</packageSources>
|
</packageSources>
|
||||||
<packageSourceMapping>
|
<packageSourceMapping>
|
||||||
<packageSource key="nuget.org">
|
<packageSource key="nuget.org">
|
||||||
<package pattern="*" />
|
<package pattern="*" />
|
||||||
</packageSource>
|
</packageSource>
|
||||||
<packageSource key="lab">
|
|
||||||
<package pattern="CommunityToolkit.Labs.*" />
|
|
||||||
</packageSource>
|
|
||||||
</packageSourceMapping>
|
</packageSourceMapping>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
xmlns:controls="using:Microsoft.CmdPal.UI.Controls"
|
xmlns:controls="using:Microsoft.CmdPal.UI.Controls"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:tk7controls="using:CommunityToolkit.Labs.WinUI.MarkdownTextBlock"
|
xmlns:tk7controls="using:CommunityToolkit.WinUI.UI.Controls"
|
||||||
x:Name="ShortcutContentControl"
|
x:Name="ShortcutContentControl"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
<Grid MinWidth="498" MinHeight="220">
|
<Grid MinWidth="498" MinHeight="220">
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
xmlns:controls="using:Microsoft.CmdPal.UI.Controls"
|
xmlns:controls="using:Microsoft.CmdPal.UI.Controls"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:tk7controls="using:CommunityToolkit.Labs.WinUI.MarkdownTextBlock"
|
xmlns:tk7controls="using:CommunityToolkit.WinUI.UI.Controls"
|
||||||
d:DesignHeight="300"
|
d:DesignHeight="300"
|
||||||
d:DesignWidth="400"
|
d:DesignWidth="400"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
|
@ -11,21 +11,14 @@
|
|||||||
xmlns:converters="using:CommunityToolkit.WinUI.Converters"
|
xmlns:converters="using:CommunityToolkit.WinUI.Converters"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="using:Microsoft.CmdPal.UI"
|
xmlns:local="using:Microsoft.CmdPal.UI"
|
||||||
xmlns:markdownTextBlockRns="using:CommunityToolkit.WinUI.Controls.MarkdownTextBlockRns"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:toolkit="using:CommunityToolkit.Labs.WinUI.MarkdownTextBlock"
|
xmlns:toolkit="using:CommunityToolkit.WinUI.UI.Controls"
|
||||||
xmlns:viewmodels="using:Microsoft.CmdPal.UI.ViewModels"
|
xmlns:viewmodels="using:Microsoft.CmdPal.UI.ViewModels"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
|
|
||||||
<Page.Resources>
|
<Page.Resources>
|
||||||
<ResourceDictionary>
|
<ResourceDictionary>
|
||||||
<markdownTextBlockRns:MarkdownThemes
|
|
||||||
x:Key="DefaultMarkdownThemeConfig"
|
|
||||||
H3FontSize="12"
|
|
||||||
H3FontWeight="Normal" />
|
|
||||||
<toolkit:MarkdownConfig x:Key="DefaultMarkdownConfig" Themes="{StaticResource DefaultMarkdownThemeConfig}" />
|
|
||||||
|
|
||||||
<StackLayout
|
<StackLayout
|
||||||
x:Name="VerticalStackLayout"
|
x:Name="VerticalStackLayout"
|
||||||
Orientation="Vertical"
|
Orientation="Vertical"
|
||||||
@ -52,7 +45,10 @@
|
|||||||
<Grid Margin="0,4,4,4" Padding="12,8,8,8">
|
<Grid Margin="0,4,4,4" Padding="12,8,8,8">
|
||||||
<toolkit:MarkdownTextBlock
|
<toolkit:MarkdownTextBlock
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
Config="{StaticResource DefaultMarkdownConfig}"
|
Header3FontSize="12"
|
||||||
|
Header3FontWeight="Normal"
|
||||||
|
Header3Foreground="{ThemeResource TextFillColorSecondaryBrush}"
|
||||||
|
IsTextSelectionEnabled="True"
|
||||||
Text="{x:Bind Body, Mode=OneWay}" />
|
Text="{x:Bind Body, Mode=OneWay}" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
@ -67,7 +63,10 @@
|
|||||||
<Grid>
|
<Grid>
|
||||||
<toolkit:MarkdownTextBlock
|
<toolkit:MarkdownTextBlock
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
Config="{StaticResource DefaultMarkdownConfig}"
|
Header3FontSize="12"
|
||||||
|
Header3FontWeight="Normal"
|
||||||
|
Header3Foreground="{ThemeResource TextFillColorSecondaryBrush}"
|
||||||
|
IsTextSelectionEnabled="True"
|
||||||
Text="{x:Bind Body, Mode=OneWay}" />
|
Text="{x:Bind Body, Mode=OneWay}" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
|
@ -71,8 +71,7 @@
|
|||||||
<PackageReference Include="CommunityToolkit.WinUI.Converters" />
|
<PackageReference Include="CommunityToolkit.WinUI.Converters" />
|
||||||
<PackageReference Include="CommunityToolkit.WinUI.Animations" />
|
<PackageReference Include="CommunityToolkit.WinUI.Animations" />
|
||||||
<PackageReference Include="CommunityToolkit.WinUI.Extensions" />
|
<PackageReference Include="CommunityToolkit.WinUI.Extensions" />
|
||||||
<!--<PackageReference Include="CommunityToolkit.WinUI.UI.Controls.Markdown" />-->
|
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls.Markdown" />
|
||||||
<PackageReference Include="CommunityToolkit.Labs.WinUI.Controls.MarkdownTextBlock" />
|
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
|
||||||
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
|
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" />
|
||||||
<PackageReference Include="Microsoft.WindowsAppSDK" />
|
<PackageReference Include="Microsoft.WindowsAppSDK" />
|
||||||
|
@ -9,10 +9,8 @@
|
|||||||
xmlns:cpcontrols="using:Microsoft.CmdPal.UI.Controls"
|
xmlns:cpcontrols="using:Microsoft.CmdPal.UI.Controls"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:help="using:Microsoft.CmdPal.UI.Helpers"
|
xmlns:help="using:Microsoft.CmdPal.UI.Helpers"
|
||||||
xmlns:labToolkit="using:CommunityToolkit.Labs.WinUI.MarkdownTextBlock"
|
|
||||||
xmlns:markdownTextBlockRns="using:CommunityToolkit.WinUI.Controls.MarkdownTextBlockRns"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:toolkit="using:CommunityToolkit.WinUI.Controls"
|
xmlns:toolkit="using:CommunityToolkit.WinUI.UI.Controls"
|
||||||
xmlns:ui="using:CommunityToolkit.WinUI"
|
xmlns:ui="using:CommunityToolkit.WinUI"
|
||||||
xmlns:viewModels="using:Microsoft.CmdPal.UI.ViewModels"
|
xmlns:viewModels="using:Microsoft.CmdPal.UI.ViewModels"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
@ -146,11 +144,6 @@
|
|||||||
</ItemsControl>
|
</ItemsControl>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
<markdownTextBlockRns:MarkdownThemes
|
|
||||||
x:Key="DefaultMarkdownThemeConfig"
|
|
||||||
H3FontSize="12"
|
|
||||||
H3FontWeight="Normal" />
|
|
||||||
<labToolkit:MarkdownConfig x:Key="DefaultMarkdownConfig" Themes="{StaticResource DefaultMarkdownThemeConfig}" />
|
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</Page.Resources>
|
</Page.Resources>
|
||||||
|
|
||||||
@ -415,11 +408,14 @@
|
|||||||
TextWrapping="WrapWholeWords"
|
TextWrapping="WrapWholeWords"
|
||||||
Visibility="{x:Bind ViewModel.Details.Title, Converter={StaticResource StringNotEmptyToVisibilityConverter}, Mode=OneWay}" />
|
Visibility="{x:Bind ViewModel.Details.Title, Converter={StaticResource StringNotEmptyToVisibilityConverter}, Mode=OneWay}" />
|
||||||
|
|
||||||
<labToolkit:MarkdownTextBlock
|
<toolkit:MarkdownTextBlock
|
||||||
Grid.Row="2"
|
Grid.Row="2"
|
||||||
Margin="0,12,0,24"
|
Margin="0,12,0,24"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
Config="{StaticResource DefaultMarkdownConfig}"
|
Header3FontSize="12"
|
||||||
|
Header3FontWeight="Normal"
|
||||||
|
Header3Foreground="{ThemeResource TextFillColorSecondaryBrush}"
|
||||||
|
IsTextSelectionEnabled="True"
|
||||||
Text="{x:Bind ViewModel.Details.Body, Mode=OneWay}" />
|
Text="{x:Bind ViewModel.Details.Body, Mode=OneWay}" />
|
||||||
|
|
||||||
<ItemsRepeater
|
<ItemsRepeater
|
||||||
|
Loading…
x
Reference in New Issue
Block a user