View Complete Contact Profile
The Contact Detail Screen is the primary read view for a single contact record. It presents personal information (name, contact details), organisation-defined custom fields rendered by the Custom Fields Table Widget in read-only mode, linked assignment or activity context surfaced from the encrypted task assignment feature, and a preview of the most recent notes. Both peer mentors and coordinators access this screen, though coordinators see all contacts within their organisational scope while peer mentors see only contacts relevant to their assigned work. The screen must be fully accessible — all fields must carry semantic labels for screen reader support, contrast must meet WCAG 2.2 AA, and the layout must use a vertical scroll pattern with large tap targets. All text content is HTML-escaped before rendering.
User Story
Acceptance Criteria
- Given a peer mentor navigates to a contact from their contacts list, when the detail screen loads, then all personal details, custom fields, and the most recent 3 notes are displayed within 2 seconds
- Given a coordinator views any contact in their organisation, when the detail screen loads, then all fields including coordinator-only fields are visible and correctly labelled
- Given any user on the contact detail screen, when a screen reader is active, then every field has a descriptive semantic label and sensitive field audio warnings are announced
- Given the app is offline, when a user opens a previously loaded contact, then cached data is displayed with a visible offline indicator
- Given a contact has no notes yet, when the notes section renders, then an empty-state message is shown rather than a blank section
- Given the user navigates back from the detail screen, when the previous screen re-appears, then scroll position and state are preserved
Business Value
The contact detail screen is the single most-used screen in the peer mentor workflow — accessed before every home visit and after every interaction. Without a reliable, complete view of the contact, mentors risk duplicating questions or missing important context about health status, assistive device needs, or prior notes. For organisations like Blindeforbundet that require a formalised report structure after home visits, a complete contact profile directly supports the structured handoff to coordinators and underpins regulatory compliance with Bufdir reporting requirements.