mozilla / application-services

Firefox Application Services
https://mozilla.github.io/application-services/
Other
610 stars 226 forks source link

logins: Provide an API to know if a given login will duplicate an existing stored one #1983

Closed mnoorenberghe closed 4 years ago

mnoorenberghe commented 5 years ago

Lockwise would like to update UI live as the user types in a create/edit form to indicate if the resulting login would be a duplicate of one already saved and therefore saving should be prevented (see #617).

This is similar to how the Fx desktop password manager doorhanger works. With every edit to the username field it decides whether the primary action should be to Save or Update depending on what is already in storage and the username field in the doorhanger.

┆Issue is synchronized with this Jira Story ┆Story Points: 0 ┆Epic: Logins Component 1.0 ┆Sprint: SYNC - end 2019-11-22

data-sync-user commented 4 years ago

➤ Lougenia Bailey commented:

PR: https://github.com/mozilla/application-services/pull/2101