Flag Management Component
Component Detail
User Interface
medium complexity
frontend
1
Dependencies
0
Dependents
3
Entities
0
Integrations
Description
Admin portal page component that displays all flagged activities in a filterable, sortable list. Shows flag reason, flagger identity, age of flag, and activity details. Provides resolution actions (accept-as-is, correct-and-approve, reject) gated by coordinator or org admin role permissions.
flag-management-component
Responsibilities
- Display list of all flagged activities with reason, flagger, and age
- Provide filter and sort controls for flagged activity triage
- Render resolution action buttons with role-based access gating
- Show flag creation form with reason selection and free-text input
- Display duplicate detection alerts with side-by-side comparison
Interfaces
renderFlaggedActivityList(filters)
renderFlagDetailPanel(activityId)
renderFlagCreationForm(activityId)
renderResolutionActions(flagId, userRole)
renderDuplicateComparisonView(activityIds)
onFlagActivity(activityId, reason, notes)
onResolveFlag(flagId, resolution, notes)
onFilterChange(filters)
onSortChange(sortField, direction)
Relationships
Related Data Entities (3)
Data entities managed by this component