Backend Enhancements: - E1: Energy Balance mit 7d/14d rolling averages + balance calculation - E2: Protein Adequacy mit 7d/28d rolling averages - E3: Weekly Macro Distribution (100% stacked bars, ISO weeks, CV) - E4: Nutrition Adherence Score (0-100, goal-aware weighting) - E5: Energy Availability Warning (multi-trigger heuristic system) Frontend Refactoring: - NutritionCharts.jsx komplett überarbeitet - ScoreCard component für E4 (circular score display) - WarningCard component für E5 (ampel system) - Alle Charts zeigen jetzt Trends statt nur Rohdaten - Legend + enhanced metadata display API Updates: - getWeeklyMacroDistributionChart (weeks parameter) - getNutritionAdherenceScore - getEnergyAvailabilityWarning - Removed old getMacroDistributionChart (pie) Konzept-Compliance: - Zeitfenster: 7d, 28d, 90d selectors - Deutlich höhere Aussagekraft durch rolling averages - Goal-mode-abhängige Score-Gewichtung - Cross-domain warning system (nutrition × recovery × body) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| Dockerfile | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| vite.config.js | ||