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 |
||
|---|---|---|
| .idea | ||
| .mvn/wrapper | ||
| eeg_backend | ||
| eeg_frontend | ||
| .dockerignore | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| AGENTS.md | ||
| ai-context.ps1 | ||
| deploy.sh | ||
| DEPLOYMENT.md | ||
| docker-compose.yml | ||
| Dockerfile | ||
| mvnw | ||
| mvnw.cmd | ||
| nginx-ssl.conf | ||
| nginx.conf | ||
| pom.xml | ||
| setup-server.sh | ||
| setup-ssl.sh | ||