WIP feat(client): complete on fennec #4370
Conversation
|
One question I had when I saw this demo was around PII handling. IIUC this will technically share your email address with our SMS provider, if they wanted to go looking for it in the links we're sending out. If so then we should parallelize and seek data-approval at the same time as we're working on the code here. (I'm having flashbacks to Gravatar where we had to add a permission box to even send them the hash of your email address) |
b02ac05
to
96bca69
|
The title was misnamed, this is only "open verification link in fennec and allow the user to sign in". SMS is a much larger project that will not be part of this PR. We are developing this portion independently so that it can merge w/o being blocked on SMS work. |
2dae1dc
to
50d4736
|
|
||
| <form novalidate> | ||
| <div class="button-row"> | ||
| <a class="button" href="{{{ escapedSignInUrl }}}">{{#unsafeTranslate}}Continue →{{/unsafeTranslate}}</a> |
vladikoff
Nov 4, 2016
Contributor
please add a class or an id to this button
please add a class or an id to this button
b25a462
to
414f408
e2b90b1
to
a6b4318
| assert.equal(resultText, expected); | ||
| }) | ||
| .end(); | ||
| .then(testAttributeEquals(selector, href, expected)); |
vladikoff
Nov 7, 2016
Contributor
👍 niiice
f84ca31
to
5b1319d
5b1319d
to
048eca7
|
#4395 landed so we can now use UAP for this |
426f0fe
to
41abd42
|
@shane-tomlinson is this waiting for the feature doc phase 1? |
It's waiting on that, and on time from me. I'm pulling parts out of this to merge independently, will have a PR later. |
41abd42
to
2a5369a
ebbe93e
to
265a926
What is the resolution? It looks like it's hitting the "@media (max-width: 520px), (orientation: landscape) and (min-width: 481px) and (max-height: 480px) {" media query which is meant for mobile phones in landscape mode, that's how the I'm not sure what the best approach here is. I'm tempted to say "that's fine for mobile." Throwing this PR up on stomlinson.dev.lcip.org to try on my iPad 2 to see how it responds on a real tablet in landscape mode. |
This is an extraction from #4370 to make both simpler to review. For that PR, we need to be able to configure which app store logos are displayed to the user. This allows us to do so. The marketing-mixin module, instead of returning a mixin, returns a function that must be called with configuration options, the function returns the actual mixin. The marketing_snippet module allows two additional configuration options: * `marketingId` is the id used to log impressions and clicks * `which` forces specific logo(s) to be displayed. If not specified, uses default behavior. The Adjust links are extracted into Constants.js and shared between marketing_snippet.js and settings/clients.js. base.js->getSearchParam has been added to fetch a single search parameter. Add `isFirefoxAndroid`, `isFirefoxIos` and `isFirefoxDesktop` to user-agent.
856ddd4
to
237fe44
This is an extraction from #4370 to make both simpler to review. For that PR, we need to be able to configure which app store logos are displayed to the user. This allows us to do so. The marketing-mixin module, instead of returning a mixin, returns a function that must be called with configuration options, the function returns the actual mixin. The marketing_snippet module allows two additional configuration options: * `marketingId` is the id used to log impressions and clicks * `which` forces specific logo(s) to be displayed. If not specified, uses default behavior. The Adjust links are extracted into Constants.js and shared between marketing_snippet.js and settings/clients.js. base.js->getSearchParam has been added to fetch a single search parameter. Add `isFirefoxAndroid`, `isFirefoxIos` and `isFirefoxDesktop` to user-agent.
237fe44
to
a75a880
This is an extraction from #4370 to make both simpler to review. For that PR, we need to be able to configure which app store logos are displayed to the user. This allows us to do so. The marketing-mixin module, instead of returning a mixin, returns a function that must be called with configuration options, the function returns the actual mixin. The marketing_snippet module allows two additional configuration options: * `marketingId` is the id used to log impressions and clicks * `which` forces specific logo(s) to be displayed. If not specified, uses default behavior. The Adjust links are extracted into Constants.js and shared between marketing_snippet.js and settings/clients.js. base.js->getSearchParam has been added to fetch a single search parameter. Add `isFirefoxAndroid`, `isFirefoxIos` and `isFirefoxDesktop` to user-agent.
This is an extraction from #4370 to make both simpler to review. For that PR, we need to be able to configure which app store logos are displayed to the user. This allows us to do so. The marketing-mixin module, instead of returning a mixin, returns a function that must be called with configuration options, the function returns the actual mixin. The marketing_snippet module allows two additional configuration options: * `marketingId` is the id used to log impressions and clicks * `which` forces specific logo(s) to be displayed. If not specified, uses default behavior. The Adjust links are extracted into Constants.js and shared between marketing_snippet.js and settings/clients.js. base.js->getSearchParam has been added to fetch a single search parameter. Add `isFirefoxAndroid`, `isFirefoxIos` and `isFirefoxDesktop` to user-agent.
…#4519) r=@vladikoff This is an extraction from #4370 to make both simpler to review. For that PR, we need to be able to configure which app store logos are displayed to the user. This allows us to do so. The marketing-mixin module, instead of returning a mixin, returns a function that must be called with configuration options, the function returns the actual mixin. The marketing_snippet module allows two additional configuration options: * `marketingId` is the id used to log impressions and clicks * `which` forces specific logo(s) to be displayed. If not specified, uses default behavior. The Adjust links are extracted into Constants.js and shared between marketing_snippet.js and settings/clients.js. base.js->getSearchParam has been added to fetch a single search parameter. Add `isFirefoxAndroid`, `isFirefoxIos` and `isFirefoxDesktop` to user-agent.
483b1fe
to
b0eb8ad
Allows users who open the verification link on a different Firefox to sign in, or if they open the link on the same device or a non-Firefox, show links to an app store to install. This is a squash of work done by both @vladikoff and I. fixes #4372
Only Fennec > 43 supports web channel Sync login.
A user is only eligible to see the "connect another device" screen if a different user is not already signed in. Log if users are already signed in.
Users that are signed in see "This device is connected" Users that are not signed in see "Email verified"
b0eb8ad
to
6b3c4cd
…ent. A lot of content was accidentally deleted in #4370, this brings back the content.
…ent. A lot of content was accidentally deleted in #4370, this brings back the content.
…ent. A lot of content was accidentally deleted in #4370, this brings back the content.
…ent. (mozilla#4593) r=vladikoff A lot of content was accidentally deleted in mozilla#4370, this brings back the content.

Builds on #4395
Fixes #4372