BellowingButcher / total-time-tracker-backend

0 stars 0 forks source link

As a team leader I want to remove specific schedules from the database just in case I upload duplicate schedules. #5

Open BellowingButcher opened 1 year ago

BellowingButcher commented 1 year ago

Points: 5

What I meant was: As a user after I have got the filtered list of schedules I should be able to select a specific schedule from that list by checking a box beside the list item and then clicking the delete button. After the delete is successful the user will be informed that the deletion was a success.

The user should be able to select a specific schedule by clicking a checkmark box and then clicking the delete button. This will remove the schedule from the users view by switching the files status field from 1 to 0. Keeping the information stored away just incase it is needed at a later time.

Testing criteria: After filtering the list of schedules the way the user wants them the items displayed on the list should contain a link to the schedules file, who uploaded it, when it was uploaded, what time frame the schedule represents, and also a check box for selecting that specific file. There should be a delete button that 'removes' all of the selected files. If nothing is selected the delete button shouldn't be clickable/just inactive.

Definition of Done: When as a team leader I can remove a schedule from the database that has been previously uploaded. The user shouldn't be able to see it if they were to run another schedule report.