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

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

Add the ability to check malformed inputs for all upload CSV functions #326

Open samliangsk opened 3 years ago

samliangsk commented 3 years ago

User Story

As an admin, when I try to upload CSV to Courses, Tutors, Tutor Assignments, and Office Hours, I might mistakenly upload a CSV that contains malformed data. I want to web able to tell me what is wrong and prevent stop uploading the wrong data.

Discussion

On the Courses, Tutors, Tutor Assignments, and Office Hours page, we already have the ability to upload a CSV to speed up the process of creating courses. However, it does not check if the CSV contains bad/malformed data or not.

Acceptance Criteria

Implementation Todos

Front end:

Back end:

Testing: