Bug 2012779 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Remove the following events, in favor of broader widget events, that include the widget name. 

- widgets_lists_user_event
- widgets_lists_impression
- widgets_lists_change_display
- widgets_timer_user_event
- widgets_timer_impression
- widgets_timer_change_display
- widgets_timer_toggle_notification

Full code snippet: https://searchfox.org/firefox-main/source/browser/components/newtab/metrics.yaml#1020-1170

**NOTE: Do not remove this until DS signs-off on new events. (Expect this to happen 2-3 releases after https://bugzilla.mozilla.org/show_bug.cgi?id=2010597 ships**
Remove the following events, in favor of broader widget events, that include the widget name. 

- widgets_lists_user_event
- widgets_lists_impression
- widgets_lists_change_display
- widgets_timer_user_event
- widgets_timer_impression
- widgets_timer_change_display
- widgets_timer_toggle_notification
- weather_change_display
- weather_enabled
- weather_open_provider_url
- weather_impression
- weather_load_error
- weather_location_selected
- weather_opt_in_selection
- weather_detect_location

Full code snippets: 
- https://searchfox.org/firefox-main/source/browser/components/newtab/metrics.yaml#1020-1170
- https://searchfox.org/firefox-main/source/browser/components/newtab/metrics.yaml#423-575

**NOTE: Do not remove this until DS signs-off on new events. (Expect this to happen 2-3 releases after https://bugzilla.mozilla.org/show_bug.cgi?id=2010597 ships**
Remove the following events, in favor of broader widget events, that include the widget name. 

- widgets_lists_user_event
- widgets_lists_impression
- widgets_lists_change_display
- widgets_timer_user_event
- widgets_timer_impression
- widgets_timer_change_display
- widgets_timer_toggle_notification
- weather_change_display
- weather_enabled
- weather_open_provider_url
- weather_impression
- weather_load_error
- weather_location_selected
- weather_opt_in_selection
- weather_detect_location

Full code snippets: 
- https://searchfox.org/firefox-main/source/browser/components/newtab/metrics.yaml#1020-1170
- https://searchfox.org/firefox-main/source/browser/components/newtab/metrics.yaml#423-575

There also actions, logic and more to be removed:

Examples:
- TelemetryFeed.sys.mjs
  - [`handleWidgetsUserEvent()`](https://searchfox.org/firefox-main/source/browser/extensions/newtab/lib/TelemetryFeed.sys.mjs#1424-1451)
  - [`handleWeatherUserEvent()`](https://searchfox.org/firefox-main/source/browser/extensions/newtab/lib/TelemetryFeed.sys.mjs#1714-1752)

**NOTE: Do not remove this until DS signs-off on new events. (Expect this to happen 2-3 releases after https://bugzilla.mozilla.org/show_bug.cgi?id=2010597 ships**

Back to Bug 2012779 Comment 0