Closed Bug 2079542 Opened 1 month ago Closed 1 month ago

Use `useWidgetTelemetry` in the Weather widget

Categories

(Firefox :: New Tab Page, task, P4)

task
Points:
2

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: dgrant, Assigned: dgrant)

References

Details

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

Attachments

(1 external file)

Weather records telemetry events by hand, though other widgets already use useWidgetTelemetry. This moves its impression, load error and actions to the hook. The event fields stay the same, and the existing Weather tests pass unchanged.

Weather now uses useWidgetTelemetry for impressions, load errors and actions, like the other widgets. The event fields stay the same. It also records impressions when the widget appears after weather data loads, with a new test covering that case.

See Also: → 2079953
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: