MEDIUM story-activity-statistics-dashboard-coordinator-006 5 pts
5
Story Points
Medium
Priority
Activity Statistics Dashboard
Feature

User Story

As a Coordinator
I want to view my statistics even when I am offline or in areas with poor connectivity
So that I can review my activity history and contribution data regardless of my internet connection, which is particularly important when presenting my work to others in low-connectivity environments

Acceptance Criteria

  • Given I have previously loaded my statistics while online, When I open the statistics screen while offline, Then I see my most recently cached statistics with a banner or indicator informing me that I am viewing offline data
  • Given I am online and load the statistics dashboard, When the data loads successfully, Then the local cache is updated with the new data for future offline use
  • Given I register a new activity while offline, When I later sync and reload the statistics, Then the cache is invalidated and updated to include the newly registered activity
  • Given the cache is empty and I am offline, When I open the statistics screen, Then I see an informative empty state explaining that statistics are unavailable offline and prompting me to connect to load data
  • Given cached data is displayed, When I regain connectivity, Then the dashboard automatically refreshes from the server without requiring manual intervention

Business Value

Peer mentors frequently operate in community settings, homes, and remote locations where connectivity is unreliable. All three organizations serve users across Norway including rural and northern regions. Offline capability prevents the frustration of a blank statistics screen and ensures peer mentors can access their data during meetings or presentations where demonstrating their contribution is valuable.