feat: add extended training types (cardio walk/dance, mind & meditation)
Deploy Development / deploy (push) Successful in 49s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 13s

- Migration 005: Add cardio subcategories (Gehen, Tanzen)
- Migration 005: Add new category "Geist & Meditation" with 4 subcategories
  (Meditation, Atemarbeit, Achtsamkeit, Visualisierung)
- Update categories endpoint with mind category metadata
- Update Apple Health mapping: dance → dance, add meditation/mindfulness
- 6 new training types total

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Opus 4.6 committed 2026-03-21 15:16:07 +01:00
1 parent 96b0acacd2
commit d164ab932d
3 files changed
+33 -1

No files matched your search

+3 -1
View File
@@ -135,10 +135,12 @@ def get_training_type_for_apple_health(workout_type: str):
'martial arts': 'technique',
'boxing': 'sparring',
'rowing': 'rowing',
'dance': 'other',
'dance': 'dance',
'core training': 'functional',
'flexibility': 'static',
'cooldown': 'regeneration',
'meditation': 'meditation',
'mindfulness': 'mindfulness',
}
subcategory = mapping.get(workout_type.lower())