Commit Graph

2 Commits

Author SHA1 Message Date
鄭沛軒 b45d119d78 fix: 修正 generate 頁面硬編碼 API URL 問題
- 🔧 修正 app/generate/page.tsx 中的硬編碼端口
- 🔧 修正 useSentenceAnalysis.ts Hook 中的硬編碼端口
-  統一使用 API_CONFIG.BASE_URL 配置
-  修正 "Failed to fetch" 錯誤
- ⚙️ 確保 AI 句子分析功能正常運作

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-05 20:47:48 +08:00
鄭沛軒 b7e7a723bf feat: 新增Generate頁面組件重構架構 + 語法錯誤修復
• 新增專用組件庫:
  - GrammarCorrectionPanel: 語法修正面板組件
  - IdiomDetailModal: 慣用語詳情彈窗組件
  - IdiomDisplaySection: 慣用語展示區組件

• 修復Generate頁面語法錯誤,確保前端正常編譯
• 更新重構計劃文檔,記錄進度統計

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 03:00:04 +08:00