This system addon notifies users that they are out of date via a doorhanger in the browser
Перейти к файлу
Stephen A Pohl c7322eaf83
Merge pull request #11 from Mozilla-GitHub-Standards/master
Add Mozilla Code of Conduct
2019-04-03 11:58:28 -04:00
addon/outofdate-notifications@mozilla.org Pontoon: Update Acholi (ach) localization of Firefox Out-of-date Add-on 2017-03-04 10:10:40 +00:00
CODE_OF_CONDUCT.md See PR for details 2019-03-29 14:59:54 -07:00
LICENSE Initial commit 2016-06-27 15:54:38 -04:00
README.md Fix indentation of README.md 2016-08-09 09:25:10 -04:00

README.md

outofdate-notifications-system-addon

This system addon notifies users that they are out of date via a doorhanger notification in the browser.

Telemetry

This addon sends telemetry pings when it starts, when the doorhanger is shown, and when the button in the doorhanger linking to the download page is clicked. A maximum of three pings (one for each event) is sent per browser session.

The structure of these pings is a JSON object fitting the common ping format with the ping type set to "outofdate-notifications-system-addon" and payload data in this form:

{
  event: "started"|"shown"|"clicked"
}

The event can be one of the following:

"started": Indicates when the addon has started up.
"shown"  : Indicates when the doorhanger notification has been shown.
"clicked": Indicates when the button linking to the download page has been
           clicked.

The optional environment data from the common ping format is not included, but the optional client ID is included, so that these pings can be correlated with other telemetry.

These pings will not be sent if telemetry is disabled.

Build, Test & Release

Refer to https://wiki.mozilla.org/Firefox/Go_Faster/Releasing_an_add-on_mechanics for the latest instructions.