Case Link Flow Screen
Component Detail
User Interface
medium complexity
mobile
2
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Modal or sheet UI for linking and unlinking a relative to a contact/case, accessible from both the Relative detail screen and Contact detail screen. Presents a searchable list of contacts scoped to the current organization and displays existing links with metadata.
case-link-flow-screen
Sources & reasoning
A dedicated link-flow screen is required to surface the link/unlink workflow bidirectionally from both relative and contact detail pages, matching the implementation note about mobile accessibility from both screens.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render searchable contact list scoped to current organization for link selection
- Display existing case links with linked_at date and optional notes
- Provide unlink action with confirmation for each existing link
- Accept optional contextual notes input when creating a new link
- Trigger bidirectional Riverpod state updates on link/unlink
Interfaces
show(relativeId: String)
showFromContact(contactId: String)
onLinkCreated(relativeId: String, contactId: String)
onLinkRemoved(linkId: String)
Relationships
Dependencies (2)
Components this component depends on
Related Data Entities (2)
Data entities managed by this component