HIGH story-contact-list-search-peer-mentor-003 2 pts
2
Story Points
High
Priority
Contact List & Search
Feature

User Story

As a user
I want to switch between a Contacts view and a Peer Mentors view using a toggle widget
So that So that I can focus on the category of people most relevant to what I am currently doing without navigating away

Acceptance Criteria

  • Given a user is on the Contacts screen, when they tap the view switcher toggle, then the list switches between Contacts and Peer Mentors views immediately
  • Given a user switches to the Peer Mentors view and closes the app, when they reopen the app and navigate to Contacts, then the Peer Mentors view is still selected
  • Given the Contacts view is active, when peer mentor-specific data fields are not applicable, then they are not displayed in the contact cards
  • Given the Peer Mentors view is active, when peer mentor-specific fields like availability status are available, then they are shown on the peer mentor cards
  • Given a screen reader user activates the view switcher, when the view changes, then the new view state is announced by the screen reader

Business Value

Coordinators regularly work with both contacts and peer mentors and need to switch between these views efficiently during their workday. Persisting the view preference reduces repetitive interactions, which is important for users with motor or cognitive challenges. The Barnekreftforeningen specifically requested the view switcher pattern, confirming its value across multiple organisations.