Skip to content

Commit 318873a

Browse files
committed
Adding new advanced target to select users who have Smart Window enabled and completed its first run onboarding
1 parent 1c78b75 commit 318873a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

experimenter/experimenter/targeting/constants.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4180,6 +4180,20 @@ def __post_init__(self):
41804180
application_choice_names=(Application.DESKTOP.name,),
41814181
)
41824182

4183+
SMART_WINDOW_ONBOARDING_COMPLETE = NimbusTargetingConfig(
4184+
name="Smart Window enabled and onboarding complete",
4185+
slug="smart_window_onboarding_complete",
4186+
description="Smart Window is enabled and user has completed its onboarding",
4187+
targeting=(
4188+
"'browser.smartwindow.enabled' | preferenceValue && "
4189+
"'browser.smartwindow.firstrun.hasCompleted' | preferenceValue"
4190+
),
4191+
desktop_telemetry="",
4192+
sticky_required=False,
4193+
is_first_run_required=False,
4194+
application_choice_names=(Application.DESKTOP.name,),
4195+
)
4196+
41834197

41844198
class TargetingConstants:
41854199
TARGETING_CONFIGS = {

0 commit comments

Comments
 (0)