owncloud / contacts

:busts_in_silhouette: Manage your CardDAV contacts from a feature-rich web-interface
75 stars 46 forks source link

Distinction between first and last name #324

Open aspdye opened 8 years ago

jancborchardt commented 8 years ago

We should definitely try to do this in the backend. It’s already painful to need to put in the address in 5 or 6 different fields (everyone HATES forms) so we definitely should not have separate input fields for the name. The old Contacts app didn’t have it either, at least not by default.

cc @tanghus @jbtbnl @babelouest if you feel like contributing again. :)

DeepDiver1975 commented 8 years ago

Name editing in the old contacts app

bildschirmfoto von 2016-03-31 11-43-27

DeepDiver1975 commented 8 years ago

editing addresses in old contacts app

bildschirmfoto von 2016-03-31 11-44-31

jancborchardt commented 8 years ago

Damn … then it was probably wishful thinking, or it of course works like that on Android etc. ;)

skjnldsv commented 8 years ago

In Android I think the contact app split automatically the Name you enter and divide the data into the FN field.

Example, if you type "John Doe", it will set John as first name and Doe as last name. Maybe we should do that with a div expand possibility to correct the FN fields?

ionum commented 8 years ago

Currently new Contact only have FN-Value (Displayname) and N-Value (Full Name with Family Name, Given Name, Additional Names, Honorific Prefixes, and Honorific Suffixes as in RFC 2426) is not editable.

ionum commented 8 years ago

A lot of progams use algorithms to split names (eg. Outlook, Android, iOS), but none works perfectly. there are too much ways to write a full name....

nWRqenkF commented 8 years ago

related to #276 ??

nWRqenkF commented 8 years ago

@ionum Somehow we already have an algorithm: "do nothing". Which is really annoying when using any other contact application. Personally I would prefer the 8.1 contacts behaviour:

jancborchardt commented 8 years ago

@XZS1cpXn yes, sure. Just for clarification, the reason for this is that it's a completely new app which replaced the old one. Since unfortunately resources are scarce, some things are not done yet. :)

gazbarg commented 8 years ago

Moreover, i think it could help with contact sorting (issue #208).

Rello commented 8 years ago

my first try #418

Henni commented 8 years ago

might be relevant: https://github.com/joshfraser/JavaScript-Name-Parser

DeepDiver1975 commented 8 years ago

That libs dead Baby, that libs dead! Last commit 2 years old

skjnldsv commented 8 years ago

:skull: Nooooooooo

phsc84 commented 8 years ago

Shouldn't this issue be fixed with #437?

jancborchardt commented 8 years ago

@phsc yup, thanks!

We can do enhancements in the future, but for now this should fix it.

jancborchardt commented 8 years ago

Or wait – this was for the other issue.

This issue is about parsing the name, which is an entirely different beast. ;)