Add the ability to create requests on the student side, add the ability to...
Description
Add the ability to create requests on the student side, add the ability to update a request with the confirmation modal on the student side (only description), add the ability to update requests to 'filled' (viewed) on the admin side with confirmation modal as well. Add ability to delete request if request has 'requested' status on student side.
Issues
Closes #80
Steps to Test
Screenshots
Admin side:
Request with status REQUESTED. Clicking on eye icon opens confirmation modal, confirming visualization triggers patch on backend that changes status to filled.
Student side: All requests from specific student, note that requests already filled can't be deleted. Clicking on trash icon opens confirmation modal, confirming delete triggers delete on backend.
Request with status FILLED, when clicking the eye icon:
Request with status REQUESTED, when clicking the eye icon. Only description field can be changed, saving triggers update on backend.
Checklist (reviewers)
- Code review
- Manual test (if applicable)
- Tests added (if applicable)
- Documentation reviewed