dramaling-vocab-learning/backend/DramaLing.Api/Services
鄭沛軒 589a22b89d feat: 完成CardSet功能清理和測試資料優化
## 主要改動

### 後端 CardSet 功能完全移除
- 刪除 CardSet.cs 實體模型
- 移除 Flashcard 中的 CardSetId 欄位和導航屬性
- 清理 User 實體中的 CardSets 導航屬性
- 更新 DbContext 移除 CardSet 相關配置
- 修復 FlashcardsController、StatsController、StudyController 中的 CardSet 引用
- 創建和執行資料庫 migration 移除 CardSet 表和相關約束

### API 功能修復和優化
- 修復 FlashcardsController GetFlashcards 方法的 500 錯誤
- 恢復例句圖片處理功能 (FlashcardExampleImages)
- 增強錯誤日誌和調試資訊
- 簡化後重新添加完整圖片處理邏輯

### 前端測試資料完善
- 轉換 CSV 為完整的 API 響應格式
- 為所有詞彙添加圖片資料結構和URL
- 修正 exampleTranslation 為 example 的正確中文翻譯
- 更新 review-design 頁面支援動態卡片切換
- 移除 cardSetId 相關欄位

### 系統架構簡化
- 移除不使用的 CardSet 功能,專注核心 Flashcard 學習
- 統一資料格式,提升前後端一致性
- 完善測試環境的假資料支援

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-27 23:36:25 +08:00
..
AI refactor: 重構圖片生成服務架構符合專案慣例 2025-09-24 21:17:40 +08:00
Caching feat: 建立完整的架構治理系統 2025-09-23 20:25:19 +08:00
Domain/Learning refactor: 完成詞卡API架構統一與舊版代碼清理 2025-09-24 01:11:14 +08:00
Infrastructure feat: 建立完整的架構治理系統 2025-09-23 20:25:19 +08:00
Storage feat: 完整實現例句圖生成與智能壓縮功能 2025-09-24 23:43:07 +08:00
AnalysisCacheService.cs fix: 完全修復快取資料結構不一致問題和互動式單字查詢功能 2025-09-18 14:43:53 +08:00
AnalysisService.cs feat: 建立完整的架構治理系統 2025-09-23 20:25:19 +08:00
AudioCacheService.cs feat: 完成後端語音服務架構與測試文檔 2025-09-19 13:33:31 +08:00
AuthService.cs feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
AzureSpeechService.cs feat: 完成後端語音服務架構與測試文檔 2025-09-19 13:33:31 +08:00
CEFRLevelService.cs feat: 完成個人化重點學習範圍系統實現 2025-09-21 03:23:38 +08:00
CEFRMappingService.cs feat: 完成智能複習系統後端核心功能實現 2025-09-25 18:57:49 +08:00
CacheCleanupService.cs feat: 實現真正的AI驅動互動式單字查詢系統 2025-09-18 02:09:56 +08:00
GeminiService.cs refactor: 重構圖片生成服務架構符合專案慣例 2025-09-24 21:17:40 +08:00
HealthCheckService.cs feat: 實施全面的程式碼架構優化 2025-09-23 19:00:17 +08:00
IAnalysisService.cs feat: 啟用智能快取系統,實現 57,200 倍性能提升 2025-09-23 19:50:53 +08:00
IImageGenerationOrchestrator.cs feat: 完整實現例句圖生成後端API系統 2025-09-24 20:18:29 +08:00
IImageProcessingService.cs feat: 完整實現例句圖生成與智能壓縮功能 2025-09-24 23:43:07 +08:00
ImageGenerationOrchestrator.cs feat: 完整實現例句圖生成與智能壓縮功能 2025-09-24 23:43:07 +08:00
ImageProcessingService.cs feat: 完整實現例句圖生成與智能壓縮功能 2025-09-24 23:43:07 +08:00
QuestionGeneratorService.cs feat: 完成智能複習系統後端核心功能實現 2025-09-25 18:57:49 +08:00
ReplicateService.cs feat: 完整實現例句圖生成與智能壓縮功能 2025-09-24 23:43:07 +08:00
ReviewModeSelector.cs feat: 實現測驗狀態持久化和智能導航系統設計 2025-09-26 17:57:31 +08:00
ReviewTypeSelectorService.cs docs: 更新智能複習系統規格書和測試腳本 2025-09-25 21:07:54 +08:00
SM2Algorithm.cs feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
SpacedRepetitionService.cs feat: 完成後端冗餘欄位移除和資料庫遷移 2025-09-26 08:44:07 +08:00
StudySessionService.cs feat: 完成CardSet功能清理和測試資料優化 2025-09-27 23:36:25 +08:00
UsageTrackingService.cs feat: 實現真正的AI驅動互動式單字查詢系統 2025-09-18 02:09:56 +08:00