Activity Status Badge
Component Detail
User Interface
low complexity
frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Reusable badge component that renders approval status (pending, approved, rejected) with colour-coded styling for use in the admin review table, detail panels, and the peer mentor mobile activity history view. Ensures consistent status communication across the admin portal and the Flutter mobile app.
activity-status-badge
Responsibilities
- Render colour-coded label for pending, approved, and rejected states
- Support compact (table cell) and expanded (detail panel) display variants
Interfaces
render(status: ActivityStatus, variant: 'compact' | 'expanded'): Widget