[VCM] introduce EOL warning infobar (#21474)

* [VCM] introduce EOL warning infobar

* Update src/settings-ui/Settings.UI/Strings/en-us/Resources.resw

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>

* Update src/settings-ui/Settings.UI/Strings/en-us/Resources.resw

Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>

* Update severity

Co-authored-by: Heiko <61519853+htcfreek@users.noreply.github.com>
Co-authored-by: Niels Laute <niels.laute@live.nl>
Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>
This commit is contained in:
Andrey Nekrasov
2022-10-27 17:03:30 +03:00
committed by GitHub
parent a63288009a
commit c6d31ccbe7
2 changed files with 21 additions and 0 deletions

View File

@@ -2131,6 +2131,12 @@ From there, simply click on one of the supported files in the File Explorer and
<data name="FancyZones_Zone_Appearance.Header" xml:space="preserve">
<value>Zone appearance</value>
</data>
<data name="VideoConference_DeprecationWarning.Title" xml:space="preserve">
<value>Video Conference utility is reaching its end of life and will be unavailable in one of the future releases.</value>
</data>
<data name="VideoConference_DeprecationWarningButton.Content" xml:space="preserve">
<value>Learn more</value>
</data>
<data name="VideoConference_RunAsAdminRequired.Title" xml:space="preserve">
<value>You need to run as administrator to modify these settings.</value>
</data>

View File

@@ -19,6 +19,21 @@
<StackPanel Orientation="Vertical">
<InfoBar
Severity="Error"
x:Uid="VideoConference_DeprecationWarning"
IsOpen="True"
IsTabStop="True"
IsClosable="False">
<InfoBar.ActionButton>
<HyperlinkButton
x:Uid="VideoConference_DeprecationWarningButton"
Style="{StaticResource TextButtonStyle}"
NavigateUri="https://github.com/microsoft/PowerToys/issues/21473"
HorizontalAlignment="Right" />
</InfoBar.ActionButton>
</InfoBar>
<controls:Setting x:Uid="VideoConference_Enable" IsEnabled="{ Binding Mode=OneWay, Path=CanUserChangeEnabledState }">
<controls:Setting.Icon>
<BitmapIcon UriSource="ms-appx:///Assets/FluentIcons/FluentIconsVideoConferenceMute.png" ShowAsMonochrome="False" />