Monica
Log in
API v1

Changed Contacts

Draw each field of a contact without reading its wording

Each field of the pages of a contact now also gives what its type needs to be drawn: choices for a multiple choice, address_lines for an address, reminder for a date an active reminder follows, record for a relation (the contact or the record it points to), and for a file its mime_type, size and content. stores_value and help_text are added to every field. A divider, a heading and a help text are now listed in their place with stores_value set to false and no value: an integration that shows every field it receives should skip them or draw them as what they are. Sending them back with a section is harmless, as Save a section of a contact ignores them.

Why it changed

The wording joins the labels of a multiple choice and the lines of an address with commas, a relation gave a bare id and a file no type nor size, so a phone application could not draw a field as the contact page does.

Changes

In the same release