Skip to content

Conversation

@yushiuan9499
Copy link
Collaborator

Added

  • A manage UI that allow admin to add/update/delete time slots, and inspect the informations. The UI is based on TUI calendar.
  • In UserService.sign_in(), it must be weekday to block users if the ip doesn't match specific_ip.
  • HolidayService
    • Support add/delete time slots with priority & is_weekday type, and query is_weekday at given datetime.
    • Automatically fetch schedule from government's API & school's calendar.

Changed

  • Because the condition to block user's ip is changed, the tests for UserService also change a bit.

These functions allow admin insert a weekdays range, update a weekdays
range exists, delete a weekdays range exists, and delete all weekdays
range in given range.
If there are adjacent events with higher priority within the range
inserted, some event with zero duration will be inserted into DB. These
data are redundant.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 14 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tobiichi3227 tobiichi3227 merged commit e834b6f into TFcis:tnfsh Jan 31, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants