As an admin when I see try to upload Tutor information to web in Tutor page, I accidentally upload a incorrect file, and there are no checkers that can check whether the input is correct or incorrect. The whole table is messed up and I need to spend a lot of time trying to delete wrong elements in the table.
Discussion
On the Tutor page we would like to see a checker that can check if the elements in the input CSV is really for Tutors. So that Course or any other CSV will not get mistakenly uploaded to the Tutor table.
Along with the checker, we would like to see a pop up notification telling the admins that they have uploaded a incorrect file, or even prompt them about what elements the file should contain.
Acceptance Criteria
[ ] There is a checker for upload CSV for Tutor that can check if the input is really for Tutor instead of random stuffs.
[ ] There would be a notification telling the users that their upload does not fit the checker, and the correct elements the CSV should contain.
...
Implementation Todos
Front end:
[ ] Add the Notification when CSV contains incorrect elements
[ ] Add appropriate front end tests
...
Back end:
[ ] Add the checker that check the input CSV contain correct information for creating Tutors
[ ] Add appropriate back end tests
...
Testing:
[ ] Front end tests pass and there is adequate coverage
[ ] Back end tests pass and there is adequate coverage
...
User Story
As an admin when I see try to upload Tutor information to web in Tutor page, I accidentally upload a incorrect file, and there are no checkers that can check whether the input is correct or incorrect. The whole table is messed up and I need to spend a lot of time trying to delete wrong elements in the table.
Discussion
On the Tutor page we would like to see a checker that can check if the elements in the input CSV is really for Tutors. So that Course or any other CSV will not get mistakenly uploaded to the Tutor table.
Along with the checker, we would like to see a pop up notification telling the admins that they have uploaded a incorrect file, or even prompt them about what elements the file should contain.
Acceptance Criteria
Implementation Todos
Front end:
Back end:
Testing: