dramaling-vocab-learning/frontend/components/review
鄭沛軒 d742cf52f9 feat: BluePlayButton 內建 TTS 邏輯重構 + TypeScript 錯誤修復
重構亮點:
• BluePlayButton 內建完整 TTS 播放邏輯
• 移除 8 個組件中 97 行重複代碼
• 組件使用極度簡化:複雜配置 → 一行代碼

技術優化:
• 修復 TypeScript "Type 'never'" 錯誤
• 重新設計邏輯流程,清晰的條件分支
• 支援標準 TTS + 自定義播放兩種模式

使用簡化:
• 從: <BluePlayButton isPlaying={state} onToggle={handler} />
• 到: <BluePlayButton text="hello" />

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 16:51:45 +08:00
..
review-tests feat: BluePlayButton 內建 TTS 邏輯重構 + TypeScript 錯誤修復 2025-10-02 16:51:45 +08:00
shared feat: 全應用播放按鈕統一為藍底漸層設計 + 架構簡化 2025-10-02 15:11:02 +08:00
LoadingStates.tsx refactor: 完成Learn→Review重命名和Navigation死代碼清理 2025-09-27 18:18:43 +08:00
MasteryIndicator.tsx feat: 實現智能複習系統前端核心重構 2025-09-25 18:01:25 +08:00
NavigationController.tsx refactor: Store 架構重構 - 按功能模組組織 2025-10-02 16:01:58 +08:00
ProgressBar.tsx feat: 完成第二階段ReviewRunner導航系統整合和測試基礎設施 2025-09-29 01:52:53 +08:00
ProgressTracker.tsx refactor: 完成Learn→Review重命名和Navigation死代碼清理 2025-09-27 18:18:43 +08:00
ReviewRunner.tsx refactor: Store 架構重構 - 按功能模組組織 2025-10-02 16:01:58 +08:00
ReviewTypeIndicator.tsx feat: 實現純CEFR字符串智能複習系統和完整四情境對照表 2025-09-25 21:05:54 +08:00
TaskListModal.tsx refactor: Store 架構重構 - 按功能模組組織 2025-10-02 16:01:58 +08:00
TestStatusIndicator.tsx refactor: Store 架構重構 - 按功能模組組織 2025-10-02 16:01:58 +08:00