Activity Oversight Page
Component Detail
Description
Server-side-rendered Next.js page in the Admin Web Portal presenting a paginated, filterable list of submitted peer mentor activities. Supports filtering by approval status (pending, approved, rejected), organization, date range, and peer mentor, with inline status badges and per-row approve/reject action controls.
activity-oversight-page
Sources & reasoning
The primary UI surface for the Activity Review & Approval feature. Coordinators and Org Admins need a dedicated admin page with filtering and inline action controls to efficiently triage large volumes of pending activity submissions before they flow into Bufdir reports and statistics.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render paginated activity list with SSR from /api/v1/activities
- Provide filter controls for status, organization, date range, and peer mentor
- Display inline status badges and contextual approve/reject action buttons
- Trigger approval or rejection actions and reflect updated state
Interfaces
renderPage(filters: ActivityFilterParams): NextPage
fetchActivities(page, filters): Promise<PaginatedActivities>
onApprove(activityId): void
onReject(activityId, reason): void
Related Data Entities (3)
Data entities managed by this component