Closed Bug 912554 Opened 11 years ago Closed 11 years ago

[Contacts] Preserve givenName and familyName of the new or being edited contact when merging.

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(blocking-b2g:koi+, b2g-v1.2 affected)

RESOLVED FIXED
blocking-b2g koi+
Tracking Status
b2g-v1.2 --- affected

People

(Reporter: salva, Assigned: jmcf)

References

Details

(Whiteboard: [u=commsapps-user c=contacts p=0])

Attachments

(1 file)

When editing a contact or creating a new one and merging with other suggested contacts already on the device, the merging algorithm should preserve given name and family name of the contact being edited or created.
Sorry Ayman if I bother you with this topic again but we split our previous efforts changing the merge algorithms in several bugs to be more specific and this is here to ask for your blessings ,)

This is the behaviour we talked about in Skype so I would appreciate if you can leave a comment saying you agree and why.

Thank you.
Flags: needinfo?(aymanmaat)
(In reply to Salvador de la Puente González [:salva] from comment #1)
> Sorry Ayman if I bother you with this topic again but we split our previous
> efforts changing the merge algorithms in several bugs to be more specific
> and this is here to ask for your blessings ,)
> 
> This is the behaviour we talked about in Skype so I would appreciate if you
> can leave a comment saying you agree and why.
> 
> Thank you.

Your welcome to bother me with the topic all day long Salva - its my job to be bothered by it ;)

Yes as discussed over Skype this is a very pragmatic proposal. The theory behind it is that if the user is actively creating a new contact or editing an existing contact the contact that is being created or edited is King. That is to say that it is reasonable to surmise that the created / edited contact is the contact that holds the information that is newer/fresher/more up to date/important to the end user because it is the one being created / updated. In view of this it is this contact whose information should be presented when, upon editing being completed, duplicates found and merge initiated, there is a conflict in the givenName or familyName fields between this contact and the contact that is being merged into it. 

Lets not forget that there is a safety net in place. The user is presented with the list of contacts that will be merged into the contact that has been created or edited. Therefore they have visibility of the name fields of the proposed contacts to merge and can actively prevent them merging by deselecting them.

This has by blessing, now go forth and code in peace Salve :)
Flags: needinfo?(aymanmaat)
Whiteboard: [u=commsapps-user c=contacts p=0 s=v1.2-features-sprint-4]
Assignee: nobody → jmcf
Attached file 11941.html
Attachment #800001 - Flags: review?(salva)
Whiteboard: [u=commsapps-user c=contacts p=0 s=v1.2-features-sprint-4] → [u=commsapps-user c=contacts p=0]
Comment on attachment 800001 [details]
11941.html

Very nice patch. Thank you!
Attachment #800001 - Flags: review?(salva) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
blocking-b2g: koi? → koi+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: