Relative Registration Screen
Component Detail
Description
Flutter screen for creating and editing relative contact records linked to a primary contact. Presents a simplified mandatory field set (name, role, phone) with optional extension fields, reusing Contact form components adapted for relationship-specific inputs. Displays the list of existing relatives per contact with optimistic mutation feedback.
relative-registration-screen
Sources & reasoning
UI form required to capture relative contact information. The feature explicitly registers family members as independent contact subjects with their own profiles and contact details, requiring a dedicated screen with a relationship-specific field layout distinct from the general contact form.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render relative creation and edit form with mandatory fields (name, role, phone) and optional extension fields
- Display list of existing relatives linked to a parent contact
- Handle form validation and submission with optimistic mutation feedback
- Navigate to relative detail view on row selection
- Support offline creation with pending-mutation indicator
Interfaces
showRelativeForm(contactId)
editRelative(relativeId)
deleteRelative(relativeId)
listRelatives(contactId)
Related Data Entities (4)
Data entities managed by this component