Closed Bug 1570568 Opened 2 years ago Closed 2 years ago

Update FxA toolbar menu to reflect the decoupling of FxA and Sync

Categories

(Firefox :: Firefox Accounts, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 71
Tracking Status
firefox71 --- fixed

People

(Reporter: rfkelly, Assigned: vbudhram, NeedInfo)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxa])

Attachments

(1 file)

Per Bug 1570565, we aim to decouple "Signing in to Firefox" from "Enabling Firefox Sync". The FxA toolbar menu will need to be updated to reflect three main potential states:

  • The user is not signed in to Firefox
  • The user is signed in to Firefox, but has not enabled Firefox Sync
  • The user is signed in to Firefox and is syncing their data

:rfeeley has some initial designs for this but they're not final, I believe the next action here is to get to finalized designs.

I'm not sure if it's necessary or if the UI would be different but for the first state, we could break it up even further to:

  • The user is not signed in to Firefox, and has an account
  • The user is not signed in to Firefox, and has no account

The user is not signed in to Firefox, and has an account

It's not clear to me how the browser would know this (or perhaps, whether the browser should know this).

I suppose the browser could peek into the user's browsing activity (such as history of visited URLs, or localStorage on accounts.firefox.com) and try to guess whether they've been using a Firefox Account to sign in to things on the web. Or we could have accounts.firefox.com send a special message to the browser to tell it about signin activity on the web. But we'll have to be careful about blurring the distinction between browser state and web content here.

But we'll have to be careful about blurring the distinction between browser state and web content here.

This could be a good opportunity for CFR to advertize signin and Sync to users without going "full Google" and linking signin state between Browser and Web Content. If we can see from local browser state that the user has recently signed in to a web property using FxA, we could annotate the toolbar icon with that little blue dot and, if the user clicks on it, show some help text about how they've got an account and can now easily sync things across devices.

Work to do:

Ref: https://docs.google.com/document/d/1HivpoRdZBrt-59lLuU9dJPsTrn95hOvgCpFjVouk6IM/edit#heading=h.feen7mi8j9s

Assignee: nobody → vbudhram
Status: NEW → ASSIGNED
Depends on: 1575706
Whiteboard: [fxa]
Pushed by vbudhram@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b2053e82f159
Update Fxa menu to reflect decoupling r=eoger,markh
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71

Compared the FxA toolbar menu (and Hamburger menu) with the mock-ups (https://mozilla.invisionapp.com/share/C9TF95Q8GJM#/screens/378655927 and https://docs.google.com/document/d/1HivpoRdZBrt-59lLuU9dJPsTrn95hOvgCpFjVouk6IM/edit#) and it seems that the menu correctly reflects all three potential states except one thing:

  • For a fresh profile, or when the user is signed in but the sync is turned off, Sync menu option appears as “Set up Sync” and not as “Sync” together with “Off” status. I did not found any decision about this change. Could someone confirm that “Set up Sync” is the final version?

Verified on Firefox 71.0a1 (2019-10-10) under Windows 10 64-bit and Mac OS X 10.14.6.

Flags: needinfo?(amedinac)
You need to log in before you can comment on or make changes to this bug.