refactor(autoFetchMatchResultsService, MYTISCHTENNIS_AUTO_FETCH_README.md, Optimization TODO): enhance data processing and documentation

- Refactored the `autoFetchMatchResultsService` to separate single and double player statistics processing into distinct methods, improving code clarity and maintainability.
- Updated the README to reflect the current status of rating updates and match results, marking them as active and detailing their functionalities.
- Closed several TODOs in the optimization documentation, confirming the implementation of previously outlined tasks and ensuring no open inline TODOs remain in the main views.
This commit is contained in:
Torsten Schulz (local)
2026-03-17 16:04:10 +01:00
parent 6320c5ca72
commit 414c5ccee5
4 changed files with 125 additions and 85 deletions

View File

@@ -39,21 +39,33 @@ Diese Liste beschreibt die naechsten sinnvollen Optimierungsschritte nach dem zu
## Prioritaet B
- [ ] Offene Backend-TODOs in `autoFetchMatchResultsService.js` schliessen.
- [x] Offene Backend-TODOs in `autoFetchMatchResultsService.js` schliessen.
Aktuelle Fundstellen:
- Datenverarbeitung/Speicherung an einer Reststelle
- Double-Statistiken noch nicht gespeichert
Ziel:
- Rest-TODOs entweder implementieren oder bewusst entfernen/dokumentieren
Erledigt am 2026-03-17:
- Single-/Double-Statistiken in explizite Verarbeitungsschritte aufgeteilt
- Doppelpartner werden jetzt ebenfalls gegen lokale Mitglieder gematcht
- myTischtennis-Spieler-IDs werden fuer beide Doppelspieler nachgezogen
- offene Inline-TODOs im Service entfernt
- [ ] Rating-Update-Logik aus `MYTISCHTENNIS_AUTO_FETCH_README.md` wirklich fertigstellen oder die Doku an den Ist-Zustand angleichen.
- [x] Rating-Update-Logik aus `MYTISCHTENNIS_AUTO_FETCH_README.md` wirklich fertigstellen oder die Doku an den Ist-Zustand angleichen.
Grund: In der Doku stehen noch offene Kernpunkte, die spaeter verwirrend sind, wenn der Scheduler als "fertig" wahrgenommen wird.
Erledigt am 2026-03-17:
- Doku auf den aktuellen Scheduler-/HTTP-Trigger-Stand gebracht
- Rating-Updates und Match-Results als aktiv dokumentiert
- nur die tatsaechlich noch offenen fachlichen Restpunkte verbleiben
- [ ] Gruppenzuordnungs-REST-TODO in `DiaryView.vue` schliessen.
- [x] Gruppenzuordnungs-REST-TODO in `DiaryView.vue` schliessen.
Aktuelle Fundstelle:
- `// TODO: API-Call zum Speichern der Gruppenzuordnung`
Ziel:
- keine offenen Inline-TODOs in produktiv genutzten Hauptviews
Erledigt am 2026-03-17:
- toten lokalen Stub fuer Aktivitaets-Gruppenzuordnung entfernt
- damit keine offene Schein-REST-Stelle mehr in der Hauptview
## Prioritaet C