medium complexity extracted Statistics Confidence: 100%
8
Components
106
Shared
0
User Stories
Yes
Analyzed

Description

This feature gives coordinators an aggregated view of their team's activities, showing totals, trends, and individual mentor breakdowns for their local association. Coordinators can filter by date range, activity type, and individual mentor, and export or share summary data as needed. The reports are designed to support coordinators in their oversight role, enabling them to identify underreporting, recognize top contributors, and prepare for organizational review meetings without manually collecting data from each mentor.

User Flow

Coordinator Team Reports user flow
Click to expand

Analysis

Business Value

Coordinators are the operational backbone of each partner organization, and they currently spend significant time chasing activity data from individual mentors and aggregating it manually in Excel. Providing automated team reports directly addresses this pain point, freeing coordinator time for actual mentor support. The feature also provides the data layer that underpins Bufdir reporting, meaning accurate team reports have a direct compliance and funding impact. All four partner organizations highlighted coordinator oversight as a core requirement, making this feature essential for organizational adoption and retention of the platform.

Implementation Notes

The team stats service queries the same activity tables as the personal stats service but scoped to all mentors within the coordinator's local association, enforcing row-level security at the database layer. Aggregation logic runs server-side via the Next.js REST API to keep the mobile client lightweight. The Flutter UI presents data in sortable lists and summary cards; charts use fl_chart with accessible alternatives. Coordinators with access to multiple local associations (supported by the multi-association model) can switch between association contexts. Pagination and lazy loading are required for associations with large mentor counts. Export functionality (CSV/PDF) is deferred to the admin portal but the data model must support it from day one.

Components (114)

User Interface (4)

Service Layer (2)

Data Layer (1)

Infrastructure (1)

Shared Components

These components are reused across multiple features

Service Layer (34)

Data Layer (22)

Infrastructure (38)

infrastructure Keychain/Keystore Adapter low Shared infrastructure JWT Claims Extractor low Shared infrastructure Organization Labels Adapter low Shared infrastructure Keychain/Keystore Adapter low Shared infrastructure Auth API Client medium Shared infrastructure REST API Client medium Shared infrastructure WCAG Accessibility Adapter low Shared infrastructure Registration API Client low Shared infrastructure Accounting API Client high Shared infrastructure PDF Renderer Adapter medium Shared infrastructure File Share Adapter low Shared infrastructure FCM/APNs Adapter high Shared infrastructure Share Sheet Adapter low Shared infrastructure Share Plus Adapter low Shared infrastructure Platform Accessibility Bridge medium Shared infrastructure Semantics Override Adapter high Shared infrastructure URL Launcher Adapter low Shared infrastructure Markdown Content Renderer low Shared infrastructure Network Connectivity Monitor low Shared infrastructure Expense Receipt Storage Adapter low Shared infrastructure Audit Log Writer low Shared infrastructure Feature Flag Checker low Shared infrastructure Logo Upload Adapter low Shared infrastructure Terminology Constants Registry low Shared infrastructure Feature Flag Cache Adapter low Shared infrastructure Org Scope JWT Resolver medium Shared infrastructure Association Audit Logger low Shared infrastructure Token Blocklist medium Shared infrastructure Analytics Tracker low Shared infrastructure SEO Metadata Config low Shared infrastructure Analytics Tracker low Shared infrastructure Analytics Tracker low Shared infrastructure Sales Analytics Tracker low Shared infrastructure Email Provider Adapter low Shared infrastructure Terms of Service Content Provider low Shared infrastructure Legal PDF Asset Provider low Shared infrastructure Consent-Gated Script Loader low Shared infrastructure Legal Page Layout low Shared

User Stories

No user stories have been generated for this feature yet.