From 8bbd0846c318d063750ebccef26afd6e7b4ef2aa Mon Sep 17 00:00:00 2001 From: Andrew Whitechapel Date: Tue, 18 Jun 2024 16:31:47 -0700 Subject: [PATCH 1/7] Update registering external tools --- .../DevHome.PI/Controls/AddToolControl.xaml | 144 ++++--- .../Controls/AddToolControl.xaml.cs | 353 ++++++++++++++++-- .../DevHome.PI/Controls/ProgressTextRing.xaml | 33 ++ .../Controls/ProgressTextRing.xaml.cs | 74 ++++ tools/PI/DevHome.PI/DevHome.PI.csproj | 16 + tools/PI/DevHome.PI/Helpers/ExternalTool.cs | 177 +++++---- .../Helpers/ExternalToolCollection.cs | 25 ++ .../PI/DevHome.PI/Helpers/ExternalTool_v1.cs | 59 +++ .../DevHome.PI/Helpers/ExternalToolsHelper.cs | 86 ++++- tools/PI/DevHome.PI/Helpers/WindowHelper.cs | 65 ++++ .../PI/DevHome.PI/Models/InstalledAppInfo.cs | 48 +++ .../DevHome.PI/Strings/en-us/Resources.resw | 86 ++++- 12 files changed, 989 insertions(+), 177 deletions(-) create mode 100644 tools/PI/DevHome.PI/Controls/ProgressTextRing.xaml create mode 100644 tools/PI/DevHome.PI/Controls/ProgressTextRing.xaml.cs create mode 100644 tools/PI/DevHome.PI/Helpers/ExternalToolCollection.cs create mode 100644 tools/PI/DevHome.PI/Helpers/ExternalTool_v1.cs create mode 100644 tools/PI/DevHome.PI/Models/InstalledAppInfo.cs diff --git a/tools/PI/DevHome.PI/Controls/AddToolControl.xaml b/tools/PI/DevHome.PI/Controls/AddToolControl.xaml index 672b6c1083..c0c4e51f01 100644 --- a/tools/PI/DevHome.PI/Controls/AddToolControl.xaml +++ b/tools/PI/DevHome.PI/Controls/AddToolControl.xaml @@ -5,6 +5,8 @@ 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="using:CommunityToolkit.WinUI.UI.Controls" + xmlns:local="using:DevHome.PI.Controls" mc:Ignorable="d"> @@ -17,21 +19,79 @@ - + + + + + + + + + + + + + + + +