Closed Bug 1780429 Opened 2 years ago Closed 2 years ago

Display Pin Private Browsing Promo based off Pref

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
105 Branch
Iteration:
105.2 - Aug 8 - Aug 19
Tracking Status
firefox105 --- verified

People

(Reporter: pdahiya, Assigned: nsauermann)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In Fx105, we want to display pin promo on opening about:privatebrowsing when pref 'browser.promo.pin.enabled' is set to true.
Promotion will be showing 3 times a week (total lifetime 12) followed by Focus Promo with frequency 3 times a week(total lifetime 12).

To show/hide Pin promo based off pref 'browser.promo.pin.enabled' , we should move PB_NEWTAB_PIN_PROMO from PanelTestProvider.jsm to OnboardingMessageProvider.jsm and set 'browser.promo.pin.enabled' in firefox.js to false.

This will allow QA to test feature in Fx105 by flipping the pref

https://searchfox.org/mozilla-central/source/browser/components/newtab/lib/PanelTestProvider.jsm#665

Please note in Fx104 , Pin Promo can only be seen via Nimbus experiment such as
https://experimenter.services.mozilla.com/nimbus/pin-private-windows-to-taskbar

Summary: Rollout Pin Private Browsing Promo in 106 by default → Display Pin Private Browsing Promo in 105 behind pref
Summary: Display Pin Private Browsing Promo in 105 behind pref → Display Pin Private Browsing Promo
Summary: Display Pin Private Browsing Promo → Display Pin Private Browsing Promo based off Pref
Blocks: 1780486
Assignee: nobody → nsauermann
Iteration: --- → 105.1 - July 25 - Aug 5
Priority: -- → P1
Attachment #9286909 - Attachment description: Bug 1780429 - Display Pin Private Browsing Promo based off Pref WIP → Bug 1780429 - Display Pin Private Browsing Promo based off Pref

NI @venetia if there is visibility into by when we will have finalized strings which can be submitted for localization thanks!

Flags: needinfo?(vtay)

All the pin private windows strings are final! Figma is up-to-date!

Flags: needinfo?(vtay)
Attachment #9286909 - Attachment description: Bug 1780429 - Display Pin Private Browsing Promo based off Pref → Bug 1780429 - Display Pin Private Browsing Promo based off Pref WIP
Attachment #9286909 - Attachment description: Bug 1780429 - Display Pin Private Browsing Promo based off Pref WIP → Bug 1780429 - Display Pin Private Browsing Promo based off Pref
Attachment #9286909 - Attachment description: Bug 1780429 - Display Pin Private Browsing Promo based off Pref → Bug 1780429 - Display Pin Private Browsing Promo based off Pref WIP
Attachment #9286909 - Attachment description: Bug 1780429 - Display Pin Private Browsing Promo based off Pref WIP → Bug 1780429 - Display Pin Private Browsing Promo based off Pref
Attachment #9286909 - Attachment description: Bug 1780429 - Display Pin Private Browsing Promo based off Pref → Bug 1780429 - Display Pin Private Browsing Promo based off Pref WIP
Attachment #9286909 - Attachment description: Bug 1780429 - Display Pin Private Browsing Promo based off Pref WIP → Bug 1780429 - Display Pin Private Browsing Promo based off Pref
Attachment #9286909 - Attachment description: Bug 1780429 - Display Pin Private Browsing Promo based off Pref → Bug 1780429 - Display Pin Private Browsing Promo based off Pref WIP
Attachment #9286909 - Attachment description: Bug 1780429 - Display Pin Private Browsing Promo based off Pref WIP → Bug 1780429 - Display Pin Private Browsing Promo based off Pref
Attachment #9286909 - Attachment description: Bug 1780429 - Display Pin Private Browsing Promo based off Pref → Bug 1780429 - Display Pin Private Browsing Promo based off Pref WIP
Attachment #9286909 - Attachment description: Bug 1780429 - Display Pin Private Browsing Promo based off Pref WIP → Bug 1780429 - Display Pin Private Browsing Promo based off Pref
Pushed by nsauermann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c64e5592dc67 Display Pin Private Browsing Promo based off Pref r=pdahiya,flod

Backed out changeset c64e5592dc67 (bug 1780429) for causing xpc failures in toolkit/modules/tests/xpcshell/test_BrowserUtils.js

Backout link: https://hg.mozilla.org/integration/autoland/rev/3c1c16d99f7571fef4e487fbb95079d853a73bc0

Push with failures

Failure log

Flags: needinfo?(nsauermann)
Iteration: 105.1 - July 25 - Aug 5 → 105.2 - Aug 8 - Aug 19
Pushed by pdahiya@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9f8e174553dc Display Pin Private Browsing Promo based off Pref r=emcminn,flod
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
Flags: qe-verify?
Flags: needinfo?(nsauermann)

I‘ve verified this enhancement using the latest Firefox Nightly 105.0a1 (Build ID: 20220809213127) on Windows 10 x64, macOS 12.3.1, and Linux Mint 20.2 x64.

  • The “Pin Private Browsing” promo is displayed on “about:privatebrowsing” after flipping the “browser.promo.pin.enabled” pref to true.
  • The promo is displayed on three consecutive tabs followed by “Firefox Focus” promo. (if the “Pin Private Browsing” promo is not dismissed/pinned)
  • The “Pin Private Browsing” promo is shown 3 times a week (total lifetime 12) followed by the “Firefox Focus” promo which is also displayed 3 times a week (total lifetime 12).
  • Also, the “Pin Private Browsing” promo is not shown on macOS and Linux distros, and the “Firefox Focus” promo is displayed even if the “browser.promo.pin.enabled” pref is set to true.
Status: RESOLVED → VERIFIED
Flags: qe-verify?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: