[Settings]New Landing Page Experimentation (#22365)

Co-authored-by: Sophia Chen <sophia.six.chen@gmail.com>
Co-authored-by: Niels Laute <niels.laute@live.nl>
Co-authored-by: Sophia Chen <sophchen@microsoft.com>
This commit is contained in:
Sophia Chen
2023-02-14 18:38:53 -08:00
committed by GitHub
parent 44e28886d7
commit df521b4c9b
42 changed files with 1181 additions and 12 deletions

View File

@@ -49,12 +49,16 @@ namespace Microsoft.PowerToys.Settings.UI.Library
[JsonPropertyName("download_updates_automatically")]
public bool AutoDownloadUpdates { get; set; }
[JsonPropertyName("enable_experimentation")]
public bool EnableExperimentation { get; set; }
public GeneralSettings()
{
Startup = false;
IsAdmin = false;
IsElevated = false;
AutoDownloadUpdates = false;
EnableExperimentation = true;
Theme = "system";
SystemTheme = "light";
try

View File

@@ -0,0 +1,21 @@
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics.Tracing;
using Microsoft.PowerToys.Telemetry;
using Microsoft.PowerToys.Telemetry.Events;
namespace Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events
{
[EventData]
public class OobeVariantAssignmentEvent : EventBase, IEvent
{
public string AssignmentContext { get; set; }
public string ClientID { get; set; }
public PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServiceUsage;
}
}