Skip to content

v1.2.0

Choose a tag to compare

@j7-dev j7-dev released this 17 Apr 07:15
· 596 commits to master since this release

   🚀 Features

  • 新增 Spec 覆蓋率檢查工具以驗證 API endpoint 的測試覆蓋情況  -  by @j7-dev (9a56b)
  • courses:
    • 比照 Power Shop 的欄位顯示,改進課程列表 Table 欄位  -  by @j7-dev and Claude Opus 4.6 (1M context) (f2e34)
  • i18n:
    • 導入多語系基礎設施與 Claude 資源  -  by @j7-dev and Claude Opus 4.6 (1M context) (8e9bd)
    • 第一批硬編碼字串 i18n 化  -  by @j7-dev and Claude Opus 4.6 (1M context) (2c0bb)
    • 建立 zh_TW 翻譯檔並捆綁隨外掛發佈  -  by @j7-dev and Claude Opus 4.6 (1M context) (bbcb8)
    • React runtime 翻譯載入機制  -  by @j7-dev and Claude Opus 4.6 (1M context) (74145)
    • TSX 第二批 CourseDescription + CourseOther  -  by @j7-dev and Claude Opus 4.6 (1M context) (a45c7)
    • TSX 第三批 CourseBundles 整棵子樹  -  by @j7-dev and Claude Opus 4.6 (1M context) (e3a28)
    • 更新建置指令以支援國際化,新增 i18n 指令說明  -  by @j7-dev (59c02)
    • 完整 i18n 重構 inc/templates/**/*.php 所有使用者可見字串  -  by @j7-dev and Claude Opus 4.6 (1M context) (3d151)
    • 前台 vanilla TS bundle 接線 @wordpress/i18n  -  by @j7-dev (a602a)
  • progress:
    • 新增 pc_chapter_progress 資料表與 Model (Phase 1)  -  by @j7-dev and Claude Opus 4.6 (1M context) (7715e)
    • 新增 ChapterProgress Repository、Service 與 REST API (Phase 2/3)  -  by @j7-dev and Claude Opus 4.6 (1M context) (af459)
    • 整合退課清除與課程進度查詢擴充 (Phase 4)  -  by @j7-dev and Claude Opus 4.6 (1M context) (1a37d)
    • 實作前台三態 CTA、useChapterProgress hook 與 E2E 測試 (Phase 5/6/7b)  -  by @j7-dev and Claude Opus 4.6 (1M context) (01b8b)

   🐞 Bug Fixes

  • 課名較長時無法完整、正確的顯示 #154  -  by @j7-dev in #154 (97f37)
  • 講師頭項如果非 1:1 會切割到UI #198  -  by @j7-dev in #198 (799c1)
  • course:
    • 修正外部課程的 product_url 與 button_text 無法持久化的問題 #155  -  by @j7-dev and Claude Opus 4.6 (1M context) in #155 (07be5)
  • courses:
    • 加上 scroll.x 修正 fixed column 導致其他欄位消失的問題  -  by @j7-dev and Claude Opus 4.6 (1M context) (219ce)
    • 修正分類欄位 width 0 導致 header 撐高的問題  -  by @j7-dev and Claude Opus 4.6 (1M context) (23be1)
  • i18n:
    • 補齊 11 個 PHP 模板遺漏的多語系支援  -  by @j7-dev and Claude Opus 4.6 (1M context) (8f915)
    • 補齊 Utils/Course + Chapter/Api + resources 漏網中文  -  by @j7-dev (5d467)
    • 修正 phpcs 檢查中的格式與 SQL 準備問題  -  by @j7-dev and Claude Opus 4.6 (1M context) (d664f)
    • 改用 smart quotes 並補齊遺漏的硬編碼中文  -  by @j7-dev and Claude Opus 4.6 (1M context) (1ad48)
    • 新增 locale fallback 鏈避免 React 介面退化成英文  -  by @j7-dev and Claude Opus 4.6 (1M context) (d6fac)
    • 以 shim 讓 @wordpress/i18n 走 window.wp.i18n 解除 React 翻譯失效  -  by @j7-dev and Claude Opus 4.6 (1M context) (620e5)
    • 移除 locale fallback glob 保底避免語系切換失效  -  by @j7-dev and Claude Opus 4.6 (1M context) (19fd3)
  • phpstan:
    • 修復 16 個 level 9 baseline errors  -  by @j7-dev and Claude Opus 4.6 (1M context) (8baf3)
  • product:
  • progress:
    • 修正 ChapterProgress API 到期驗證與測試 401/403 斷言  -  by @j7-dev and Claude Opus 4.6 (1M context) (5b0f6)
    • 支援 JSON Content-Type + 調整 throttle 為 30 秒  -  by @j7-dev and Claude Opus 4.6 (1M context) (95264)
    • 將 bunny-stream-api 加入 ALLOWED_VIDEO_TYPES 白名單  -  by @j7-dev and Claude Opus 4.6 (1M context) (2dc1b)
    • 允許管理員預覽模式存取 progress API  -  by @j7-dev and Claude Opus 4.6 (1M context) (6bdd2)
    • 修正影片續播 seek 的 race condition  -  by @j7-dev and Claude Opus 4.6 (1M context) (45b13)
    • 修正課程 ID 查找使用 ChapterUtils::get_course_id  -  by @j7-dev and Claude Opus 4.6 (1M context) (d5a00)
    • 改用 playerRef 取代 useMediaRemote 修正 seek 失效  -  by @j7-dev and Claude Opus 4.6 (1M context) (ebba4)
    • 三點 seek 策略確保播放前即跳轉到上次位置  -  by @j7-dev and Claude Opus 4.6 (1M context) (a8ec9)
    View changes on GitHub