globaler Filter für Qualitätsgates von Trainings #41
38
CLAUDE.md
38
CLAUDE.md
|
|
@ -135,7 +135,7 @@ frontend/src/
|
||||||
- `.claude/docs/functional/AI_PROMPTS.md` (erweitert um Fähigkeiten-Mapping)
|
- `.claude/docs/functional/AI_PROMPTS.md` (erweitert um Fähigkeiten-Mapping)
|
||||||
- `.claude/docs/technical/CENTRAL_SUBSCRIPTION_SYSTEM.md`
|
- `.claude/docs/technical/CENTRAL_SUBSCRIPTION_SYSTEM.md`
|
||||||
|
|
||||||
### v9d – Phase 2 ✅ (Deployed to Dev 23.03.2026)
|
### v9d – Phase 2 ✅ (Deployed to Production 23.03.2026)
|
||||||
|
|
||||||
**Vitalwerte & Erholung:**
|
**Vitalwerte & Erholung:**
|
||||||
|
|
||||||
|
|
@ -154,15 +154,23 @@ frontend/src/
|
||||||
- Dashboard Widget mit aktuellen Ruhetagen
|
- Dashboard Widget mit aktuellen Ruhetagen
|
||||||
|
|
||||||
- ✅ **Vitalwerte erweitert (v9d Phase 2d):**
|
- ✅ **Vitalwerte erweitert (v9d Phase 2d):**
|
||||||
- Ruhepuls + HRV (morgens)
|
- **3-Tab Architektur:** Baseline (morgens) / Blutdruck (mehrfach täglich) / Import
|
||||||
- Blutdruck (Systolisch/Diastolisch + Puls)
|
- **Baseline Vitals:** Ruhepuls, HRV, VO2 Max, SpO2, Atemfrequenz
|
||||||
- VO2 Max (Apple Watch)
|
- **Blutdruck:** Systolisch/Diastolisch + Puls, WHO/ISH-Klassifizierung
|
||||||
- SpO2 (Blutsauerstoffsättigung)
|
- **Context-Tagging:** 8 Kontexte (nüchtern, nach Essen, Training, Stress, etc.)
|
||||||
- Atemfrequenz
|
- **Inline-Editing:** Alle Messungen direkt in der Liste bearbeitbar
|
||||||
|
- **Smart Upsert:** Baseline lädt existierende Einträge automatisch
|
||||||
|
- **CSV Import:** Omron (Deutsch) + Apple Health (Deutsch/Englisch)
|
||||||
|
- **Mobile-optimiert:** Volle Breite Felder, Sektions-Überschriften
|
||||||
- Unregelmäßiger Herzschlag & AFib-Warnungen
|
- Unregelmäßiger Herzschlag & AFib-Warnungen
|
||||||
- CSV Import: Omron (Blutdruck) + Apple Health (alle Vitals)
|
|
||||||
- Trend-Analyse (7d/14d/30d)
|
- Trend-Analyse (7d/14d/30d)
|
||||||
|
|
||||||
|
**Bugfixes (23.03.2026):**
|
||||||
|
- ✅ Import-Zählung korrigiert (skipped vs. updated)
|
||||||
|
- ✅ Deutsche Spaltennamen für CSV-Imports (Ruhepuls, Herzfrequenzvariabilität, etc.)
|
||||||
|
- ✅ Dezimalwerte-Parsing (safe_int/safe_float für Apple Health Exports)
|
||||||
|
- ✅ Error-Details in Import-Response (erste 10 Fehler im Frontend sichtbar)
|
||||||
|
|
||||||
- 🔲 **HF-Zonen + Erholungsstatus (v9d Phase 2e):**
|
- 🔲 **HF-Zonen + Erholungsstatus (v9d Phase 2e):**
|
||||||
- HF-Zonen-Verteilung pro Training
|
- HF-Zonen-Verteilung pro Training
|
||||||
- Recovery Score basierend auf Ruhepuls + HRV + Schlaf
|
- Recovery Score basierend auf Ruhepuls + HRV + Schlaf
|
||||||
|
|
@ -172,8 +180,9 @@ frontend/src/
|
||||||
- Migration 010: sleep_log Tabelle (JSONB segments)
|
- Migration 010: sleep_log Tabelle (JSONB segments)
|
||||||
- Migration 011: rest_days Tabelle (Kraft, Cardio, Entspannung)
|
- Migration 011: rest_days Tabelle (Kraft, Cardio, Entspannung)
|
||||||
- Migration 012: Unique constraint rest_days (profile_id, date, rest_type)
|
- Migration 012: Unique constraint rest_days (profile_id, date, rest_type)
|
||||||
- Migration 013: vitals_log Tabelle (Ruhepuls, HRV)
|
- Migration 013: vitals_log Tabelle (Ruhepuls, HRV) - deprecated
|
||||||
- Migration 014: Extended vitals (BP, VO2 Max, SpO2, respiratory_rate)
|
- Migration 014: Extended vitals (BP, VO2 Max, SpO2, respiratory_rate) - deprecated
|
||||||
|
- Migration 015: **Vitals Refactoring** - Trennung in vitals_baseline + blood_pressure_log
|
||||||
|
|
||||||
📚 Details: `.claude/docs/functional/TRAINING_TYPES.md`
|
📚 Details: `.claude/docs/functional/TRAINING_TYPES.md`
|
||||||
|
|
||||||
|
|
@ -237,6 +246,17 @@ subscriptions · coupons · coupon_redemptions · features
|
||||||
tier_limits · user_feature_restrictions · user_feature_usage
|
tier_limits · user_feature_restrictions · user_feature_usage
|
||||||
access_grants · user_activity_log
|
access_grants · user_activity_log
|
||||||
|
|
||||||
|
v9d neu (Training & Vitals):
|
||||||
|
training_types – 29 Trainingstypen in 7 Kategorien
|
||||||
|
activity_type_mappings – Lernendes Mapping-System (Deutsch/Englisch)
|
||||||
|
sleep_log – Schlaf mit JSONB segments (Phasen)
|
||||||
|
rest_days – Multi-dimensionale Ruhetage (Kraft/Cardio/Entspannung)
|
||||||
|
vitals_baseline – Morgenmessung (RHR, HRV, VO2 Max, SpO2, resp_rate)
|
||||||
|
blood_pressure_log – Blutdruck mehrfach täglich mit Context-Tagging
|
||||||
|
|
||||||
|
Deprecated (v9d Phase 2d):
|
||||||
|
vitals_log → vitals_log_backup_pre_015 (nach Migration 015)
|
||||||
|
|
||||||
Infrastruktur:
|
Infrastruktur:
|
||||||
schema_migrations – Tracking für automatische DB-Migrationen
|
schema_migrations – Tracking für automatische DB-Migrationen
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user