Skip to content

feat: build analytics dashboard for energy generation statistics (#350)#459

Open
Julianemeka wants to merge 2 commits into
AnnabelJoe:mainfrom
Julianemeka:feature/analytics-dashboard
Open

feat: build analytics dashboard for energy generation statistics (#350)#459
Julianemeka wants to merge 2 commits into
AnnabelJoe:mainfrom
Julianemeka:feature/analytics-dashboard

Conversation

@Julianemeka
Copy link
Copy Markdown

Built a comprehensive energy analytics dashboard for cooperatives and users.

Changes:

  • Database: Added get_cooperative_trends and get_cooperative_meter_stats RPC functions for efficient time-series aggregation.
  • API: Enhanced /api/cooperative/stats to support date range filtering, custom granularity (day/month/year), and per-meter performance metrics.
  • Frontend:
    • Implemented Generation Trend chart (Area chart for kWh).
    • Implemented Certificates Activity chart (Line chart for Issued vs. Retired).
    • Added Range Presets (30d, 90d, YTD, All Time).
    • Added Per-Meter Performance table with generation share and certificate counts.
    • Implemented CSV Export for trend data and meter performance.
    • Revamped dashboard layout for better information density and responsiveness.

Closes #350

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 4, 2026

@Julianemeka Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build analytics dashboard for energy generation statistics

1 participant