Report Filter Bar
Component Detail
User Interface
medium complexity
Shared Component
frontend
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
UI component providing controls for filtering report data by date range, local association, activity type, and individual peer mentor. Manages filter state and emits filter change events to parent dashboard pages.
report-filter-bar
Responsibilities
- Render date range picker with preset options (week, month, quarter, year)
- Render association, activity type, and peer mentor dropdowns
- Emit filter change events with validated parameter objects
- Reset filters to defaults on demand
Interfaces
renderFilterBar(availableOptions)
onFilterChange(callback)
resetFilters()
getActiveFilters()
setFilterValues(params)