Closed Bug 1608925 Opened 4 years ago Closed 4 years ago

Personalization debugger component stub

Categories

(Firefox :: New Tab Page, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
Firefox 74
Tracking Status
firefox74 --- verified

People

(Reporter: thecount, Assigned: thecount)

References

Details

Attachments

(1 file)

Main goal of this is to just have a Personalization section in about:newtab#devtools-ds

Connect that to a state object in the reducer.

Have a pref for the personalization version to display in the debugger.

And have it able to toggle personalization version from 1 to 2 for the state object. The actual functionality for personalization 2 doesn't happen until https://bugzilla.mozilla.org/show_bug.cgi?id=1544922 This bug is just to connect the debugger with the pref for the version and toggle the pref from the debugger.

To test:

  1. Set browser.newtabpage.activity-stream.asrouter.devtoolsEnabled to true.
  2. Go to about:newtab#devtools-ds
  3. Scroll down to "Personalization"
  4. Click the toggle version button.

Expected: the pref browser.newtabpage.activity-stream.discoverystream.personalization.version should now be set to 2 and the debugger version listed in about:newtab#devtools-ds should also now show version 2.

Assignee: nobody → sdowne
Priority: -- → P1
Pushed by sdowne@getpocket.com:
https://hg.mozilla.org/integration/autoland/rev/af8850d24e15
Stub out Personalization reducer component and devtools. r=gvn

Updated it and just waiting on Lando

Flags: needinfo?(sdowne)
Pushed by sdowne@getpocket.com:
https://hg.mozilla.org/integration/autoland/rev/1b8159f941cb
Stub out Personalization reducer component and devtools. r=gvn
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74

I have verified that the "browser.newtabpage.activity-stream.discoverystream.personalization.version" pref value is successfully set to "2" afeter the "Enable V2 Personalization" button from the "about:newtab#devtools-ds" page is clicked. Verified with the latest Firefox Nightly (74.0a1 Build ID - 20200119213718) installed on Windows 10 x64, Mac 10.15.2, and Ubuntu 18.04 x64.

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

Attachment

General

Created:
Updated:
Size: