Commit Graph

2 Commits

Author SHA1 Message Date
鄭沛軒 df1c2b92ef feat: 全應用播放按鈕統一為藍底漸層設計 + 架構簡化
組件統一:
• 創建 BluePlayButton 統一組件 - 支援 sm/md/lg 三種尺寸
• 替換 10 個組件中的播放按鈕為統一的藍底漸層設計
• 移除 AudioPlayer 中間層抽象,直接使用 BluePlayButton

清理優化:
• 刪除未使用的 TTSButton 和 AudioPlayer 組件
• 簡化組件架構,每個組件內建 TTS 播放邏輯
• 統一 speechSynthesis API 使用方式

視覺統一:
• 藍底漸層 + 綠色播放中狀態 + 波紋動畫
• 響應式尺寸適配不同使用場景
• 完整的播放/暫停/禁用狀態設計

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 15:11:02 +08:00
鄭沛軒 63c42fd72c feat: 完成智能複習系統核心架構開發
## 新增功能
- BaseTestComponent: 統一測驗元件基礎架構
- NavigationController: 智能導航控制系統(實現PRD US-008)
- TestStatusIndicator: 測驗狀態視覺化元件
- AnswerActions: 標準化答題動作元件集合
- TestContainer: 統一測驗布局容器

## 擴充功能
- TestQueueStore: 新增跳過隊列管理和優先級演算法(實現PRD US-009)
- TaskListModal: 整合新視覺化元件

## 核心特色
- 狀態驅動導航:答題前顯示「跳過」,答題後顯示「繼續」
- 智能優先級排序:未嘗試(100) > 答錯(20) > 跳過(10)
- 四狀態視覺化:已答對 已答錯 ⏭️已跳過 未完成

## 技術實現
- 完整TypeScript類型支援
- React.memo效能優化
- 統一元件介面規範
- 優先級演算法實現

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 00:07:56 +08:00