JESTr Pioneer Shield Study Add-on
Перейти к файлу
Fredrik Wollsén b29a7219f2 Added npm link instructions to readme for developers to be able to try out the latest template 2018-04-25 09:36:30 -05:00
.circleci Fix #3: CircleCI 2017-11-15 19:57:16 -06:00
bin Updated the template to confirm to the latest shield-studies-addon-utils develop branch 2018-04-25 09:36:30 -05:00
dist Using dist/ as build output directory 2018-04-25 09:36:30 -05:00
docs Npm run format + linting 2018-04-25 09:36:30 -05:00
src Fix to event listener issue as per https://bugzilla.mozilla.org/show_bug.cgi?id=1451699#c1 2018-04-25 09:36:30 -05:00
test Updated functional tests to use the new test util namespaces in ssat 2018-04-25 09:36:30 -05:00
.eslintignore Updated the template to confirm to the latest shield-studies-addon-utils develop branch 2018-04-25 09:36:30 -05:00
.eslintrc.js Npm run format 2018-04-25 09:36:30 -05:00
.gitignore Updated the template to confirm to the latest shield-studies-addon-utils develop branch 2018-04-25 09:36:30 -05:00
LICENSE Added default license file to template 2018-03-09 23:23:16 +02:00
README.md Added npm link instructions to readme for developers to be able to try out the latest template 2018-04-25 09:36:30 -05:00
karma.conf.js Npm run format + linting 2018-04-25 09:36:30 -05:00
package-lock.json Updated package-lock.json 2018-04-25 09:36:30 -05:00
package.json Npm run script tweaks 2018-04-25 09:36:30 -05:00
web-ext-config.js Web ext verbose mode only for npm start 2018-04-25 09:36:30 -05:00

README.md

Shield Studies Add-On Template

CircleCI badge Coverage Status

Important notice

We are moving to WebExtensions

This is a work in progress branch for supporting a pure WebExtension workflow in this template.

The latest template depends on version 5 of shield-studies-addon-utils (also work in progress), so until it has been published via npm, you will need to check it out manually and use npm link:

git clone https://github.com/mozilla/shield-studies-addon-utils -b develop
cd shield-studies-addon-utils
npm link
cd ../shield-studies-addon-template # or wherever you have checked out this template repository
npm link shield-studies-addon-utils

Note: After the above, the template's modules/shield-studies-addon-utils folder will be a symlink to your locally checked out shield-studies-addon-utils repository.

About This Repository

This repository is intended as an example repository containing templates and good practices for creating a Shield Study add-on for Firefox.

This repository is based on WebExtensions, which are the way forward for extensions in Firefox.

Aims

The aim is to bring together tools and services we've used on other Shield Study add-ons (e.g. dataleak-pioneer-shield-study) into a template/example repository, so that new projects can come along and get a infrastructure together quickly, and be up and running with code, test suites, coverage etc quickly.

Documentation

It is intended that all parts of this repository have at least outline documentation. If you find any parts that are missing, please file an issue or create a PR.

Using this template

  1. Fork this repository, rename it to reflect your study. Make the repo end with -shield-study
  2. Make this README reflect your study (including removing all of this About This Repository section, keeping Seeing the add-on in action and below)
  3. Build your study add-on and make the docs reflect your study
  4. File issues/PRs against https://github.com/mozilla/shield-studies-addon-template/ when you come across things to improve in the template

Seeing the add-on in action

See TESTPLAN.md for more details on how to get the add-on installed and tested.

Data Collected / Telemetry Pings

Measure:

  • Button (BrowserAction) usage.

See TELEMETRY.md for more details on what pings are sent by this add-on.

Analyzing data

Telemetry pings are loaded into S3 and re:dash. Sample query:

Improving this add-on

See DEV.md for more details on how to work with this add-on as a developer.