From 40a4739349ad35876ec2d8372e8ebd3ca0a40e7e Mon Sep 17 00:00:00 2001 From: Lars Date: Sat, 21 Mar 2026 21:25:18 +0100 Subject: [PATCH] docs: mark v9d Phase 1b as deployed to production - Successful production deployment confirmed (21.03.2026) - Document complete learnable mapping system - List all 4 migrations (004-007) - Update roadmap: Phase 2 next v9d Phase 1b complete: - 29 training types - DB-based learnable mapping system - Apple Health import with German support - Inline editing UX - Auto-learning from bulk categorization Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 64 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 35 insertions(+), 29 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 166b058..75e5320 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -93,43 +93,49 @@ frontend/src/ - ✅ **Navigation-Fixes:** Alle Login/Verify-Flows funktionieren korrekt - ✅ **Error-Handling:** JSON-Fehler sauber formatiert, Dashboard robust bei API-Fehlern -### Auf develop (bereit für Prod) 🚀 -**v9d Phase 1b - Feature-komplett, ready for deployment** +### v9d – Phase 1b ✅ (Deployed to Production 21.03.2026) -- ✅ **Trainingstypen-System (komplett):** - - 29 Trainingstypen (7 Kategorien) - - Admin-CRUD mit vollständiger UI - - Automatisches Apple Health Mapping (23 Workout-Typen) - - Bulk-Kategorisierung für bestehende Aktivitäten - - Farbige Typ-Badges in Aktivitätsliste - - TrainingTypeDistribution Chart in History-Seite +**Trainingstypen-System mit lernendem Mapping:** + +- ✅ **29 Trainingstypen** in 7 Kategorien (inkl. Geist & Meditation) +- ✅ **Lernendes Mapping-System (DB-basiert):** + - Tabelle `activity_type_mappings` statt hardcoded + - 40+ Standard-Mappings (Deutsch + English) + - Auto-Learning: Bulk-Kategorisierung speichert Mappings + - User-spezifische + globale Mappings + - Admin-UI für Mapping-Verwaltung (inline editing) + - Coverage-Stats (% zugeordnet vs. unkategorisiert) +- ✅ **Apple Health Import:** + - Deutsche Workout-Namen unterstützt + - Automatisches Mapping via DB + - Duplikat-Erkennung (date + start_time) + - Update statt Insert bei Reimport +- ✅ **UI-Features:** - TrainingTypeSelect in ActivityPage + - Farbige Typ-Badges in Aktivitätsliste + - TrainingTypeDistribution Chart in History + - Bulk-Kategorisierung (selbstlernend) + - Admin-CRUD für Trainingstypen + - Admin-CRUD für Activity-Mappings (inline editing) -- ✅ **Weitere Verbesserungen:** - - TrialBanner mailto (Vorbereitung zentrales Abo-System) - - Admin-Formular UX-Optimierung (Full-width inputs, größere Textareas) +**Migrations:** +- Migration 004: training_types Tabelle + 23 Basis-Typen +- Migration 005: Extended types (Gehen, Tanzen, Geist & Meditation) +- Migration 006: abilities JSONB column (Platzhalter für v9f) +- Migration 007: activity_type_mappings (lernendes System) -- 📚 **Dokumentation:** - - `.claude/docs/technical/CENTRAL_SUBSCRIPTION_SYSTEM.md` - - `.claude/docs/functional/AI_PROMPTS.md` (erweitert um Fähigkeiten-Mapping) +**Dokumentation:** +- `.claude/docs/functional/AI_PROMPTS.md` (erweitert um Fähigkeiten-Mapping) +- `.claude/docs/technical/CENTRAL_SUBSCRIPTION_SYSTEM.md` -### v9d – Phase 1 ✅ (Deployed 21.03.2026) -- ✅ **Trainingstypen Basis:** DB-Schema, 23 Typen, API-Endpoints -- ✅ **Logout-Button:** Im Header neben Avatar, mit Bestätigung -- ✅ **Components:** TrainingTypeSelect, TrainingTypeDistribution - -### v9d – Phase 1b ✅ (Abgeschlossen, auf develop) -- ✅ ActivityPage: TrainingTypeSelect eingebunden -- ✅ History: TrainingTypeDistribution Chart + Typ-Badges bei Aktivitäten -- ✅ Apple Health Import: Automatisches Mapping (29 Typen) -- ✅ Bulk-Kategorisierung: UI + Endpoints -- ✅ Admin-CRUD: Vollständige Verwaltung inkl. UX-Optimierungen - -### v9d – Phase 2+ 🔲 (Später) +### v9d – Phase 2 🔲 (Nächster Schritt) +**Vitalwerte & Erholung:** - 🔲 Ruhetage erfassen (rest_days Tabelle) - 🔲 Ruhepuls erfassen (vitals_log Tabelle) - 🔲 HF-Zonen + Erholungsstatus -- 🔲 Schlaf-Modul +- 🔲 Schlaf-Modul (Basis) + +📚 Details: `.claude/docs/functional/TRAINING_TYPES.md` 📚 Details: `.claude/docs/technical/MEMBERSHIP_SYSTEM.md` · `.claude/docs/architecture/FEATURE_ENFORCEMENT.md`