Closed sadieamato closed 1 month ago
@sadieamato @meghansun322 @baileymeredith @maddyandrews
Entities CR LGTM!
@sadieamato @maddyandrews @meghansun322 @baileymeredith Looks great!! Almost there, just one last test to add 😄 for: "If the student currently has a queued ticket, don't allow new ticket creation" This will get the tickets test coverage to 100%!
You can see the specific line that is not tested by running the following in the terminal and then going to the index.html
generated in the /coverage
folder:
pytest --cov-report html:coverage --cov=backend/services backend/test/services
@sadieamato @meghansun322 @baileymeredith @maddyandrews
Services and models (and the rest of the backend) LGTM!
Went to try and generate the migration to deploy before heading out of town and ran into a couple of issues:
@KrisJordan / @sadieamato merge commit added, tests remain passing and at 100% coverage.
Office Hours Feature
Authors: Meghan Sun, Bailey DeSouza, Madelyn Andrews, Sadie Amato
Feature Description
First and foremost, this feature aims to recreate Course Care within the tech stack of the XL site, while redesigning and enhancing its features. The main functionality included here is the ticket workflow enabling connections between students and course staff. Students will be able to check into events, create tickets outlining their concerns, and be notified via sound when it is their turn. Staff members can also check into events, and they will be able to see a queue of tickets, be notified via sound when a new ticket arrives, call a ticket, and review the student. Aside from the ticket workflow, instructors, staff, and students will have various abilities, including opting in to using the system, creating events, and viewing usage statistics.
Directory Structure
Models of Office Hours Sections, Events, and Tickets were created on the frontend and backend to represent these ideas. Frontend models can be found in
/frontend/src/app/office-hours/office-hours.models.ts
, and the backend models are found within the/backend/models/office_hours/
folder. The related entities were also created in/backend/entities/office_hours/
, and the details of those are outlined here. In addition, our models are passed through the feature via components, a frontend service, backend API, and backend services. Respectively, those are found in the following directories:/frontend/src/app/office-hours/
/frontend/src/app/office-hours/office-hours.service.ts
/backend/api/office_hours/
/backend/services/office_hours/
Our unit tests can be found in the
/backend/test/services/office_hours/
directory.