Fenix: Edit Logins

Created on 30 Mar 2020  ยท  5Comments  ยท  Source: mozilla-mobile/fenix

User Story

As a user, I want to be able to edit my logins, so I have control over changing them manually.

Acceptance Criteria

I can edit my logins in Logins settings

  • [x] Add kebab (three dot) menu to login info toolbar with options to edit and delete
  • [x] Add fragment with editable fields

    • disable web address editing - YES

  • [x] Error states

    • possibly break this out into a separate piece of work?

  • [x] Save enabled only when valid

    • Successful save routes to site info page

  • [x] Cancel (X) button

    • where does cancel route to - login info

    • do we want a confirmation dialog - no

  • [x] Feature flags

Designs

UX Mocks

SVG Icons

checkmark
drop-down arrow
warning
clear text field

E13 Logins ready

Most helpful comment

Hi!
I tested this on Fenix Nightly Build 21420606 from 5/21 with Nexus 5 (Android 6.0.1), Motorola Moto G6 (Android 8), Google Pixel 2 (Android 9) and these are the results:

| Status | Options/Settings | Notes |
| ------------- | ------------- | ------------- |
| โœ”๏ธ | Kebab โ‹ฎ button| This button is displayed as in the UX Mocks |
| โ“ | Kebab โ‹ฎ button menu (Edit & Delete)| Different menu style compared to the one from the sort logins section|
| โœ”๏ธ | Fragment with editable fields | The Username and Password fields are editable |
| โœ”๏ธ | Fragment with editable fields - disable web address editing | The Site is not editable |
| โ“ | Fragment with editable fields | The show/hide button is actionable on the all Password field |
| โ“ | Fragment with editable fields | The password becomes uneditable if tapped anywhere else than the end of the password |
| โ“ | Save enabled only when valid - Successful save routes to site info page | The edited login can be saved even if the username field is empty or left incomplete |
| โ“ | Error states | This is not available |
| โ“ | Cancel (X) button | This is not available |

CC @eliserichards and @AmyYLee Please review and advice the above findings.
Also the Error states and Cancel button are not implemented.

There is filed one issue related to this:
https://github.com/mozilla-mobile/fenix/issues/10725

I will remove the qa:needed until further notice. Thanks!

All 5 comments

@jonichan Hey Joni! Just wanted to let you know that I will be starting this issue soon and I'll reach out to you about getting some help docs on the SUMO site! ๐Ÿ˜„

Reopening for QA

Hi!
I tested this on Fenix Nightly Build 21420606 from 5/21 with Nexus 5 (Android 6.0.1), Motorola Moto G6 (Android 8), Google Pixel 2 (Android 9) and these are the results:

| Status | Options/Settings | Notes |
| ------------- | ------------- | ------------- |
| โœ”๏ธ | Kebab โ‹ฎ button| This button is displayed as in the UX Mocks |
| โ“ | Kebab โ‹ฎ button menu (Edit & Delete)| Different menu style compared to the one from the sort logins section|
| โœ”๏ธ | Fragment with editable fields | The Username and Password fields are editable |
| โœ”๏ธ | Fragment with editable fields - disable web address editing | The Site is not editable |
| โ“ | Fragment with editable fields | The show/hide button is actionable on the all Password field |
| โ“ | Fragment with editable fields | The password becomes uneditable if tapped anywhere else than the end of the password |
| โ“ | Save enabled only when valid - Successful save routes to site info page | The edited login can be saved even if the username field is empty or left incomplete |
| โ“ | Error states | This is not available |
| โ“ | Cancel (X) button | This is not available |

CC @eliserichards and @AmyYLee Please review and advice the above findings.
Also the Error states and Cancel button are not implemented.

There is filed one issue related to this:
https://github.com/mozilla-mobile/fenix/issues/10725

I will remove the qa:needed until further notice. Thanks!

Moving this to "done" as the missing pieces haven't been implemented yet (#10173 and #10172)

Close this issue because the subsequent pieces will be in the follow-ups, that have been filed.

Was this page helpful?
0 / 5 - 0 ratings