Stats Summary Widget
Component Detail
User Interface
low complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
An at-a-glance summary card widget displaying key metrics such as total activities, total hours, unique contacts helped, and current streak. Designed for quick comprehension with minimal cognitive load. Renders as a compact grid of stat tiles on the dashboard.
stats-summary-widget
Responsibilities
- Display primary KPI tiles (total activities, hours, contacts, streak)
- Update reactively when the selected date range changes
- Provide accessible labels and semantic markup for screen reader support
- Show skeleton loaders during data fetch
Interfaces
StatsSummaryWidget({stats, isLoading})
buildStatTile(label, value, icon)
onStatTileTapped(statType)
refresh()