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 Create Room modal #579

Closed natalynyu closed 1 year ago

natalynyu commented 1 year ago

This PR adds the Create Room modal, which allows users to create new rooms and buildings. The following rules apply to this modal:

Types of changes

Checklist:

Priority:

Related Issues:

Fixes #568

codecov[bot] commented 1 year ago

Codecov Report

Merging #579 (651c875) into develop (645a2f4) will decrease coverage by 0.13%. The diff coverage is 91.80%.

@@             Coverage Diff             @@
##           develop     #579      +/-   ##
===========================================
- Coverage    95.94%   95.80%   -0.14%     
===========================================
  Files          187      189       +2     
  Lines         4414     4604     +190     
  Branches       572      596      +24     
===========================================
+ Hits          4235     4411     +176     
- Misses          92       99       +7     
- Partials        87       94       +7     
Impacted Files Coverage Δ
src/client/context/MetadataContext.ts 82.60% <66.66%> (-17.40%) :arrow_down:
src/server/location/location.controller.ts 93.75% <85.71%> (-6.25%) :arrow_down:
src/server/location/location.service.ts 96.00% <92.00%> (-4.00%) :arrow_down:
...ent/components/pages/RoomAdmin/CreateRoomModal.tsx 93.00% <93.00%> (ø)
src/client/api/rooms.ts 100.00% <100.00%> (ø)
...rc/client/components/pages/RoomAdmin/RoomAdmin.tsx 100.00% <100.00%> (ø)
src/common/dto/room/CreateRoomRequest.dto.ts 100.00% <100.00%> (ø)
.../components/pages/Schedule/blocks/SessionBlock.tsx 89.83% <0.00%> (-1.84%) :arrow_down:
.../client/components/pages/Schedule/SchedulePage.tsx 96.90% <0.00%> (+0.75%) :arrow_up:
...ent/components/pages/RoomSchedule/RoomSchedule.tsx 85.00% <0.00%> (+0.85%) :arrow_up:
... and 1 more

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