seas-computing / course-planner

SEAS Course Planning Application. JSDoc Docs at: https://seas-computing.github.io/course-planner/
0 stars 1 forks source link

Add Campus Information to Metadata #575

Closed natalynyu closed 1 year ago

natalynyu commented 1 year ago

This PR updates the metadata to include campus information. The campus information outlines the buildings and rooms that are in that campus. This will be used to populate the campus and building dropdowns in the Create Room modal and can be used to check that users are not creating existing campuses, buildings, and rooms.

Types of changes

Checklist:

Priority:

Related Issues:

Fixes #572

codecov[bot] commented 1 year ago

Codecov Report

Merging #575 (645a2f4) into develop (2081609) will increase coverage by 0.24%. The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #575      +/-   ##
===========================================
+ Coverage    95.70%   95.94%   +0.24%     
===========================================
  Files          186      187       +1     
  Lines         4026     4414     +388     
  Branches       474      572      +98     
===========================================
+ Hits          3853     4235     +382     
- Misses          87       92       +5     
- Partials        86       87       +1     
Impacted Files Coverage Δ
src/client/components/App.tsx 96.55% <ø> (ø)
src/common/dto/metadata/MetadataResponse.dto.ts 100.00% <100.00%> (ø)
src/common/dto/room/CampusResponse.dto.ts 100.00% <100.00%> (ø)
src/server/location/location.module.ts 100.00% <100.00%> (ø)
src/server/location/location.service.ts 100.00% <100.00%> (ø)
src/server/metadata/metadata.controller.ts 100.00% <100.00%> (ø)
src/server/metadata/metadata.module.ts 100.00% <100.00%> (ø)
...ent/components/pages/RoomSchedule/RoomSchedule.tsx 84.14% <0.00%> (-0.86%) :arrow_down:
src/common/utils/termHelperFunctions.ts 100.00% <0.00%> (ø)
...ents/pages/Schedule/blocks/CourseListingButton.tsx 100.00% <0.00%> (ø)
... and 11 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more