Go to file
Bernhard Müller 4b7b26231f feat(community): add member consumption dashboard with coverage preview
Backend:
- ConsumptionDashboardService: aggregates consumption and community
  feed-in data with daily/hourly granularity based on date range
- Coverage calculation: min(consumption, communityFeedIn) per interval
- Ownership check on dashboard endpoint
- 6 new aggregate queries in MeteringDataRepository
- findActiveMeteringPointIdsByCommunityId in MembershipRepository
- 6 unit tests for ConsumptionDashboardService

Frontend:
- Apache ECharts via ngx-echarts for chart visualization
- ConsumptionDashboardComponent with metering point selector,
  date range picker, quick-range buttons (7/30/90 days)
- Chart: blue bars (consumption), green bars (covered), orange
  line (community feed-in), tooltip with coverage percentage
- Summary cards: total consumption, coverage %, feed-in, covered kWh
- Warning when user has no community membership
- Route /dashboard/consumption (MEMBER only)

Tests: 143/143 passing
2026-07-22 13:23:58 +02:00
.idea generalized dashboard for member and admin 2026-07-05 10:49:46 +02:00
.mvn/wrapper first commit 2026-05-22 08:59:13 +02:00
eeg_backend feat(community): add member consumption dashboard with coverage preview 2026-07-22 13:23:58 +02:00
eeg_frontend feat(community): add member consumption dashboard with coverage preview 2026-07-22 13:23:58 +02:00
.dockerignore feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
.env.example feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
.gitattributes first commit 2026-05-22 08:59:13 +02:00
.gitignore feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
AGENTS.md feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
ai-context.ps1 implemented delete of energy community 2026-07-01 12:57:01 +02:00
deploy.sh feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
DEPLOYMENT.md feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
docker-compose.yml feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
Dockerfile feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
mvnw first commit 2026-05-22 08:59:13 +02:00
mvnw.cmd first commit 2026-05-22 08:59:13 +02:00
nginx-ssl.conf feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
nginx.conf feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
pom.xml first commit 2026-05-22 08:59:13 +02:00
setup-server.sh feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00
setup-ssl.sh feat(community): add metering data upload and query with XLSX support 2026-07-22 12:42:27 +02:00