Skip to content

[HARD][DASHBOARD] Build exportable reports dashboard with filters and summaries #51

@Obiajulu-gif

Description

@Obiajulu-gif

Overview

Build an exportable reports dashboard for admins to generate operational, payment, investment, repayment, KYC, and fleet summaries.

Problem

Admins need structured reports for decision-making, investor transparency, and operational tracking. A reports dashboard should make it easy to filter records and export useful summaries without manually querying the database.

Expected solution

Create a reports dashboard with:

  • report categories: investments, repayments, wallet transactions, KYC, fleet, users
  • date range filters
  • status/type filters
  • summary metric cards
  • table previews
  • CSV export support
  • print-friendly layout or PDF-ready view if practical
  • empty/loading/error states

Advanced requirements

  • Keep export logic server-safe.
  • Scope access to admins only.
  • Avoid exporting sensitive fields unless intentionally included.
  • Make report generation reusable across categories.
  • Use pagination or streaming-safe patterns for large datasets where possible.

Files likely involved

  • admin reports dashboard pages/components
  • report API routes
  • transaction/investment/user/fleet models
  • CSV/export utilities
  • table/filter components
  • route guards

Acceptance criteria

  • Admin can select report type and date range.
  • Admin can preview report data in dashboard.
  • Admin can export CSV for at least one major report type.
  • Sensitive fields are excluded by default.
  • Report APIs are admin-protected.
  • Empty/loading/error states are handled.
  • npm run lint and npm run build pass.

Suggested labels

dashboard, reports, admin, export, backend, frontend, hard

Difficulty

Hard

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions