Closed Bug 2091267 Opened 18 days ago Closed 11 days ago

Show a callout on Widget Studio after opting in to custom widgets in Nightly Labs

Categories

(Firefox :: Widgets, enhancement)

enhancement

Tracking

()

RESOLVED WONTFIX

People

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

References

(Blocks 1 open bug)

Details

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

Attachments

(1 obsolete file)

When someone turns on custom widgets in Nightly Labs, show a feature callout on the Widget Studio button in the sidebar, inviting them to create a widget. It appears once, when browser.widgets.generated.enabled is set by the Nimbus feature from bug 2089908, and "Create widget" opens the Widget Studio panel. The copy and the illustration come from the Figma frame: https://www.figma.com/design/NbCtOQ1cYuEnIYsgWiTyZZ/HNT--Explorations?node-id=2712-6662&m=dev

The strings go in browser/locales-preview/widgets.ftl until the final copy arrives in early December.

Acceptance criteria:

  • Turning on custom widgets in Labs shows the callout on the Widget Studio button, without a restart.
  • The callout has the illustration, title, body and "Create widget" button from the Figma frame, and a close button.
  • "Create widget" opens the Widget Studio panel and closes the callout.
  • The callout appears once: closing it, or choosing "Create widget", means it doesn't come back.
  • It doesn't appear while the Widget Studio button is hidden, for example while custom widgets are blocked in AI Controls.
  • A test checks that the callout appears when the pref is set and that "Create widget" opens the panel.

When someone turns on custom widgets in Nightly Labs, a callout now
points at the Widget Studio button in the sidebar and invites them to
create a widget. "Create widget" opens the Widget Studio panel.

The callout shows once, straight away and without a restart. It doesn't
show when the Widget Studio button isn't available: the sidebar is
hidden, or custom widgets are blocked in AI Controls. Unblocking them
shows the callout if it hasn't shown yet.

Closing this as WONTFIX. The callout won't land in the tree. OMC advised delivering it through Experimenter instead, since a recipe can be switched off remotely and run as an experiment, and a message in the tree can't. The image is now in Remote Settings (ms-images), so there is nothing left to land.

The recipe is in https://bugzilla.mozilla.org/show_bug.cgi?id=2089914#c2. I tested it locally with the snippet attached there.

Final strings and localisation will be tracked in bug 2093899.

Status: ASSIGNED → RESOLVED
Closed: 11 days ago
Resolution: --- → WONTFIX
Attachment #9679194 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: