high complexity extracted Admin Panel Confidence: 100%
6
Components
58
Shared
0
User Stories
Yes
Analyzed

Description

This feature gives Coordinators and Organization Administrators the ability to review, approve, or flag registered activities submitted by peer mentors within their scope. The oversight screen lists recent and pending activities with filtering by date, peer mentor, activity type, and status. Coordinators can drill into individual activity records to verify correctness, add notes, and approve or request corrections. For organizations that require coordinator sign-off before activities are included in Bufdir reports, this workflow provides the necessary approval gate. The feature also surfaces duplicate activity warnings detected by the system to help coordinators resolve conflicts before reporting.

User Flow

Activity Oversight & Approval Workflows user flow
Click to expand

Analysis

Business Value

Accurate activity reporting is the foundation of Bufdir grant compliance, and errors or duplicates in submitted activities can jeopardize funding for all four partner organizations. This oversight feature gives coordinators the tools to catch and correct issues before they propagate into official reports, reducing the risk of rejected Bufdir submissions. It also addresses the specific NHF concern about duplicate registrations when multiple coordinators log the same event, by providing a centralized review interface. For peer mentors, knowing that a human reviews their submissions creates accountability and encourages accurate reporting. This feature is essential for building organizational trust in the platform as a replacement for manual Excel-based processes.

Implementation Notes

The oversight screen is a server-rendered Next.js page with client-side filtering applied via query parameters passed to the /api/v1/admin/activities endpoint. Activity approval state is stored as an enum field on the activities table (pending, approved, flagged, rejected) with an audit trail in audit_logs. The approval action triggers a POST to /api/v1/admin/activities/{id}/approve, which validates coordinator scope and updates the record. Duplicate detection results (from the duplicate-activity-detection feature) are surfaced as warning badges on activity list items. Pagination is implemented server-side with cursor-based pagination for performance with large datasets. The Flutter mobile app does not include this oversight UI — it is admin-panel-only. Coordinators accessing via mobile use the mobile app's limited view; full oversight requires the admin panel.

Components (64)

User Interface (3)

Service Layer (1)

Data Layer (1)

Infrastructure (1)

Shared Components

These components are reused across multiple features

Infrastructure (20)

User Stories

No user stories have been generated for this feature yet.