View Statistics Broken Down by Activity Type
Within the Statistics Dashboard Screen, the Statistics Calculation Service aggregates the authenticated peer mentor's activities grouped by activity type. The breakdown is displayed visually — either as chart segments or a list of category rows — showing count and hours per activity type for the selected date range. Activity types use the same type taxonomy as the Activity Logging Wizard to ensure consistency. This breakdown helps peer mentors understand the nature of their work, not just the volume, which is relevant for personal reflection and for discussions with coordinators during check-ins.
User Story
Acceptance Criteria
- Given I am on the Statistics Dashboard Screen, when I view my statistics, then I can see a breakdown of activity counts and hours grouped by activity type
- Given I have activities of multiple types in the selected period, when the breakdown renders, then each activity type is listed with its individual count and hours separately
- Given I apply a date range filter, when the filter changes, then the activity type breakdown updates to reflect only activities within the selected period
- Given I have only one activity type recorded, when the breakdown renders, then it shows a single category rather than an empty or error state
- Given I use a screen reader, when the activity type breakdown is displayed, then each category and its value is announced by the screen reader in a logical reading order
Business Value
Breaking statistics down by activity type gives peer mentors qualitative insight into their volunteering profile, not just a total count. This supports self-reflection and motivates diversification of support activities. It also provides data that coordinators can use to understand their team's capability profile without needing to ask individually.