2022-11-23 19:57:09 +01:00
|
|
|
<Page
|
|
|
|
|
x:Class="Microsoft.PowerToys.Settings.UI.OOBE.Views.OobeOverview"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
2024-01-12 18:01:40 +01:00
|
|
|
xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
2022-11-23 19:57:09 +01:00
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2024-10-24 22:04:32 +02:00
|
|
|
xmlns:tkcontrols="using:CommunityToolkit.WinUI.Controls"
|
|
|
|
|
xmlns:ui="using:CommunityToolkit.WinUI"
|
2022-11-23 19:57:09 +01:00
|
|
|
mc:Ignorable="d">
|
2021-03-02 20:56:37 +03:00
|
|
|
|
2024-01-26 17:12:33 +01:00
|
|
|
<controls:OOBEPageControl x:Uid="Oobe_Overview" HeroImage="ms-appx:///Assets/Settings/Modules/OOBE/PTHero.png">
|
2024-01-12 18:01:40 +01:00
|
|
|
<controls:OOBEPageControl.PageContent>
|
2024-01-03 14:42:12 +01:00
|
|
|
<StackPanel Orientation="Vertical" Spacing="12">
|
|
|
|
|
<StackPanel Orientation="Horizontal" Spacing="8">
|
2023-10-24 12:25:55 +02:00
|
|
|
<Button x:Uid="OOBE_Settings" Click="SettingsLaunchButton_Click" />
|
2024-01-03 14:42:12 +01:00
|
|
|
|
|
|
|
|
<HyperlinkButton NavigateUri="https://aka.ms/PowerToysOverview" Style="{StaticResource TextButtonStyle}">
|
|
|
|
|
<TextBlock x:Uid="Oobe_Overview_DescriptionLinkText" TextWrapping="Wrap" />
|
|
|
|
|
</HyperlinkButton>
|
2021-08-23 19:48:52 +02:00
|
|
|
</StackPanel>
|
2024-10-24 22:04:32 +02:00
|
|
|
|
2025-08-20 09:31:52 +08:00
|
|
|
<StackPanel Orientation="Vertical" Visibility="{x:Bind ShowDataDiagnosticsSetting, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}">
|
2024-10-24 22:04:32 +02:00
|
|
|
<TextBlock
|
|
|
|
|
x:Uid="Oobe_Overview_Telemetry_Title"
|
2025-08-20 09:31:52 +08:00
|
|
|
Margin="0,24,0,0"
|
|
|
|
|
Style="{StaticResource BodyStrongTextBlockStyle}" />
|
2024-10-24 22:04:32 +02:00
|
|
|
<TextBlock x:Uid="Oobe_Overview_Telemetry_Desc" Foreground="{ThemeResource TextFillColorSecondaryBrush}" />
|
|
|
|
|
|
|
|
|
|
<tkcontrols:SettingsCard
|
|
|
|
|
x:Uid="Oobe_Overview_EnableDataDiagnostics"
|
2025-08-20 09:31:52 +08:00
|
|
|
Margin="0,8,0,0"
|
2024-10-24 22:04:32 +02:00
|
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
|
|
|
|
IsEnabled="{x:Bind ShowDataDiagnosticsSetting, Mode=OneWay}">
|
2025-08-20 09:31:52 +08:00
|
|
|
<tkcontrols:SettingsCard.Description>
|
|
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
|
|
<TextBlock
|
|
|
|
|
x:Uid="GeneralPage_EnableDataDiagnosticsText"
|
|
|
|
|
Style="{StaticResource SecondaryTextStyle}"
|
|
|
|
|
TextWrapping="WrapWholeWords" />
|
|
|
|
|
<HyperlinkButton
|
|
|
|
|
x:Uid="GeneralPage_DiagnosticsAndFeedback_Link"
|
|
|
|
|
Margin="0,2,0,0"
|
|
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
NavigateUri="https://aka.ms/powertoys-data-and-privacy-documentation" />
|
|
|
|
|
<HyperlinkButton
|
|
|
|
|
x:Uid="Oobe_Overview_DiagnosticsAndFeedback_Settings_Link"
|
|
|
|
|
Margin="0,2,0,0"
|
|
|
|
|
Click="GeneralSettingsLaunchButton_Click"
|
|
|
|
|
FontWeight="SemiBold" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</tkcontrols:SettingsCard.Description>
|
2024-10-24 22:04:32 +02:00
|
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind EnableDataDiagnostics, Mode=TwoWay}" />
|
|
|
|
|
</tkcontrols:SettingsCard>
|
|
|
|
|
|
2025-08-20 09:31:52 +08:00
|
|
|
<!-- Show title and description only when there are conflicts -->
|
|
|
|
|
<TextBlock
|
|
|
|
|
x:Uid="Oobe_Overview_Hotkey_Conflict_Title"
|
|
|
|
|
Margin="0,24,0,8"
|
|
|
|
|
Style="{StaticResource BodyStrongTextBlockStyle}" />
|
2024-10-24 22:04:32 +02:00
|
|
|
|
2025-08-20 09:31:52 +08:00
|
|
|
<!-- Always show shortcut status card -->
|
|
|
|
|
<tkcontrols:SettingsCard Description="{x:Bind ConflictDescription, Mode=OneWay}" Header="{x:Bind ConflictText, Mode=OneWay}">
|
|
|
|
|
<tkcontrols:SettingsCard.HeaderIcon>
|
|
|
|
|
<FontIcon Foreground="{x:Bind IconForeground, Mode=OneWay}" Glyph="{x:Bind IconGlyph, Mode=OneWay}" />
|
|
|
|
|
</tkcontrols:SettingsCard.HeaderIcon>
|
|
|
|
|
<!-- Only show button when there are conflicts -->
|
|
|
|
|
<Button
|
|
|
|
|
x:Uid="ResolveConflicts_Button"
|
|
|
|
|
Click="ShortcutConflictBtn_Click"
|
|
|
|
|
Visibility="{x:Bind HasConflicts, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}" />
|
|
|
|
|
</tkcontrols:SettingsCard>
|
2024-10-24 22:04:32 +02:00
|
|
|
</StackPanel>
|
2021-03-02 20:56:37 +03:00
|
|
|
</StackPanel>
|
2024-01-12 18:01:40 +01:00
|
|
|
</controls:OOBEPageControl.PageContent>
|
|
|
|
|
</controls:OOBEPageControl>
|
|
|
|
|
</Page>
|