Skip to content

Commit 6d7aca6

Browse files
sfosterjaredlockhartdataops-ci-botyashikakhuranab4handjr
authored
Add advanced targeting for desktop users with 0 pinned tabs (#12960)
Because - We need to be able to target users who currently have 0 pinned tabs in their open windows. See [bugzilla 1971552](https://bugzilla.mozilla.org/show_bug.cgi?id=1971552) This commit - Adds targeting to only include `!hasPinnedTab` for desktop users. Fixes #12959 --------- Co-authored-by: Jared Lockhart <[email protected]> Co-authored-by: dataops-ci-bot <[email protected]> Co-authored-by: Yashika Khurana <[email protected]> Co-authored-by: Benjamin Forehand Jr <[email protected]> Co-authored-by: Daniel Thorn <[email protected]>
1 parent 898bde4 commit 6d7aca6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

experimenter/experimenter/targeting/constants.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2771,6 +2771,17 @@ def __post_init__(self):
27712771
application_choice_names=(Application.DESKTOP.name,),
27722772
)
27732773

2774+
NO_PINNED_TABS = NimbusTargetingConfig(
2775+
name="Users who have no pinned tabs",
2776+
slug="no_pinned_tabs_desktop",
2777+
description=("Targets users who have 0 pinned tabs in their open windows."),
2778+
targeting=("!hasPinnedTabs"),
2779+
desktop_telemetry="",
2780+
sticky_required=False,
2781+
is_first_run_required=False,
2782+
application_choice_names=(Application.DESKTOP.name,),
2783+
)
2784+
27742785
NON_SIDEBAR_USERS = NimbusTargetingConfig(
27752786
name="Users that have never used the sidebar",
27762787
slug="non_sidebar_users",

0 commit comments

Comments
 (0)