feat(#10662): document photo_field contact type property and profile photo display#2227
Draft
benkags wants to merge 1 commit into
Draft
feat(#10662): document photo_field contact type property and profile photo display#2227benkags wants to merge 1 commit into
photo_field contact type property and profile photo display#2227benkags wants to merge 1 commit into
Conversation
Document the new photo_field contact type property: the contact profile header displays the photo stored in the contact's user-file-<value> attachment, falling back to the type icon when no photo is present. Covers the contacts overview, the contact_types reference, and how child contacts created within a place form get their photos. The feature is implemented in medic/cht-core#11087, which has not merged yet. Version references ("From 5.2.0") must be updated to the actual release before this is published.
photo_field contact type property and profile photo display
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Documents the contact profile photo feature (medic/cht-core#10662, implemented in medic/cht-core#11087):
contact-management/contacts.md): the profile header can display the contact's photo instead of the contact type icon.contact_typesreference (app-settings/hierarchy.md): newphoto_fieldproperty — names the contact field holding the photo's filename; the matchinguser-file-<value>attachment is shown as a circular photo, falling back to the type icon. Defaults tophoto.forms/contact.md): how child contacts created within a place form get their own profile photos.Draft until medic/cht-core#11087 merges. The "From 5.2.0" version references are placeholders and will be updated to the actual release before this is marked ready for review.
License
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.