HIGH story-contact-and-notes-search-coordinator-004 8 pts
8
Story Points
High
Priority
Contact & Notes Search
Feature

User Story

As a Coordinator
I want to search my contact list even when the device has no internet connection
So that I can continue working during field visits, travel, or poor-connectivity situations without losing access to critical contact information

Acceptance Criteria

  • Given the device has no internet connection, when the coordinator searches for a contact by name, then results are returned from the local cache within 500ms
  • Given offline search results are displayed, when the list is rendered, then a persistent banner or indicator communicates that results are from local cache and may not be fully up to date
  • Given the device regains internet connectivity, when the cache sync service runs, then the local cache is updated with any server-side changes since the last sync
  • Given a contact record contains encrypted sensitive fields, when that record is cached locally, then the encrypted fields are excluded from the local cache
  • Given the local cache is empty (first-time use with no prior sync), when the device is offline and a search is performed, then an informative empty state explains that data must be synced first

Business Value

Field-based peer mentoring work frequently occurs in low-connectivity environments. An offline-capable search removes a hard dependency on internet access for core coordination tasks, ensuring that coordinators can look up contact details and history during home visits, in rural chapters, or while traveling between locations. This is particularly critical for Blindeforbundet, which emphasizes home visit workflows, and for NHF and HLF chapters in geographically dispersed areas.