Statistics Dashboard Screen
Component Detail
User Interface
medium complexity
mobile
2
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Main statistics screen presenting peer mentors with visual charts and tabular breakdowns of their personal activity history. Renders bar charts, line graphs, and summary cards using fl_chart, with an accessible data table alternative for screen reader users. Supports filtering by date range, activity type, and contact, and adapts layout for coordinator read-only view of any mentor in their local association.
statistics-dashboard-screen
Responsibilities
- Render activity charts with fl_chart (bar, line, summary cards)
- Provide accessible data tables as WCAG 2.2 AA alternative to visual charts
- Support date range, activity type, and contact filtering controls
- Display contribution totals, engagement trends, and activity type breakdown
- Adapt layout for coordinator read-only view of mentor statistics
Interfaces
buildDashboard(userId, dateRange, filters)
renderActivityChart(chartData, chartType)
renderAccessibleDataTable(chartData)
applyFilters(dateRange, activityType, contactId)
switchChartView(viewType)
showEmptyState()
showLoadingState()
showErrorState(errorMessage)
refreshDashboard()
exportStatsSummary()
Relationships
Dependencies (2)
Components this component depends on