Closed Bug 2051313 Opened 2 months ago Closed 2 months ago

Create devtools controls area for enabling/configuring widget

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: maxx, Assigned: maxx)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Should be able to:

  • Toggle visibility for widgets (system prefs)
  • Configure widget/Merino endpoints for staging/dev merino endpoints
  • Simple one-click revert/reset prefs for widgets to undo custom setups
Depends on: 2055304
Depends on: 2055306
Depends on: 2055307
Depends on: 2055312
Depends on: 2055314

Adds a "Widgets" section to the DiscoveryStreamAdmin devtools panel so widget system prefs can be flipped without hand-editing about:config:

  • A toggle for widgets.system.enabled.
  • A per-widget toggle for each widget's widgets.system.<name>.enabled, driven off WIDGET_REGISTRY, labelled from the widget id, and disabled while the main pref is off.
  • An "Enable all" / "Disable all" button that flips the system pref and every widget's system pref in a single SetMultiplePrefs transaction.
Assignee: nobody → mcrawford
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
QA Whiteboard: [qa-triage-done-c155/b154]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: