Activity Filter Widget
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Composable filter panel used on the oversight screen to build query parameters for the admin activities API endpoint. Supports date range pickers, peer mentor multi-select, activity type checkboxes, and approval status toggles.
activity-filter-widget
Responsibilities
- Render filter controls for date range, peer mentor, activity type, and status
- Serialize active filters into URL query parameters
- Emit filter-change events to parent screen for re-fetch
- Persist filter state in URL for shareable links
Interfaces
buildFilterParams()
resetFilters()
setDateRange(from, to)
setPeerMentorFilter(userIds)
setActivityTypeFilter(typeIds)
setStatusFilter(statuses)