revaturelabs / caliber-2-meta

Meta Repository for Caliber 2
5 stars 1 forks source link

Edit Trainer #65

Open Quinn-Donnelly opened 5 years ago

Quinn-Donnelly commented 5 years ago

As a VP I can edit trainer information,including changing the role of a user to rotate trainers into QC and vice versa

cjpacquing commented 5 years ago

Currently working on adding a modal to edit trainer information.

cjpacquing commented 5 years ago

@Quinn-Donnelly I had a question about adding and editing Trainer information. The model class and the database has a columns reserved for a "password" input. When we update or add the information in the front-end, would we have to have a field to update the password? If we didn't have a password field, how would we handle creating the password for a trainer in the database?

darkshadow543 commented 5 years ago

Story Points Total Time Spent (15hrs) Task 1: Check current code to see what needs to be done. (2hrs) (Done) Task 2: Create Validator (1hr) (Done) Task 3: Update Service class to handle saving (1hr) (Done) Task 4: Add Angular Components to edit Trainer (8hrs) (Done) Task 5: Update Angular Trainer Service to allow for saving (3hrs)

Quinn-Donnelly commented 5 years ago

@cjpacquing No you may leave the password field untouched and does not need to appear on the frontend

cjpacquing commented 5 years ago

Task 6. Get modal to update Trainer fields by updating service call (1 hr). Done Task 7. Close modal, and revert table to display original fields. (3-4 hrs) Done Task 8. Remove password field from modal (1 min).
Task 9. Add documentation for methods (2 hrs). Task 10. Testing (8 hrs)

ronaldlee87 commented 5 years ago

Task 8. Done Task 9. Done Task 10. Done Task 11. Fix the merging problem for front-end side to dev branch (2 hrs). Task 12. Testing the feature in dev branch (2 hrs).