ContactSearchWidget
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
An inline search input that filters the contact list by name or phone number without requiring additional navigation. Search operates against the local Drift database so results are instant and available offline. Accessible via semantic label attributes for screen readers.
contact-search-widget
Sources & reasoning
Priority matrix (line 162) marks contact search MUST in Phase 1 across all four organizations. MVP scope narrative (line 320) lists contact list as Phase 1. Architecture section (line 291) confirms role-specific list views. Phase 1 in source docs maps to MVP by ordinal position (Fase 1 = first deliverable phase = MVP).
-
docs/source/likeperson.md · line 162Basic search (contact og notater) | ✓ | ✓ | ✓ | ✓ | ✓ | MUST | 1
-
docs/source/likeperson.md · line 320Kontaktliste og likepersonsoversikt
-
docs/source/likeperson.md · line 291Contacts list with role-specific views
Responsibilities
- Accept free-text input and debounce queries
- Filter contacts by name and phone number against local data
- Expose accessible label and hint attributes for VoiceOver and TalkBack
- Clear search state on widget dismissal or screen exit
Interfaces
onQueryChanged(query: string): void
clearSearch(): void
setAccessibilityLabel(label: String): void