Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Shield Studies Utils as Embedded Web Extension #45

Closed
groovecoder opened this issue Oct 18, 2016 · 7 comments
Closed

Shield Studies Utils as Embedded Web Extension #45

groovecoder opened this issue Oct 18, 2016 · 7 comments

Comments

@groovecoder
Copy link
Member

Web Extensions are the future!

  • jpm and Jetpack are going away ...
  • web-ext enables a very nice development workflow with file-watching and live-reloading built in
  • Web Extension APIs are cross-browser so a study could theoretically be done in Chrome & Opera as well

But Web Extensions have some draw-backs ...

We should work out a shield study template that leverages web extensions, addresses the telemetry & prefs challenges, and integrates the shield plumbing for splitting users up into cohorts for variate analysis.

@groovecoder
Copy link
Member Author

To get started, I may just fork & branch from https://github.com/johngruen/shield-template to see if I can just get a basic web extensions code-base integrated.

@gregglind
Copy link
Contributor

This is an awesome idea!

I think this is A Project, and I want to find all blockers and eliminate them.

I see these issues as possibly blocking changeover. Educate me as these become possible.

  1. prefs (as study storage / persistence)
  2. telemetry (both for sending packets AND making sure the user has an id)
  3. knowing the 'phase of install'
  4. self-uninstalling of addon (and recording it before the addon dies)
  5. opening tabs (for survey) WITH PROFILE INFO.

Fwiw, once a system addon for launching these lands, web-ex sounds like the right thing :) 2017-q1

@gregglind gregglind added this to the web-extensions milestone Oct 18, 2016
@gregglind
Copy link
Contributor

I doing think you mean that repo! That is for static amo consent pages!

On Tue, Oct 18, 2016 at 2:10 PM, luke crouch [email protected]
wrote:

To get started, I may just fork & branch from
https://github.com/johngruen/shield-template to see if I can just get a
basic web extensions code-base integrated.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#45 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKAj9CNJKrF8hgrJewLfZL1Oz1dTAaRks5q1TXOgaJpZM4KaSk7
.

@motin
Copy link
Contributor

motin commented Feb 27, 2018

Update on this issue:
The official template has been sporting a hybrid legacy add-on / web extension workflow for quite a while now, but it still requires messaging between the web extension and legacy add-on code to workaround the limitations of the web extension apis. A first step is to remove the need for this messaging and instead craft web extension apis to remove need for legacy code for common study operations.

@gregglind gregglind changed the title Create a Web Extensions template for Shield Studies Shield Studies Utils as Embedded Web Extension Apr 2, 2018
@motin
Copy link
Contributor

motin commented Apr 6, 2018

Good news on this issue - this is finally happening as part of version 5 and is being tracked by mozilla/shield-studies-addon-template#53 (Also related: mozilla/shield-studies-addon-template#55, #114 and the v5-label in general when browsing issues)

@motin motin added the v5 label Apr 6, 2018
@motin
Copy link
Contributor

motin commented Apr 6, 2018

@gregglind gregglind changed the title from Create a Web Extensions template for Shield Studies to Shield Studies Utils as Embedded Web Extension 4 days ago

My comment above is related to creating a web extensions template for shield studies. We are dropping the idea of embedding web extensions in legacy add-ons. Revert the renaming of the issue?

@motin
Copy link
Contributor

motin commented Jun 13, 2018

This is fixed with utils v5 which has now landed in master (#197)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants