User Interface medium complexity mobile
3
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

Full-screen view displaying all stored information for an individual contact, including personal details, contact history, associated activities, and linked caregiver or next-of-kin records. Driven by a Riverpod provider watching the contact record in the local Drift database, rebuilding reactively when the record changes. Sensitive fields trigger the ReadoutWarningWidget before VoiceOver or TalkBack announces them, in compliance with WCAG 2.2 AA and NHF privacy requirements.

Feature: Contact Detail & Edit

contact-detail-screen

Responsibilities

  • Display all contact fields including personal details and contact history
  • Render linked caregiver and next-of-kin records with navigation affordances
  • Show associated activity history entries for the contact
  • Trigger ReadoutWarningWidget before screen reader announcement of sensitive fields
  • Expose edit mode entry point via local state toggle without route navigation

Interfaces

ContactDetailScreen(contactId: String)
onEditToggle()
onNavigateToCaregiver(caregiverId: String)
onNavigateToActivity(activityId: String)
onBack()

Relationships

Dependencies (3)

Components this component depends on

Related Data Entities (1)

Data entities managed by this component