From a9e9a6e457479106be01a4ade5bb2ef091a7305f Mon Sep 17 00:00:00 2001 From: Lasse Rune Hansen Date: Mon, 8 Jun 2026 20:52:12 +0200 Subject: [PATCH] docs(features): update lesson-management feature document with completed Phase 2 tasks - Marked Phase 2: Backend Services as COMPLETED - Updated all Phase 2 tasks as completed - Updated Backend task list with new service files Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- docs/ROADMAP.md | 2 +- docs/features/lesson-management.md | 19 ++++++++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index 8aa2e73..fc60405 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -91,7 +91,7 @@ Implement the core backend functionality, including lesson management, AI servic ### Features | # | Feature | Description | Hours | Status | Dependencies | |---|---------|-------------|-------|--------|--------------| -| 2.1 | [Lesson Management](features/lesson-management.md) | Lessons, levels, progress tracking | 10-16h | 🚀 In Progress (Phase 1: DB & Models ✅) | Phase 1 | +| 2.1 | [Lesson Management](features/lesson-management.md) | Lessons, levels, progress tracking | 10-16h | 🚀 In Progress (Phase 1 & 2 ✅) | Phase 1 | | 2.2 | [AI Services](features/ai-services.md) | Mistral, Vosk, Coqui TTS integration | 10-16h | ⏳ Planned | Phase 1 | | 2.3 | [Vocabulary System](features/vocabulary-system.md) | Word storage, audio, import | 8-12h | ⏳ Planned | Phase 1, 2.1 | | 2.4 | [Quiz System](features/quiz-system.md) | Multiple question types, scoring | 6-10h | ⏳ Planned | Phase 1, 2.1 | diff --git a/docs/features/lesson-management.md b/docs/features/lesson-management.md index c522fd4..dbf5f25 100644 --- a/docs/features/lesson-management.md +++ b/docs/features/lesson-management.md @@ -12,6 +12,8 @@ **Phase 1: Database & Models - COMPLETED ✅** +**Phase 2: Backend Services - COMPLETED ✅** + --- ## 📌 Overview @@ -142,12 +144,12 @@ Each lesson contains: - [x] Seed initial A1 level and lessons ### Phase 2: Backend Services (3-5 hours) -- [ ] Create LevelService with CRUD operations -- [ ] Create LessonService with CRUD operations -- [ ] Create ProgressService to track user progress -- [ ] Implement sequential unlocking logic -- [ ] Create DTOs for Level, Lesson, UserProgress -- [ ] Create mapping profiles (AutoMapper or manual) +- [x] Create LevelService with CRUD operations +- [x] Create LessonService with CRUD operations +- [x] Create ProgressService to track user progress +- [x] Implement sequential unlocking logic +- [x] Create DTOs for Level, Lesson, UserProgress +- [x] Create mapping profiles (manual extension methods) ### Phase 3: API Controllers (2-3 hours) - [ ] Create LevelsController @@ -192,7 +194,10 @@ Each lesson contains: - [x] Create Infrastructure/Data/Repositories/UserProgressRepository.cs - [x] Create Application/DTOs/LevelDto.cs - [x] Create Application/DTOs/LessonDto.cs -- [ ] Create Application/DTOs/UserProgressDto.cs +- [x] Create Application/DTOs/UserProgressDto.cs +- [x] Create Application/Services/LevelService.cs +- [x] Create Application/Services/LessonService.cs +- [x] Create Application/Services/ProgressService.cs - [ ] Create Application/Services/LevelService.cs - [ ] Create Application/Services/LessonService.cs - [ ] Create Application/Services/ProgressService.cs