Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autofill "home" or "work" data #223

Merged
merged 4 commits into from
Jul 24, 2024
Merged

Commits on Jul 23, 2024

  1. feat: Use new Cozy mapping to autofill basic contact data

    To autofill a ContactView, we leverage what already exists for IdentityView.
    
    Previsouly, we added a conversion function that created a IdentityView from a ContactView. Links between  Bitwarden and Cozy data was hardcoded.
    
    Now we take benefit of the new mapping which is more reusable. We start with only basic contact data.
    zatteo committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    2b3785d View commit details
    Browse the repository at this point in the history
  2. feat: Use new Cozy mapping to autofill contact array data

    For the phone, the email and the address, we have an array on
    io.cozy.contacts. So we upgrade the mapping to modelize that phone,
    email and address are arrays and which field we need to use inside
    these arrays.
    zatteo committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    289847e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0b3e0cd View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. feat: Allow to autofill "home" or "work" data

    When there are multiple phones or emails or adresses,
    we want to be able to autofill "home" or "work" data.
    We implement here the logic to say "I want to autofill
    'home' data".
    zatteo authored and Merkur39 committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    6d57fa3 View commit details
    Browse the repository at this point in the history