dramaling-vocab-learning/frontend/components/shared
鄭沛軒 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
..
BluePlayButton.tsx feat: BluePlayButton 內建 TTS 邏輯重構 + TypeScript 錯誤修復 2025-10-02 16:51:45 +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 refactor: Components結構重組與死代碼清理 2025-10-01 14:44:04 +08:00
PaginationControls.tsx feat: 建立前端組件重構基礎設施 2025-10-01 20:05:00 +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