ucsb-cs156-s21 / proj-ucsb-cs-las

https://proj-ucsb-cs-las.herokuapp.com/
MIT License
2 stars 3 forks source link

Allow linking Office Hour to a specific room slot on backend #245

Open RaghubirChimni opened 3 years ago

RaghubirChimni commented 3 years ago

User Story

As an admin, I can now link an office hour to a specific room slot. This lets us know which office hours will be using which physical room slots, so that we can figure out how busy the room will be, which rooms are currently unused, etc.

Discussion

Recently, the room slot entity was created to store information about the location of an office hour. This issue aims to connect the room slot entity with the office hour entity to make the process of managing office hours simpler. Ultimately, the office hour entity will have fewer properties (id, tutor assignment, room slot, zoom room link, notes) without losing any functionality. This issue implements this change in the back end, while #292 implements the front end. This should make issue #193 much simpler because the office hour query will include all upcoming office hour information.

Acceptance Criteria

Implementation Todos

Front end:

The front end of this issue should be implemented in issue #292.

Back end:

Testing: