Closed Bug 1219259 Opened 9 years ago Closed 9 years ago

[TV Data Sync] There should be a pop-up window if a user signs in successfully

Categories

(Firefox OS Graveyard :: Gaia::TV::Browser, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:2.5+, b2g-v2.5 verified, b2g-master verified)

VERIFIED FIXED
FxOS-S11 (13Nov)
blocking-b2g 2.5+
Tracking Status
b2g-v2.5 --- verified
b2g-master --- verified

People

(Reporter: cynthiatang, Assigned: ferjm)

References

Details

(Whiteboard: [ft:conndevices][partner-cherry-pick])

Attachments

(2 files)

============== Gaia Information ==============
commit ed9f29f7da11370b7c9c4a9cf3d11139537539df
Merge: 70faabf 5df0f5a
Author: tamarahills <thills@mozilla.com>
Date:   Tue Oct 27 21:58:46 2015 -0400

STR:
 1. Launch Browser
 2. Sign in with Firefox account and password

Expected Result:
 - There is a window that shows "Sync enabled. Firefox will begin syncing bookmarks momentarily. You can choose what to sync in browser settings."
 - User can press OK/Enter  

Actual Result:
 - No pop-up window

Reference: [TV]FirefoxAccount_v0.5, page 7
QA Whiteboard: [COM= Data Sync]
Blocks: fxos-sync
Priority: P2 → P3
Target Milestone: --- → FxOS-S10 (30Oct)
QA Whiteboard: [COM= Data Sync] → [COM=TV Firefox Account]
Assignee: nobody → ferjmoreno
Target Milestone: FxOS-S10 (30Oct) → FxOS-S11 (13Nov)
Hi Tori,
The new string is "Success! Your Firefox Account is ready to go! In the future, you can access and manage your account from Settings.", right?
Flags: needinfo?(tchen)
Yes, that's right!
Flags: needinfo?(tchen)
When the user signs in we:

1. Open the settings panel.
2. Within the settings panel, we disable the 'Sync Now' button and show the 'Syncing...' label inside it

I think showing this pop up is not needed as we are already providing to the user enough feedback about Sync being enabled.

We could avoid showing the settings panel and show this pop-up instead. Or leave it the way it is now.

What do you think Tori?
Flags: needinfo?(tchen)
I think pop-up is more obvious than the "syncing" label, however, we also want to keep the process simple. So I have another idea - We show the pop-up, but when users press OK, just go back to previous browsing and sync in background. We can show a TV native toast when sync is finished.
Flags: needinfo?(tchen)
What's you thought Fernando?
Flags: needinfo?(ferjmoreno)
Do you mean that we should *only* show the pop-up and *not* automatically show the settings panel with the "syncing" label? That works for me.

