Feature Requirement Document: Leaderboard Module
Purpose: Introduce a competitive, performance-driven leaderboard system across the Dispatch App, Responder App, and Admin App to track, compare, and motivate users based on structured performance metrics. Each app and user role will have tailored access levels and data visibility.
1. General Description
The leaderboard is a non-editable, dynamic performance reporting dashboard that updates in real-time or near-real-time. It reflects cumulative and periodic metrics, with role-specific access to increase accountability, track progress, and encourage higher performance.
Metrics Definition – Global Reference
Dispatch App – Leaderboard Structure
Access Point:
Available via main navigation menu under Performance Live module on the Dispatch App for authorized dispatch users
Navigation Layout Overview
Main Menu
└── Performance
└── Leaderboard
├── My Performance (Team Member View)
└── Team Insights (Supervisor View)
Responder App – Leaderboard Structure
A Access Point – Responder App (Revised)
Tap Profile Icon (Top-right corner) Always visible on the main app interface Opens the User Profile Drawer or Profile Screen Inside the Profile Section, display a clean list or grouped tiles: Performance (new section) Flow Overview
Profile Icon (top-right)
└── Profile Screen
├── My Profile
├── Settings
├── Help & Support
└── Performance
├── My Performance (Team Member View)
└── Team Insights (Supervisor View)
Field
Description
Use Case Name
Leaderboard – Performance Tracking & Gamification
Summary of the Use Case
This feature allows Responders and Team Leads to track performance, recognize top contributors, and view rankings and trends using a gamified interface. It personalizes insights for individual responders and enables supervisors to manage team performance effectively.
Goal
For Responders: Motivate performance, track progress, and earn recognition. For Supervisors: Monitor team efficiency, identify top/bottom performers, and manage workforce productivity. Feature Category
Mobile Application → Performance Management Primary Users
Responders (Team Members) User Access Levels
Responder & CBFRs
View own data + Top 5 peers (anonymized)
Supervisor
View full team data + trends
Entry Point
Dashboard Widget (“Performance Overview”) on home screen Or via “Leaderboard” tab in the main bottom navigation bar Dependencies
Active user authentication and token Real-time metrics service (response times, resolutions, satisfaction) Case database and call activity logs Basic Flow
Step 1: User logs into Responder App
Step 2: Home screen loads with basic performance snippet
Step 3: User taps on “Performance” or “Leaderboard”
Step 4: Based on role, either:
Responder sees “My Performance” Supervisor sees “Team Insights” Step 5: Data loads from metrics engine and displays in gamified layout
Step 6: User explores rankings, trends, and badge progress
Team Member View “My Performance”
Personal stats chart (Response Time, Cases, Score) Earned badges + progress to next badge Alerts on milestone completion Team Supervisor View – “Team Insights”
Full list of team responders with key stats Sort/filter by performance, role, time Drill-down into member performance Badge achievements per team member Performance trendlines across weeks Export/share team reports Other Technical Requirements
Real-time sync or 5-minute data refresh window Offline fallback with last known metrics Secure masking of names (Responders view) Data caching for smoother transitions Token refresh handling for long sessions Alternative Flow
AF-01
If the user is not authenticated, redirect to login
AF-02
If user role is undefined or incorrect, show restricted access
AF-03
If metrics API fails, fallback view with retry option
AF-04
If no data exists for date range, show “No Data Available” message
AF-05
If session expires mid-view, auto logout with prompt
Preconditions
PC-01
User is logged in with valid token
PC-02
User has role: Responder or Supervisor
PC-03
Metrics engine is reachable
PC-04
At least one case assigned or completed by team
PC-05
Access control properly enforced
Postconditions
User sees leaderboard data based on role
Personal or team metrics are displayed correctly
Gamification data (badges, milestones) updates
Usage logs are recorded for performance analytics
Acceptance Criteria for the Home Screen Flow
AC-01: The home screen should display a basic metrics widget that includes the user's case count, rank, and a performance trend preview. AC-02: Responders should be able to see their full performance data along with anonymized peer comparisons. AC-03: Supervisors should be able to view a sortable table showing an overview of all team member metrics. AC-04: Any new badges earned by users should be updated and displayed with visual feedback such as animations. AC-05: When supervisors tap on a responder's profile, a detailed view or modal should load with additional insights. AC-06: In the event that data is not available, a fallback screen should show a “No Data” or “Retry” message along with an explanation. Business Rules for the Home Screen Flow
BR-01: Responders are restricted to viewing only their full performance metrics, while peer data must be anonymized. BR-02: Supervisors have access to identifiable performance data for all team members under their supervision. BR-03: All leaderboard and performance rankings should default to “This Week” upon initial load. BR-04: All data used for performance metrics must be pulled directly from real-time case logs and dispatch records. BR-05: Manual edits to performance data are strictly prohibited. BR-06: Badge assignment must be driven by a deterministic, rule-based system backed by verifiable activity data. BR-07: The system must refresh all performance metrics at intervals no longer than every 5 minutes. BR-08: The Top 5 leaderboard section should reflect only the responders in the user’s local unit or operational area. BR-09: A user’s personal performance data must always be visible to them, even if they do not rank in the top group.