Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions experimenter/experimenter/targeting/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -4747,6 +4747,59 @@ def __post_init__(self):
)
)

WIDGETS_ANY_FOUR_ENGAGED = NimbusTargetingConfig(
name="Engaged with Sports/Clocks/Lists/Timer widget, that widget not disabled",
slug="widgets-any-four-engaged",
description=(
"Users who engaged with Sports, Lists, or Timer (interacted) or Clocks "
"(changed hour format, or added/removed/edited clocks), AND still have that "
"widget enabled. Clocks has no interaction pref, so customization is its "
"engagement signal."
),
targeting=(
"(("
"'browser.newtabpage.activity-stream.widgets.lists.interaction'"
"|preferenceValue) && ("
"'browser.newtabpage.activity-stream.widgets.lists.enabled'"
"|preferenceValue)) || (("
"'browser.newtabpage.activity-stream.widgets.focusTimer.interaction'"
"|preferenceValue) && ("
"'browser.newtabpage.activity-stream.widgets.focusTimer.enabled'"
"|preferenceValue)) || (("
"'browser.newtabpage.activity-stream.widgets.sportsWidget.interaction'"
"|preferenceValue) && ("
"'browser.newtabpage.activity-stream.widgets.sportsWidget.enabled'"
"|preferenceValue)) || ((("
"'browser.newtabpage.activity-stream.widgets.clocks.zones'"
"|preferenceValue) || ("
"'browser.newtabpage.activity-stream.widgets.clocks.hourFormat'"
"|preferenceValue)) && ("
"'browser.newtabpage.activity-stream.widgets.clocks.enabled'"
"|preferenceValue))"
),
desktop_telemetry="",
sticky_required=False,
is_first_run_required=False,
application_choice_names=(Application.DESKTOP.name,),
)

FX_153_3_TRAINHOP_WIDGETS_ANY_FOUR_ENGAGED = NimbusTargetingConfig(
name=(
"New Tab Fx153 Jun-05 Trainhop, engaged with any of 4 widgets, "
"that widget not disabled"
),
slug="widgets-any-four-engaged-153-0605-trainhop",
description=(
"Users having the New Tab 153.3.20260605.21338 train hop who engaged with the "
"Sports, Clocks, Lists, or Timer widget and still have that widget enabled"
),
targeting=f"{FX_153_3_TRAINHOP.targeting} && ({WIDGETS_ANY_FOUR_ENGAGED.targeting})",
desktop_telemetry="",
sticky_required=False,
is_first_run_required=False,
application_choice_names=(Application.DESKTOP.name,),
)

BUILDID_20251006095753 = NimbusTargetingConfig(
name="Build ID 20251006095753 or higher",
slug="buildid-20251006095753",
Expand Down
Loading