Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hall tasks #1128

Merged
merged 2 commits into from
Jan 20, 2025
Merged

Hall tasks #1128

merged 2 commits into from
Jan 20, 2025

Conversation

RossClark01
Copy link
Contributor

Database Table Updates

  • New and Updated Tables:
    • HallTasks: Stores task information.
    • Hall_Task_Occurrence: Stores task occurrences.

Views

  • New View:
    • CurrentTasks: Provides RAs with daily tasks.

Stored Procedure

  • Added Stored Procedure:
    • Creates task occurrences as needed once the date of the previous recurring task has ended.
    • This procedure should be scheduled to run daily.

APIs

  • Task Management:

    • [HttpPost("halls/task")]
      Creates a new task.

    • [HttpPatch("halls/task/{taskID}")]
      Modifies an existing task by ID.

    • [HttpDelete("halls/task/{taskID}")]
      Deletes a task by ID.

  • Task Occurrence Completion:

    • [HttpPatch("halls/task/Complete/{taskID}")]
      Marks a task occurrence as completed.
  • Viewing Tasks:

    • [HttpGet("Halls/{hallId}/ActiveTasks")]
      Retrieves the list of active tasks per hall.

    • [HttpGet("Halls/{hallId}/DailyTasks")]
      Retrieves the list of task occurrences for a hall for the current day.

@RossClark01 RossClark01 self-assigned this Jan 19, 2025
@RossClark01 RossClark01 requested a review from jtasonye January 19, 2025 20:14
@RossClark01 RossClark01 added the WheresMyRAProject24-25 Related to the Where's My RA Senior Project label Jan 19, 2025
Copy link
Contributor

@jtasonye jtasonye left a comment

Choose a reason for hiding this comment

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

Hey Ross, LGTM!

@jtasonye jtasonye merged commit 21de145 into wheres-my-ra Jan 20, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WheresMyRAProject24-25 Related to the Where's My RA Senior Project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants