Add a Nimbus feature that turns on custom widgets from Nightly Labs
Categories
(Firefox :: Widgets, enhancement)
Tracking
()
| 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.enabledand 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.
Updated•20 days ago
|
| Assignee | ||
Updated•20 days ago
|
| Assignee | ||
Comment 1•18 days ago
|
||
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.
Comment 3•14 days ago
|
||
| bugherder | ||
Description
•