North-Seattle-College / ad440-winter2021-thursday-repo

NSC AD 440 Winter 2021 Thursday cohort practicum repo
Apache License 2.0
2 stars 27 forks source link

Delete User on UsersPaginated #291

Closed theKunte closed 3 years ago

theKunte commented 3 years ago

Team 1 Sprint 5 [ BUG ] Update from PR 270 Issue #287

This PR is for the Delete functionality for the /users Endpoint

Testing:

  1. Navigate to the correct directory: - cd ui/react-ui

  2. Install all packages, modules, and dependencies: - npm install 3.Start the app in the development model: - npm start

  3. Navigate to Endpoint

    • /users
    • image

  4. You will see the Delete Colum on the left
    image

    • if you want to delete a user you can click on the row
  5. A Modal will pop up that will ask you to cancel or confirm to delete the user image

  6. If you Confirm the User will be removed from the row and a pop-up with successful deletion will appear image

Changes Made:

Refactored: ConfirmDeleteUserModal.js from Users.js Refactored: ToastMessage.js fron Users.js Updated: UsersPaginated.js

TIME SPEND:

DATE ACTIVITY TIME
03/17/2021 Review UsersPaginated Page and started implementing Delete User Option for UsersPaginated.js instead of Users.js 2 hours
03/18/2021 implemented and tested Delete Option for UsersPaginated.js 1.5 hours
03/18/2021 Wrote this PR 30 min
TOTAL HOURS SPENT 4hr