From e748699fdb6e099e5fee824da96e58b28e861d2f Mon Sep 17 00:00:00 2001 From: htcfreek <61519853+htcfreek@users.noreply.github.com> Date: Sun, 7 Jul 2024 12:00:28 +0200 Subject: [PATCH 01/24] changes part 1 --- .../SettingsXAML/Views/AdvancedPaste.xaml | 12 +++++++++--- .../SettingsXAML/Views/AlwaysOnTopPage.xaml | 4 +++- .../Settings.UI/SettingsXAML/Views/AwakePage.xaml | 4 +++- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/AdvancedPaste.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/AdvancedPaste.xaml index 638bd8588ee2..31ef70276b2f 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/AdvancedPaste.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/AdvancedPaste.xaml @@ -42,7 +42,9 @@ IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" - Severity="Informational" /> + Severity="Informational"> + + @@ -78,7 +80,9 @@ IsClosable="False" IsOpen="{x:Bind ViewModel.ShowOnlineAIModelsGpoConfiguredInfoBar, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowOnlineAIModelsGpoConfiguredInfoBar, Mode=OneWay}" - Severity="Informational" /> + Severity="Informational"> + + @@ -93,7 +97,9 @@ IsClosable="False" IsOpen="{x:Bind ViewModel.ShowClipboardHistoryIsGpoConfiguredInfoBar, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowClipboardHistoryIsGpoConfiguredInfoBar, Mode=OneWay}" - Severity="Informational" /> + Severity="Informational"> + + diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml index aead2cb5ebfb..265b033e3c6a 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml @@ -27,7 +27,9 @@ IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" - Severity="Informational" /> + Severity="Informational"> + + + Severity="Informational"> + + From bfa54091666a3fa65bac4ba703b73372aa5f67c5 Mon Sep 17 00:00:00 2001 From: htcfreek <61519853+htcfreek@users.noreply.github.com> Date: Sun, 7 Jul 2024 12:30:53 +0200 Subject: [PATCH 02/24] fix xaml code --- .../SettingsXAML/Views/AdvancedPaste.xaml | 12 +++++++++--- .../SettingsXAML/Views/AlwaysOnTopPage.xaml | 4 +++- .../Settings.UI/SettingsXAML/Views/AwakePage.xaml | 4 +++- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/AdvancedPaste.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/AdvancedPaste.xaml index 31ef70276b2f..b0a7727aa300 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/AdvancedPaste.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/AdvancedPaste.xaml @@ -43,7 +43,9 @@ IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational"> - + + + @@ -81,7 +83,9 @@ IsOpen="{x:Bind ViewModel.ShowOnlineAIModelsGpoConfiguredInfoBar, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowOnlineAIModelsGpoConfiguredInfoBar, Mode=OneWay}" Severity="Informational"> - + + + @@ -98,7 +102,9 @@ IsOpen="{x:Bind ViewModel.ShowClipboardHistoryIsGpoConfiguredInfoBar, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.ShowClipboardHistoryIsGpoConfiguredInfoBar, Mode=OneWay}" Severity="Informational"> - + + + diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml index 265b033e3c6a..66cf570af055 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/AlwaysOnTopPage.xaml @@ -28,7 +28,9 @@ IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational"> - + + + diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/AwakePage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/AwakePage.xaml index d239f6750bf9..c16b52606703 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/AwakePage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/AwakePage.xaml @@ -35,7 +35,9 @@ IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" Severity="Informational"> - + + + From 1565cdcde4f54f65d4c39a15ae153b91b06a7478 Mon Sep 17 00:00:00 2001 From: htcfreek <61519853+htcfreek@users.noreply.github.com> Date: Sun, 7 Jul 2024 12:40:35 +0200 Subject: [PATCH 03/24] changes part 2 --- .../SettingsXAML/Views/CmdNotFoundPage.xaml | 6 +++++- .../SettingsXAML/Views/ColorPickerPage.xaml | 6 +++++- .../SettingsXAML/Views/CropAndLockPage.xaml | 6 +++++- .../SettingsXAML/Views/EnvironmentVariablesPage.xaml | 6 +++++- .../SettingsXAML/Views/FancyZonesPage.xaml | 6 +++++- .../SettingsXAML/Views/FileLocksmithPage.xaml | 6 +++++- .../Settings.UI/SettingsXAML/Views/GeneralPage.xaml | 12 ++++++++++-- 7 files changed, 40 insertions(+), 8 deletions(-) diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml index 649d30622617..c73f4b60ca3f 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml @@ -25,7 +25,11 @@ IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" - Severity="Informational" /> + Severity="Informational"> + + + + + Severity="Informational"> + + + + diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/CropAndLockPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/CropAndLockPage.xaml index 1a3ceab5338f..ae1464948041 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/CropAndLockPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/CropAndLockPage.xaml @@ -27,7 +27,11 @@ IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" - Severity="Informational" /> + Severity="Informational"> + + + + diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/EnvironmentVariablesPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/EnvironmentVariablesPage.xaml index 3dc0b6bfcbce..595710c0c4a1 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/EnvironmentVariablesPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/EnvironmentVariablesPage.xaml @@ -23,7 +23,11 @@ IsClosable="False" IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}" - Severity="Informational" /> + Severity="Informational"> + + + + + Severity="Informational"> + + + + + Severity="Informational"> + + + + diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/GeneralPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/GeneralPage.xaml index 4ffa0bf4a999..84be74105b85 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/GeneralPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/GeneralPage.xaml @@ -63,7 +63,11 @@ IsClosable="False" IsOpen="{x:Bind ViewModel.SomeUpdateSettingsAreGpoManaged, Mode=OneWay}" IsTabStop="{x:Bind ViewModel.SomeUpdateSettingsAreGpoManaged, Mode=OneWay}" - Severity="Informational" /> + Severity="Informational"> + + + + + Severity="Informational"> + + + + From 00b56fcc47426450b1d0d6e173702a1fe220ad32 Mon Sep 17 00:00:00 2001 From: htcfreek <61519853+htcfreek@users.noreply.github.com> Date: Sun, 7 Jul 2024 13:18:10 +0200 Subject: [PATCH 04/24] fix cmdNotFound page --- .../SettingsXAML/Views/CmdNotFoundPage.xaml | 34 ++++++++++++++----- .../Settings.UI/Strings/en-us/Resources.resw | 6 ++++ .../ViewModels/CmdNotFoundViewModel.cs | 19 ++++++----- 3 files changed, 43 insertions(+), 16 deletions(-) diff --git a/src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml b/src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml index c73f4b60ca3f..5c4a09a9c47f 100644 --- a/src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml +++ b/src/settings-ui/Settings.UI/SettingsXAML/Views/CmdNotFoundPage.xaml @@ -21,10 +21,20 @@ + + + + + @@ -34,7 +44,6 @@ @@ -49,13 +58,17 @@ AutomationProperties.AccessibilityView="Raw" Foreground="{ThemeResource SystemFillColorSuccessBrush}" Glyph="" /> - +