The UI should be updated so we can delete a specific user on the user's webpage.
How to test it:
Navigate to the correct directory:
- cd ui/react-ui
Install all packages, modules, and dependencies:
- npm install
Start the app in the development model:
- npm start
After you start npm start you should see the following:
Next Step:
[ ] Navigate to /users
Next Step:
[ ] After all users have been loaded you should see the new Remove User with Delete Option
Next Step:
[ ] Select the user you want to delete [ look at the row and click on the delete field] Verify that you can see a pop-up that includes the first and lastname of the user you want to delete. The pop-up includes a Cancel and Confirm option.
When you select Cancel the pop-up closes and nothing happens. When you select Confirm you will see a pop-up on the right top that shows a confirmation if the user got deleted successfully, if not it shows an error message
You can verify that the user no longer exists in the DB.
TIME SPEND:
DATE
ACTIVITY
TIME
03/11/21
Reviewed UI Features and started implementing Delete Options
2hr
03/13/21
Fixed modal pop up
2 Hr
03/13/21
Encountered an issue with delete method
1hr
03/13/21
Worked on fixing delete request for HTTPTriggerUsersUserId
~1hr
03/14/21
Worked on Delete issue with HTTP Trigger and fixed it
This PR is for TASK 238
How to test it:
- cd ui/react-ui
- npm install
- npm start
After you start npm start you should see the following:![image](https://user-images.githubusercontent.com/32443542/111101320-e1d40a80-8506-11eb-9fc9-0fe959854a74.png)
Next Step:
[ ] Navigate to
/users
Next Step:
[ ] After all users have been loaded you should see the new Remove User with Delete Option![image](https://user-images.githubusercontent.com/32443542/111101565-6b83d800-8507-11eb-8092-3d84951a1b3e.png)
Next Step:
[ ] Select the user you want to delete [ look at the row and click on the delete field] Verify that you can see a pop-up that includes the first and lastname of the user you want to delete. The pop-up includes a Cancel and Confirm option.
When you select Cancel the pop-up closes and nothing happens. When you select Confirm you will see a pop-up on the right top that shows a confirmation if the user got deleted successfully, if not it shows an error message
TIME SPEND: