WebAPI/ContactsAPI: Difference between revisions

Jump to navigation Jump to search
collect more feature requests from old comments in bug 746066
(add interface ContactEmail per Gaia Contacts UI v1 requirement, make its (and others') 'type' into an array to handle primary/favorite/PREF type as well as home, work. consistent with vCard/hCard)
(collect more feature requests from old comments in bug 746066)
Line 178: Line 178:
* 'type' for email, impp, url
* 'type' for email, impp, url
* 'sort-string' / 'sort-as'. per suggestion from Jonas, the Japanese iPhone has a field for "phonetic last name" which can be used for sorting. The existing vCard3 sort-string property or vCard4 sort-as (sub)property could be used to capture this if the only intended use is sorting.
* 'sort-string' / 'sort-as'. per suggestion from Jonas, the Japanese iPhone has a field for "phonetic last name" which can be used for sorting. The existing vCard3 sort-string property or vCard4 sort-as (sub)property could be used to capture this if the only intended use is sorting.
* human relationships
* 'related' - human relationships (MOAB)
** husband - use 'spouse'
** father - use 'parent'
** brother - use 'sibling'
** ex-wife - no existing value
** daughter - use 'child'
** manager - no existing value, there is mention on the [http://microformats.org/wiki/xpn-examples XPN Examples] research page on the microformats wiki
** PhD supervisor - no existing value. similar to previous 'manager' request. may be too domain specific to be worth standardizing.
 
* vCard4 extensions
* vCard4 extensions
* 'type:pref' for ContactTelephone - thus clearly requiring that tel 'type' be DOMString[].
* 'type:pref' for ContactTelephone - thus clearly requiring that tel 'type' be DOMString[].
Line 184: Line 192:
** Android AB implements this as "default" (displayed as a checkmark to the right of the specific number) and allows only one number to be the "default". Android also exports this as vCard tel type:pref. Android also fails to respect this "pref" type upon vCard import - thus fails roundtrip (on its own or across devices).
** Android AB implements this as "default" (displayed as a checkmark to the right of the specific number) and allows only one number to be the "default". Android also exports this as vCard tel type:pref. Android also fails to respect this "pref" type upon vCard import - thus fails roundtrip (on its own or across devices).
** Originally "favorite" for telephone number suggestion from Jonas. Which phone number of several of a contact is a "favorite" that is caller prefers to use.
** Originally "favorite" for telephone number suggestion from Jonas. Which phone number of several of a contact is a "favorite" that is caller prefers to use.
** interface ContactTelephone now has DOMString[] type accordingly.


=== Priority 5 feature requests ===
=== Priority 5 feature requests ===
Line 203: Line 212:
** are there any examples of real world websites that publish this property?
** are there any examples of real world websites that publish this property?
* custom dates
* custom dates
** Child's birthday - use a separate contact for the child with 'bday' instead and then this upgrades to level 4 - just needs the 'related' property.
** First met.
** Divorced.
* tagged fields - allow any contact field to be arbitrarily tagged with one or more tags by the user.
* tagged fields - allow any contact field to be arbitrarily tagged with one or more tags by the user.
* '''t-shirt-size''' - as used in https://phonebook.mozilla.org
* '''t-shirt-size''' - as used in https://phonebook.mozilla.org
canmove, Confirmed users
2,887

edits

Navigation menu