dramaling-vocab-learning/frontend
鄭沛軒 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
..
app refactor: Store 架構重構 - 按功能模組組織 2025-10-02 16:01:58 +08:00
components feat: BluePlayButton 內建 TTS 邏輯重構 + TypeScript 錯誤修復 2025-10-02 16:51:45 +08:00
contexts feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
data feat: 完成前端 difficulty_level → cefr 欄位遷移 2025-10-01 17:46:02 +08:00
hooks refactor: Store 架構重構 - 按功能模組組織 2025-10-02 16:01:58 +08:00
lib refactor: Store 架構重構 - 按功能模組組織 2025-10-02 16:01:58 +08:00
public feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
store refactor: Store 架構重構 - 按功能模組組織 2025-10-02 16:01:58 +08:00
types feat: 完成前端大規模架構重組與術語統一 2025-10-01 16:15:17 +08:00
utils feat: 完成前端動態答案推導系統和UI組件優化 2025-09-28 02:24:59 +08:00
next.config.mjs feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
package-lock.json refactor: 重構Review狀態管理 - 解決useReviewStore過度集中問題 2025-09-28 22:08:40 +08:00
package.json refactor: 重構Review狀態管理 - 解決useReviewStore過度集中問題 2025-09-28 22:08:40 +08:00
postcss.config.js feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
tailwind.config.ts feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00
tsconfig.json feat: DramaLing 完整版本 - 韓劇單字學習應用 2025-09-16 23:06:47 +08:00