dramaling-vocab-learning/frontend/components/shared
鄭沛軒 ad63b8fed8 feat: 完整修復 AI 同義詞功能並優化架構
同義詞功能修復:
- 添加 Synonyms 屬性到 Flashcard 實體並執行 migration
- 創建 Services/AI/Utils/SynonymsParser.cs 專門處理 AI 同義詞解析
- 修復 ReviewService 使用真實同義詞資料而非硬編碼空陣列
- 更新前後端 CreateFlashcardRequest DTO 支援同義詞傳輸
- 修復前端 generate page 包含 AI 生成的同義詞資料
- 前端 flashcards.ts 添加 synonyms 欄位支援

UI 優化:
- 重新設計手機版分頁導航,圓形大按鈕解決觸控問題
- 修復手機版詞卡管理佈局,解決擠壓和字體過小問題
- 統一全站詞性顯示為標準簡寫格式
- 修復詞卡詳細頁面日期顯示問題
- 導航列優化:個人檔案移至右上角用戶區域

架構改進:
- AI 邏輯集中在 Services/AI 模組
- Review 服務專注複習功能
- 前後端責任分離:後端解析,前端顯示

現在 AI 生成的同義詞完整保存並在各界面正確顯示。

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 19:57:25 +08:00
..
BluePlayButton.tsx feat: 實現 TTS 播放功能 + 改進詞彙選擇 UX 流程 2025-10-05 05:06:12 +08:00
ContentBlock.tsx feat: 完成ClickableTextV2組件重構 + 多頁面組件優化 2025-10-02 00:53:23 +08:00
ErrorState.tsx feat: 完成ClickableTextV2組件重構 + 多頁面組件優化 2025-10-02 00:53:23 +08:00
LoadingState.tsx feat: 完成ClickableTextV2組件重構 + 多頁面組件優化 2025-10-02 00:53:23 +08:00
Navigation.tsx feat: 完整修復 AI 同義詞功能並優化架構 2025-10-07 19:57:25 +08:00
PaginationControls.tsx feat: 重新設計手機版分頁導航解決字體過小問題 2025-10-07 18:49:27 +08:00
ProtectedRoute.tsx refactor: Components結構重組與死代碼清理 2025-10-01 14:44:04 +08:00
StatisticsCard.tsx feat: 完成ClickableTextV2組件重構 + 多頁面組件優化 2025-10-02 00:53:23 +08:00
TabNavigation.tsx feat: 完成ClickableTextV2組件重構 + 多頁面組件優化 2025-10-02 00:53:23 +08:00
Toast.tsx refactor: Components結構重組與死代碼清理 2025-10-01 14:44:04 +08:00
ValidatedTextInput.tsx feat: 完成ClickableTextV2組件重構 + 多頁面組件優化 2025-10-02 00:53:23 +08:00