Contact List & Search
Feature Detail
Description
This feature provides peer mentors and coordinators with a searchable, filterable list of all contacts assigned to them or their local association. The list supports role-specific views, meaning peer mentors see only their own assigned contacts while coordinators see all contacts within their association. Real-time search enables quick lookup by name, phone, or other identifiers, critical for time-sensitive situations like home visits or phone follow-ups.
User Flow
Analysis
Contacts are the operational core of the peer mentor program — every activity, note, and assignment revolves around a contact record. Without fast, reliable access to the contact list, peer mentors cannot perform their primary job. For coordinators, the list is the primary tool for oversight and dispatch. The search capability directly reduces cognitive load for users with limited digital skills, a key requirement from NHF for slagrammede and other users with cognitive challenges. Accurate contact access also supports WCAG 2.2 AA compliance by providing predictable, keyboard-navigable list structures.
Implemented in Flutter using Riverpod for state management and a repository pattern over the REST API. The list should use lazy loading with cursor-based pagination to handle large contact lists without performance degradation. Search is debounced client-side with a fallback to server-side search for full-text queries. Role-based filtering is enforced both on the client (UI rendering) and server (API response scoping). WCAG 2.2 AA compliance requires semantic list semantics, minimum 44x44 touch targets for list items, and full screen reader label support.
Components (113)
Shared Components
These components are reused across multiple features
User Interface (12)
Service Layer (34)
Data Layer (22)
Infrastructure (38)
User Stories
No user stories have been generated for this feature yet.