Closed Bug 1786646 Opened 2 years ago Closed 2 years ago

Add targeting in ASRouter for "colorways active" and "user has not set up colorways"

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
106 Branch
Iteration:
106.1 - Aug 22 - Sept 2
Tracking Status
firefox106 --- verified

People

(Reporter: mviar, Assigned: mviar)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We'll need to be able to target messages based on whether or not colorways are active in for the initial feature callout tour in about:firefoxview. We'll want to combine this with additional targeting for "user has not set up colorways" to target reminder callouts in bug 1786347.

Blocks: 1786647
Assignee: nobody → mviar
Attachment #9291386 - Attachment description: Bug 1786646 - Add targeting in ASRouter for "colorways active" and "user has not set up colorways" → Bug 1786646 - Add targeting in ASRouter for colorways active and user has active colorway enabled
Iteration: --- → 106.1 - Aug 22 - Sept 2
Priority: -- → P1
Attachment #9291386 - Attachment description: Bug 1786646 - Add targeting in ASRouter for colorways active and user has active colorway enabled → Bug 1786646 - Add targeting in ASRouter for "colorways active" and "user has not set up colorways"
Pushed by mviar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/500d9526b586 Add targeting in ASRouter for "colorways active" and "user has not set up colorways" r=pdahiya

Backed out for causing xpcshell failures test_backgroundtask_targeting.js

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | toolkit/components/backgroundtasks/tests/xpcshell/test_backgroundtask_targeting.js | test_targeting - [test_targeting : 16] 0 == 11
Flags: needinfo?(mviar)

Thanks for flagging Cristian, sorry I missed this in the try push. I've addressed the issue and will attempt to re-land after my change is reviewed.

Flags: needinfo?(mviar)
Blocks: 1787387
Pushed by mviar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6d6bf1928d4 Add targeting in ASRouter for "colorways active" and "user has not set up colorways" r=pdahiya,nalexander
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch

I have verfied this enhancement and I can confirm the following:

  • The "colorwaysActive" and the "userEnabledActiveColorway" targeting parameters are successfully displayed in the ASRouter page.
  • The "userEnabledActiveColorway" parameter is set to "true" if a colorway theme is enabled.
  • The "userEnabledActiveColorway" parameter is set to "false" if a default theme is enabled.

Verified using the latest Firefox Nightly (106.0a1 Build ID - 20220829094551) installed on Windows 10 x64, macOS 11.6.5, and Linux Mint 20.2 x64.

Also, I have observed that the "userEnabledActiveColorway" parameter has no value if a custom theme is enabled, however, I have logged a separate issue for this scenario (see Bug 1787783 )

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: