Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[Credit cards] Turn the "Sync cards across devices" button into a "Sync cards" toggle #18262

Closed
gabrielluong opened this issue Mar 2, 2021 · 4 comments · Fixed by #19207
Closed
Assignees
Labels
cc-autofill Autofill credit card E2 Estimation Point: easy, half a day to 2 days eng:qa:verified QA Verified Feature:Autofill Address and Credit Card autofill
Milestone

Comments

@gabrielluong
Copy link
Member

gabrielluong commented Mar 2, 2021

In the current "Credit cards" settings, we have a summary label that displays the status of the sync authentication. This is done by SyncPreferenceView and also used in "Logins and passwords" setting.

We want to implement some UI changes that you can see in the attached screenshot. In particular, we want to remove the summary label in SyncPreferenceView for both credit cards and logins. Instead of showing that sync is on/off when you are logged into sync, we want a toggle.

The initial label should still read "Sync cards across devices". We also want to mirror this label in "Logins and passwords" by renaming it to "Sync logins across devices". When the user is logged into sync, we change the label text to "Sync cards".

Screen Shot 2021-04-07 at 12 50 04 PM

┆Issue is synchronized with this Jira Task

@gabrielluong gabrielluong added the needs:UX-investigation Issues where UX needs to define or scope a solution or determine feasibility label Mar 2, 2021
@gabrielluong gabrielluong added this to Triage in Autofill Mar 2, 2021
@gabrielluong gabrielluong added the Feature:Autofill Address and Credit Card autofill label Mar 2, 2021
@github-actions github-actions bot added the needs:triage Issue needs triage label Mar 2, 2021
@gabrielluong gabrielluong removed the needs:triage Issue needs triage label Mar 2, 2021
@gabrielluong gabrielluong moved this from Triage to Blocked by Dependencies in Autofill Mar 2, 2021
@gabrielluong gabrielluong added the cc-autofill Autofill credit card label Mar 2, 2021
@gabrielluong gabrielluong changed the title Turn the "Sign in to sync" button into a "Sync cards" toggle [Credit cards] Turn the "Sign in to sync" button into a "Sync cards" toggle Mar 2, 2021
@gabrielluong gabrielluong added the E2 Estimation Point: easy, half a day to 2 days label Mar 2, 2021
@violasong
Copy link
Collaborator

Received approval from Design Systems for this workflow.

(To clarify one thing - if a user is already signed in, they'll see the "Sync cards" with toggle view)

@violasong violasong removed the needs:UX-investigation Issues where UX needs to define or scope a solution or determine feasibility label Mar 16, 2021
@gabrielluong gabrielluong moved this from Waiting on Dependencies to Backlog in Autofill Mar 16, 2021
@gabrielluong gabrielluong added this to Ready for Engineering (min-5 ; max-22) in Android Engineering Team Kanban board via automation Apr 7, 2021
@gabrielluong gabrielluong changed the title [Credit cards] Turn the "Sign in to sync" button into a "Sync cards" toggle [Credit cards] Turn the "Sync cards across devices" button into a "Sync cards" toggle Apr 7, 2021
@codrut-topliceanu codrut-topliceanu self-assigned this Apr 19, 2021
@codrut-topliceanu codrut-topliceanu moved this from Ready for Engineering (min-5 ; max-22) to In Development (WIP limit - 15) in Android Engineering Team Kanban board Apr 19, 2021
@gabrielluong gabrielluong moved this from Backlog to In progress in Autofill Apr 19, 2021
@codrut-topliceanu
Copy link
Contributor

@gabrielluong @violasong Some questions:

  1. When the user is signed in and the preference is a toggle( set to "Sync cards"), what does clicking on the preference/toggle do? Does it :
    a) change the state of the toggle
    OR
    b) does it take the user to account settings?
    Same question for Saved Logins.
  2. If a is true, does that mean we will have 3 the sync settings spread across 3 screens? (Account settings, Logins and passwords, Credit cards)
  3. If b is true, should we add a "Sync Cards" checkbox in Account Settings that will control the toggle of the switch from Credit Cards?

@gabrielluong
Copy link
Member Author

@gabrielluong @violasong Some questions:

  1. When the user is signed in and the preference is a toggle( set to "Sync cards"), what does clicking on the preference/toggle do? Does it :
    a) change the state of the toggle
    OR
    b) does it take the user to account settings?
    Same question for Saved Logins.

Since it's a Sync Cards toggle, it should just trigger the toggling on/off of the credit card syncing. However, syncing of credit card is not yet available with our current version of AS, so we should just use a dummy filler like syncing login for the meantime.

I am aware that there could be an intermittent state where you will need to reconnect to authenticate your sync account. I don't think we want to lose that, but it is also not presented in the designs here as well. If you can preserve that and add a screenshot of that state, we can work with UX on finalizing a string for it. However, it is possible we just default back to the original "Sync cards across devices" string, but we should double check with UX.

  1. If a is true, does that mean we will have 3 the sync settings spread across 3 screens? (Account settings, Logins and passwords, Credit cards)

I guess this is true.

  1. If b is true, should we add a "Sync Cards" checkbox in Account Settings that will control the toggle of the switch from Credit Cards?

We will expect to add a "Sync Cards" checkbox in Account Settings. We don't have the AS functionality yet. So, we can do this as a follow up. I think I already have an issue for this that I will move to the backlog when AS is available.

codrut-topliceanu pushed a commit to codrut-topliceanu/fenix that referenced this issue Apr 23, 2021
codrut-topliceanu pushed a commit to codrut-topliceanu/fenix that referenced this issue Apr 23, 2021
@gabrielluong gabrielluong moved this from In Development (WIP limit - 15) to Review in progress (WIP limit - 11) in Android Engineering Team Kanban board Apr 25, 2021
@gabrielluong gabrielluong moved this from In progress to Review in progress in Autofill Apr 25, 2021
@gabrielluong gabrielluong added this to the 90 milestone Apr 25, 2021
codrut-topliceanu pushed a commit to codrut-topliceanu/fenix that referenced this issue Apr 26, 2021
codrut-topliceanu pushed a commit to codrut-topliceanu/fenix that referenced this issue Apr 27, 2021
codrut-topliceanu pushed a commit to codrut-topliceanu/fenix that referenced this issue Apr 27, 2021
codrut-topliceanu pushed a commit to codrut-topliceanu/fenix that referenced this issue Apr 28, 2021
codrut-topliceanu pushed a commit to codrut-topliceanu/fenix that referenced this issue Apr 29, 2021
codrut-topliceanu pushed a commit to codrut-topliceanu/fenix that referenced this issue May 5, 2021
@gabrielluong gabrielluong moved this from Review in progress (WIP limit - 11) to Reviewer approved, ready for test (WIP limit - ?) in Android Engineering Team Kanban board May 5, 2021
@gabrielluong gabrielluong moved this from Review in progress to Reviewer approved in Autofill May 5, 2021
codrut-topliceanu pushed a commit to codrut-topliceanu/fenix that referenced this issue May 6, 2021
Android Engineering Team Kanban board automation moved this from Reviewer approved, ready for test (WIP limit - ?) to Done May 6, 2021
Autofill automation moved this from Reviewer approved to Done May 6, 2021
codrut-topliceanu added a commit that referenced this issue May 6, 2021
…on into a "Sync cards" toggle (#19207)

* For #18262 - Turns "Sync cards/logins" into toggle
Android Engineering Team Kanban board automation moved this from Done to In Development (WIP limit - 15) May 6, 2021
Autofill automation moved this from Done to In progress May 6, 2021
@codrut-topliceanu codrut-topliceanu moved this from In Development (WIP limit - 15) to Reviewer approved, ready for test (WIP limit - ?) in Android Engineering Team Kanban board May 6, 2021
@codrut-topliceanu codrut-topliceanu moved this from In progress to Reviewer approved in Autofill May 6, 2021
@gabrielluong gabrielluong moved this from Reviewer approved, ready for test (WIP limit - ?) to In Testing/QA in Android Engineering Team Kanban board May 6, 2021
@gabrielluong gabrielluong moved this from Reviewer approved to QA in Autofill May 6, 2021
@sflorean
Copy link
Contributor

sflorean commented May 7, 2021

Verified as fixed on Nightly 5/7 with Samsung Note 10 (Android 11).
Sync logins and Sync cards is displayed with a toggle, after the user is connected with a Fx account.

Going back to settings and again to Credit cards, changes the toggle from ON to OFF. Not sure if this will be implemented/it is a known issue.

cc @gabrielluong @codrut-topliceanu

@sflorean sflorean closed this as completed May 7, 2021
Android Engineering Team Kanban board automation moved this from In Testing/QA to Done May 7, 2021
Autofill automation moved this from QA to Done May 7, 2021
@sflorean sflorean added eng:qa:verified QA Verified and removed eng:qa:needed QA Needed labels May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cc-autofill Autofill credit card E2 Estimation Point: easy, half a day to 2 days eng:qa:verified QA Verified Feature:Autofill Address and Credit Card autofill
Projects
No open projects
4 participants