Set up boilerplate Picture of the Day widget (prefs/basic UI)
Categories
(Firefox :: New Tab Page, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: maxx, Assigned: dgrant)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Registers a new New Tab "Picture of the day" widget: the registry entry, the
three widget prefs, the component, and the customize-panel + about:preferences
toggles. It renders the "hidden picture" fallback state - a CSS sunrise gradient
with the context menu, an eye button, and a hover-revealed empty-state message.
The actual picture, localized description, set-as-wallpaper, and dismiss/restore
behaviors arrive with the Merino feed (Bug 2050976) and the follow-ups (Bug
2050975 / 2050973 / 2050972). For now the "Manage wallpaper" and "Hide today's
picture" context-menu items and the eye button are present but only emit
telemetry. The "small" size is deferred (Bug 2050970).
Telemetry uses the shared useWidgetTelemetry hook (generic widgets_* events; no
metrics.yaml change). Stacks on the strings patch (Bug 2050971 / D309659).
Risk: gated behind widgets.system.enabled (off by default) and Nova; no change
to existing widgets. Regenerated css/activity-stream.css and
data/content/activity-stream.bundle.js are included.
Validation: ./mach lint (clean), newtab jest (PictureOfTheDay 7/7 and the
WidgetsRegistry order arrays), and manual about:newtab with the widget prefs +
nova.enabled.
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Comment 4•2 months ago
|
||
Comment 6•2 months ago
|
||
| bugherder | ||
Updated•1 month ago
|
Description
•