feat: Datenquelle auf statische JSON-Dateien in public umgestellt

- Fetch-API in `LoopChartActionBar.tsx` angepasst, um Mock-Daten aus `/public/CPLmockData/kuesChartData/` zu laden.
- Mock-Daten als statische JSON-Dateien (`DIA0.json`, `DIA1.json`, `DIA2.json`) hinzugefügt.
- `LoopMeasurementChart.tsx` angepasst, um die Daten aus dem Redux-Store zu verwenden.
- Debugging-Logs entfernt und Fehlerbehandlung für fehlgeschlagene API-Requests verbessert.

Mock-Daten können jetzt ohne API-Server geladen werden.
This commit is contained in:
ISA
2025-02-20 12:24:42 +01:00
parent 8ebf3715d0
commit ac9b94eb5f
7 changed files with 32 additions and 64 deletions

View File

@@ -0,0 +1,4 @@
[
{ "t": "2025-02-14 00:00:00", "i": 10.3, "a": 10.9, "g": 10.6 },
{ "t": "2025-02-13 00:00:00", "i": 9.8, "a": 10.4, "g": 10.1 }
]