Also, should this be a fullscreen popup or would a non invasive toast work as well? (I'd prefer the toast option).

I would also prefer to avoid showing the native toast when the synchronization is done, cause we have automatic synchronizations and that can happen at any time in the background. Showing a toast for every sync request completed might be too noisy.
Flags: needinfo?(ferjmoreno) → needinfo?(tchen)
(In reply to Fernando Jiménez Moreno [:ferjm] from comment #6)
> Do you mean that we should *only* show the pop-up and *not* automatically
> show the settings panel with the "syncing" label? That works for me.

Yes.

> Also, should this be a fullscreen popup or would a non invasive toast work
> as well? (I'd prefer the toast option).

I'd prefer the popup since there are some info on the popup we want to tell users :)

> I would also prefer to avoid showing the native toast when the
> synchronization is done, cause we have automatic synchronizations and that
> can happen at any time in the background. Showing a toast for every sync
> request completed might be too noisy.

Agreed. Can we show the sync-finished toast only for first time after they sign in? I don't have a strong opinion on either way works for me.
Flags: needinfo?(tchen) → needinfo?(ferjmoreno)
Blocks: 1223379
Flags: needinfo?(ferjmoreno)
Attachment #8690449 - Flags: review?(yliao)
Keywords: late-l10n
Keywords: late-l10n
Comment on attachment 8690449 [details] [review]
[gaia] ferjm:bug1219259.tv.sync.enabled.popup > mozilla-b2g:master

Thanks! LGTM.
Attachment #8690449 - Flags: review?(yliao) → review+
Status: NEW → ASSIGNED
blocking-b2g: --- → 2.5+
Keywords: late-l10n
https://github.com/mozilla-b2g/gaia/commit/1722c2f3e92b3853fe57189978af837d63bbd9a9
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment on attachment 8690449 [details] [review]
[gaia] ferjm:bug1219259.tv.sync.enabled.popup > mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): bug 1194108 
[User impact] if declined: No pop-up dialog after user sign-in
[Testing completed]: Tested on B2G desktop
[Risk to taking this patch] (and alternatives if risky): none
[String changes made]: yes
Attachment #8690449 - Flags: approval-gaia-v2.5?
Comment on attachment 8690449 [details] [review]
[gaia] ferjm:bug1219259.tv.sync.enabled.popup > mozilla-b2g:master

Approve for TV 2.5
Attachment #8690449 - Flags: approval-gaia-v2.5? → approval-gaia-v2.5+
has problems to apply:

Already on 'v2.5'
Your branch is up-to-date with 'origin/v2.5'.
Tomcats-MacBook-Pro-2:gaia Tomcat$ git cherry-pick 5e396a7382013b12b2472f74e03cfb651779ea16
error: could not apply 5e396a7... Bug 1219259 - [TV Data Sync] There should be a pop-up window if a user signs in successfully. r=yifan
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
Flags: needinfo?(ferjmoreno)
Removing late-l10n keyword here as this is in tv_apps folder (so does not affect our l10n repos).
Keywords: late-l10n
Hi Josh,
Could you find someone to fix this issue in v2.5? Thank you
Flags: needinfo?(jocheng)
Verified on

Branch Master
commit ff662257263e9d71f8202d9d61a1b2035944e346
Merge: af7fe55 ae5cbee
Author: Johan Lorenzo <jlorenzo@mozilla.com>
Date:   Fri Dec 4 12:26:37 2015 +0100
Whiteboard: [ft:conndevices] → [ft:conndevices][partner-cherry-pick]
(In reply to Carsten Book [:Tomcat] from comment #13)
> has problems to apply:
> 
> Already on 'v2.5'
> Your branch is up-to-date with 'origin/v2.5'.
> Tomcats-MacBook-Pro-2:gaia Tomcat$ git cherry-pick
> 5e396a7382013b12b2472f74e03cfb651779ea16
> error: could not apply 5e396a7... Bug 1219259 - [TV Data Sync] There should
> be a pop-up window if a user signs in successfully. r=yifan
> hint: after resolving the conflicts, mark the corrected paths
> hint: with 'git add <paths>' or 'git rm <paths>'
> hint: and commit the result with 'git commit'

I didn't get this conflicts

https://github.com/mozilla-b2g/gaia/commit/2eb55a6193b711b4acb5944be3ba8fea138506c8
Flags: needinfo?(ferjmoreno)
Hi tomcat,
Can you check again? Thanks.
Flags: needinfo?(cbook)
(In reply to Fernando Jiménez Moreno [:ferjm] from comment #17)
> (In reply to Carsten Book [:Tomcat] from comment #13)
> > has problems to apply:
> > 
> > Already on 'v2.5'
> > Your branch is up-to-date with 'origin/v2.5'.
> > Tomcats-MacBook-Pro-2:gaia Tomcat$ git cherry-pick
> > 5e396a7382013b12b2472f74e03cfb651779ea16
> > error: could not apply 5e396a7... Bug 1219259 - [TV Data Sync] There should
> > be a pop-up window if a user signs in successfully. r=yifan
> > hint: after resolving the conflicts, mark the corrected paths
> > hint: with 'git add <paths>' or 'git rm <paths>'
> > hint: and commit the result with 'git commit'
> 
> I didn't get this conflicts
> 
> https://github.com/mozilla-b2g/gaia/commit/
> 2eb55a6193b711b4acb5944be3ba8fea138506c8

seems this is now on 2.5 https://hg.mozilla.org/integration/gaia-2_5/rev/596cfd8f22e0
Flags: needinfo?(cbook)
Hi Cynthia,
Could you check again on 2.5 again? The patch should be there. ;)
Flags: needinfo?(jocheng) → needinfo?(ctang)
Keywords: qawanted
Verified on:

Branch v2.5
Commit 062e0fa48c1b5d5156f6911a5a4519128fac3231
Author: danhuang1202 <danhuang1202@gmail.com>
Date:   Fri Nov 27 16:53:24 2015 +0800
Status: RESOLVED → VERIFIED
Flags: needinfo?(ctang)
Keywords: qawanted
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: