Repository navigation
fix: 跑班 5 組以內列出老師、先調課再請假不重複列節次;發布 v1.4.16 - #81
Merged
Merged
Conversation
- 班級、場地課表(畫面、匯出、某一週課表)的跑班格子改為 6 組以上才只寫「共 N 組」;巡堂表維持 4 - 登記請假時跳過已在別張有效假單或「調課(未請假)」裡的節次,回傳 skipped 讓畫面說明;代導照常產生 - 假單上的代導說明:銷假後寫「已銷假,代導已取消」,都安排好寫「都已處理」 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
需求(LINE 社群組長回報)
跑班 5 組以內列出老師
patrol_sheets.GRID_GROUP_LIST_MIN、前端groupCells.GROUP_LIST_MIN)。先調課、再請假
leaves.create改成跳過已在別張有效假單或調課裡的節次(taken_slots,與「新增調課」的檢查是同一條規則,方向相反),回傳skipped。POST /leaves的回應多了skipped(只有登記時才有),畫面會寫「12/2 第一節、第五節已在『調課(未請假)』裡處理,不重複列入」。銷假後的代導顯示
coverHint決定:測試
test_leave_after_swap_v1416.py(5 項),test_exports補 5 組、6 組的情況;ruff、mypy 無誤。leaveText.test.ts,groupCells.test.ts改成 5 組、6 組;lint、vue-tsc 無誤。文件
.env.example。🤖 Generated with Claude Code