Closed
Bug 2078839
Opened 1 month ago
Closed 27 days ago
Add the game widget scaffold
Categories
(Firefox :: New Tab Page, task)
Firefox
New Tab Page
Tracking
()
RESOLVED
FIXED
160 Branch
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: gharp, Assigned: rhamoui)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [hnt][hnt-wattle])
Attachments
(1 external file)
A partner is supplying a game for the New Tab widget row, delivered as a Mozilla-hosted iframe bundle served through Merino. The game is played in a modal over New Tab, not inside the card (proof of concept in bug 2074718). Add the Firefox-side scaffold so the integration work has a container to land in. Follows the Recent Searches scaffold in bug 2065011.
AC:
- Registry entry in
WIDGET_REGISTRY(common/WidgetsRegistry.mjs) with atelemetryNameandorder; component added toWIDGET_ROW_COMPONENTS - Pref constants exported and registered in
lib/ActivityStream.sys.mjs:enabledPrefdefaulting to off,sizePref, andsystemEnabledPref - Strings (title, Customize Panel toggle, menu label) land in bug 2078835; this bug depends on it
- Medium (4x2) and Large (4x4) sizes available through the existing size submenu; movable through
MoveSubmenu - Toggle in the Customize Panel; the about:preferences#home row comes from the registry as for every other widget
- Empty card uses the standard widget header and context menu (change size, move, hide, learn more); menu button labeled "Open [widget name] menu"; spacing from design tokens
<h2>accessible name normalized throughWidgetWrapper.jsx, not hardcoded English- Stubbed feed broadcasts an empty result set so the parent to content data path is wired end to end
Out of scope, all follow-ups: iframe loading and usePageVisible gating, the modal play surface (bug 2074718), the Merino bundle endpoint and trainhopConfig resolution, the trainhop enablement and size keys, and the region/locale control.
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
Assignee: nobody → rhamoui
Status: NEW → ASSIGNED
Pushed by rhamoui@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/60a601d30765
https://hg.mozilla.org/integration/autoland/rev/ba6c76175a74
Add Solitaire widget scaffold. r=fluent-reviewers,Dre,bolsson
Comment 3•27 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 27 days ago
status-firefox160:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
Updated•18 days ago
|
QA Whiteboard: [qa-triage-done-c161/b160]
Updated•9 days ago
|
Blocks: hnt-widget-solitaire
You need to log in
before you can comment on or make changes to this bug.
Description
•