dramaling-vocab-learning/frontend/components/shared
鄭沛軒 6600dbf33a feat: 完成ClickableTextV2組件重構 + 多頁面組件優化
重構成果:
1. ClickableTextV2: 413→114行 (減少72%)
2. Flashcards頁面: 305→277行 (減少9%)
3. 新建10個通用組件,大幅提升重用性

ClickableTextV2重構亮點:
- 建立word組件模組 (types.ts, useWordAnalysis Hook, WordPopup)
- 重用現有Modal + ContentBlock組件
- 業務邏輯與UI完全分離
- 編譯通過,功能完整

通用組件庫建立:
- LoadingState, ErrorState (全站通用狀態)
- StatisticsCard, ContentBlock (多色彩變體)
- ValidatedTextInput, TabNavigation (表單與導航)
- FlashcardActions, EditingControls等詞卡專用組件

Bundle優化:
- flashcards詳情頁: 8.62KB→6.36KB
- flashcards列表頁: 12.1KB→10.4KB

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 00:53:23 +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
TTSButton.tsx feat: 完成詞卡詳情頁面Hook重構 - 第二階段優化減少19.5% 2025-10-01 23:30:03 +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