Closed Bug 2089908 Opened 20 days ago Closed 14 days ago

Add a Nimbus feature that turns on custom widgets from Nightly Labs

Categories

(Firefox :: Widgets, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: nina-py, Assigned: nina-py)

References

(Blocks 4 open bugs)

Details

(Whiteboard: [hnt][hnt-wattle])

Attachments

(1 external file)

Add a Nimbus feature for custom widgets, so a Nightly Labs recipe can turn them on. It has one variable, enabled, which sets browser.widgets.generated.enabled on the user branch, as the Link previews feature does for browser.ml.linkPreview.enabled. A write to that pref from AI Controls then unenrols the user. Nimbus doesn't set extensions.widgets.generated.enabled, so writing it doesn't unenrol anyone.

Acceptance criteria:

  • Enrolling sets browser.widgets.generated.enabled and shows the Widget Studio panel in the sidebar.
  • Unenrolling clears the pref and hides the panel.
  • Tests check enrolling and unenrolling, and that Nimbus doesn't set extensions.widgets.generated.enabled.
  • The feature can land before the generated widgets provider does.
Blocks: 2089911
Blocks: 2089914
Blocks: 2089915
Status: NEW → ASSIGNED

A Nimbus feature for custom widgets has been added so that a Nightly
Labs recipe can turn them on. Its one variable, enabled, sets
browser.widgets.generated.enabled, which shows the Widget Studio
panel in the sidebar.

The variable sets the pref on the user branch, so a write to the pref
from AI Controls unenrols the user.

The new test enrols in the feature and checks that the Widget Studio
tool appears, then unenrols and checks that it's hidden again.

Blocks: 2091267
Status: ASSIGNED → RESOLVED
Closed: 14 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: