Team 1
Sprint 5 [ BUG ] Update from PR 270
Issue #287
This PR is for the Delete functionality for the /users Endpoint
the route has been changed to UserPaginated. The previous PR with the endpoint was no longer accessible. Therefore this PR includes the Delete User option in UserPaginated.js.
Team 1 Sprint 5 [ BUG ] Update from PR 270 Issue #287
This PR is for the Delete functionality for the
/users
EndpointTesting:
Navigate to the correct directory:
- cd ui/react-ui
Install all packages, modules, and dependencies:
- npm install
3.Start the app in the development model:- npm start
Navigate to Endpoint
You will see the Delete Colum on the left
A Modal will pop up that will ask you to cancel or confirm to delete the user
If you Confirm the User will be removed from the row and a pop-up with successful deletion will appear
Changes Made:
Refactored:
ConfirmDeleteUserModal.js
fromUsers.js
Refactored:ToastMessage.js
fronUsers.js
Updated:UsersPaginated.js
TIME SPEND: