Closed chonger878 closed 3 years ago
Date Task Time 3/12/21 Researched React JS UI for buttons 30 mins 3/13/21 Started to write code for button 20 mins 3/17/21 Research/ Edited code since previous version was not correct 1 hr 3/19/21 Clean up/worked on documentation for PR and task 2 hrs
What is it for? This task will create/implement a feature in which a user can select a single task and click on the delete button to delete it.
Note: DISCLAIMER: I have not been able to get the react app to run. I have tried npm start and npm start run. I even researched the problem on stack overflow, which involved me checking the package.json file for both the app and the REACT UI, but I haven't been able to find a concrete solution. I am not sure if it is my machine or if it is a potential BUG. Just a heads up.
To test the PR: To test the button: 1.) Type npm start (either inside VSC or nodejs) 2.) Window will open in your default browser (Mines was set to Firefox) 3.) Navigate to users/{user_id}/tasks 4.) Add/Find an existing task 5.) Press the "Delete Task" button for that task. 6.) The task should be deleted at this point--to check, you can navigate to the tasks page and see if it has been deleted.