Closed
Bug 1357026
Opened 8 years ago
Closed 8 years ago
Should let user able to sign in to a Firefox account in the Firefox Sync tour
Categories
(Firefox :: General, defect, P1)
Firefox
General
Tracking
()
VERIFIED
FIXED
Firefox 56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: Fischer, Assigned: rexboy)
References
Details
(Whiteboard: [photon-onboarding] )
Attachments
(1 file)
Should let user able to sing-in an Firefox account in the Firefox Sync tour
Reporter | ||
Updated•8 years ago
|
Whiteboard: [photon-onboarding]
Updated•8 years ago
|
Priority: -- → P2
Target Milestone: --- → Firefox 57
Assignee | ||
Updated•8 years ago
|
Priority: P2 → P1
Target Milestone: Firefox 57 → Firefox 56
Updated•8 years ago
|
Flags: qe-verify+
QA Contact: jwilliams
Updated•8 years ago
|
Assignee: nobody → rexboy
Status: NEW → ASSIGNED
Comment 1•8 years ago
|
||
As discussed yesterday UX come up with a new design contain the email input, and populate the real sign-up form with it.
We can fill the email section in about:accounts without any server-side change, ex:
about:accounts?action=signup&entrypoint=preferences&email=xxx@ddd.com
UITour seems support open about:accounts as well. But can we do those in remote=true window?
@rex could you help check those feasibility? We need to find out if we can do this way so UX can provide the spec ASAP
Flags: needinfo?(rexboy)
Assignee | ||
Comment 2•8 years ago
|
||
See bug 1357023 comment 14.
Feasible with a few line changes on UITour-lib.js and UITour.jsm but we need to check with reviewers.
Flags: needinfo?(rexboy)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8878073 -
Flags: review?(MattN+bmo)
Assignee | ||
Comment 4•8 years ago
|
||
See https://bugzilla.mozilla.org/attachment.cgi?id=8877008 for the latest sync tour's spec. (from bug 1354707 comment 25)
After user clicks next, we use UITour to open about:accounts in another window with email address pre-filled.
Assignee | ||
Updated•8 years ago
|
Attachment #8878073 -
Flags: review?(MattN+bmo) → review?(gijskruitbosch+bugs)
Assignee | ||
Comment 5•8 years ago
|
||
Matt seems to be very busy at this time.
Gijs would you help on reviewing this patch?
This patch adds a parameter in showFirefoxAccounts to enable us pre-fill email when opening about:accounts page. And it'll be used at onboarding sync tour's page later.
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8878073 [details]
Bug 1357026 - Open about:accounts with pre-filled email account from UITour.
https://reviewboard.mozilla.org/r/149490/#review154110
Attachment #8878073 -
Flags: review+
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8878073 [details]
Bug 1357026 - Open about:accounts with pre-filled email account from UITour.
https://reviewboard.mozilla.org/r/149490/#review154180
::: browser/components/uitour/UITour-lib.js:580
(Diff revision 1)
> + * Mozilla.UITour.showFirefoxAccounts(null, "foo@bar.com");
> */
> - Mozilla.UITour.showFirefoxAccounts = function(extraURLCampaignParams) {
> + Mozilla.UITour.showFirefoxAccounts = function(extraURLCampaignParams, email) {
> _sendEvent("showFirefoxAccounts", {
> extraURLCampaignParams: JSON.stringify(extraURLCampaignParams),
> + email: email
Nit: don't need to duplicate this.
::: browser/components/uitour/test/browser_UITour_sync.js:68
(Diff revision 1)
> });
>
> +add_UITour_task(async function test_firefoxAccountsValidParams() {
> + await gContentAPI.showFirefoxAccounts(null, "foo@bar.com");
> + await BrowserTestUtils.browserLoaded(gTestTab.linkedBrowser, false,
> + "about:accounts?action=signup&entrypoint=uitour&email=foo%40bar.com");
It would be nicer if all of these didn't depend on the order in which these params were added, but given that this is a pre-existing problem, we don't need to fix this here...
Also, these tests don't actually check anything directly, only by implication - failure would present as a timeout, which is unfortunate. It would be helpful if here and elsewhere in this file, we at least added some info() statements to indicate what we are waiting for, so that logs will show where the test stalled.
Attachment #8878073 -
Flags: review?(gijskruitbosch+bugs) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8878073 [details]
Bug 1357026 - Open about:accounts with pre-filled email account from UITour.
https://reviewboard.mozilla.org/r/149490/#review154180
> It would be nicer if all of these didn't depend on the order in which these params were added, but given that this is a pre-existing problem, we don't need to fix this here...
>
> Also, these tests don't actually check anything directly, only by implication - failure would present as a timeout, which is unfortunate. It would be helpful if here and elsewhere in this file, we at least added some info() statements to indicate what we are waiting for, so that logs will show where the test stalled.
Yeah, I’ve thought about allowing {email: foo@bar.com} in the first parameter, but seems in that way it need to couple the checking logic within promotion code’s one.
I just added some info() for tests waiting for browserLoaded(). Thanks for the suggestion!
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Comment 10•8 years ago
|
||
Though I did like the 'singing' variation, let's update the summary so we can find it later. ;-)
Summary: Should let user able to sing-in an Firefox account in the Firefox Sync tour → Should let user able to sign in to a Firefox account in the Firefox Sync tour
Comment 11•8 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/ec461d56ce3a
Open about:accounts with pre-filled email account from UITour. r=Gijs,MattN
Keywords: checkin-needed
Comment 12•8 years ago
|
||
bugherder |
Assignee | ||
Comment 13•8 years ago
|
||
For verifying, since this patch contains no user interface, I guess we can test it only until bug 1357023 lands.
Comment 15•8 years ago
|
||
I've managed to reproduce this bug on Nightly 55.0a1 (2017-04-17) (64-bit) from Linux x64!
This issue is now verified as fixed on Latest Firefox Nightly 56.0a1 (2017-07-06) (64-bit)
Build ID: 20170706130309
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
OS: Linux 4.8.0-58-generic
QA Whiteboard: [bugday-20170705]
You need to log in
before you can comment on or make changes to this bug.
Description
•