Enable the What's New UI when pref is enabled
Categories
(Firefox :: Messaging System, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | verified |
People
(Reporter: rrosario, Assigned: rrosario)
References
Details
(Keywords: github-merged)
Attachments
(1 file)
This is a followup to Bug 1561307 (pref) and Bug 1561345 (UI).
When the pref is enabled, we should enable the UI for the What's New panel and buttons. This will be done in a new ToolbarPanelHub
module that hooks into ASRouter (similar to BookmarkPanelHub
. When enabling, we also need to attach the FTL files and add the l10n attributes to the elements.
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Comment 3•5 years ago
|
||
I have verified that setting the "browser.messaging-system.whatsNewPanel.enabled" pref to true will trigger the appearance of the What's New toolbar button on the latest Nightly 70.0a1 (Build ID 20190714214027) on Windows 10, macOS 10.14, and Arch Linux 14.4.3.
However, you need to have two more prefs set in order to trigger it for testing purposes browser.newtabpage.activity-stream.asrouter.devtoolsEnabled
to true
and browser.newtabpage.activity-stream.asrouter.providers.panel_local_testing
to {"id":"panel_local_testing", "cohort": "SHOW_TEST"}
.
Description
•