Adding the Manage Members Page - #649
Conversation
|
I added tests for the new Manage Members helper logic. The tests cover the smaller helper functions separately so the behavior is easier to verify and debug:
I marked the database-dependent tests with All tests in |
…dentSoftwareDevTeam/lsf into Bright_Artem_manage_people
…dentSoftwareDevTeam/lsf into Bright_Artem_manage_people
conwelld
left a comment
There was a problem hiding this comment.
I think the color of the pop-up that confirms a member's removal should change, because it is not consistent with the color used for warnings.
| from app.models.supervisorDepartment import SupervisorDepartment | ||
|
|
||
|
|
||
| def supervisorsDbToDict(supervisor): |
There was a problem hiding this comment.
what you should do is remove this function totally in app>logic>getsupervisors.py there is a function call buildSupervisorDisplay that is technically what you are doing and that function is there but it is smaller go ahead and make changes to it so that it reflects what you want to but at the same time there is a route that uses the buildsupervisordisplay function so make the test for the logic and controller are not broken and are returning right
…partments and supervisor can only manage depts that they have a record in
We have added the Manage Members page, which can be accessed through the Members card on the Department Portal.
WHAT'S WORKING:
WHAT'S NOT WORKING: