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

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

6pm-4-add upload CSV to Office Hours #270

Closed samliangsk closed 3 years ago

samliangsk commented 3 years ago

In this PR, I enable the users to upload CSV function for Office Hours, so that users can import large amount of data at one click instead of adding them one by one.

codecov[bot] commented 3 years ago

Codecov Report

Merging #270 (d14e0cc) into main (daa26ff) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##               main     #270    +/-   ##
==========================================
  Coverage     99.83%   99.84%            
- Complexity      390      405    +15     
==========================================
  Files            87       89     +2     
  Lines          1822     1927   +105     
  Branches         85       93     +8     
==========================================
+ Hits           1819     1924   +105     
  Misses            3        3            
Impacted Files Coverage Δ
...main/components/OfficeHours/OfficeHourCSVButton.js 100.00% <100.00%> (ø)
...vascript/src/main/pages/OfficeHours/OfficeHours.js 100.00% <100.00%> (ø)
...ascript/src/main/services/OfficeHours/UploadCSV.js 100.00% <100.00%> (ø)
...cslas/controllers/OnlineOfficeHoursController.java 100.00% <100.00%> (ø)
...edu/ucsb/ucsbcslas/entities/OnlineOfficeHours.java 100.00% <100.00%> (ø)
...c/main/java/edu/ucsb/ucsbcslas/entities/Tutor.java 100.00% <100.00%> (ø)
...a/edu/ucsb/ucsbcslas/entities/TutorAssignment.java 100.00% <100.00%> (ø)
...rc/main/java/edu/ucsb/ucsbcslas/models/Course.java 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update daa26ff...d14e0cc. Read the comment docs.

github-actions[bot] commented 3 years ago

Nice PR! Your PR can be merged once you get an approving review from a staff member and a member of your team.

Keep in mind, code reviews only count if you use the "Approve" or "Request changes" option in GitHub. You can find this under the "Files changed" tab under the "Review changes" button.

PR review process

Generated by :no_entry_sign: dangerJS against d14e0ccf9216f96fe77c4bf46c38e7cfcb9870ed