V1 Team modal fixes
From feedback in #75 (closed)
I'd suggest that when you click the "x" after a role in the roles dropdown (see below) that you don't remove the member from the group automatically. Instead you let the person using the modal, choose a new role. If you really do not allow members without roles to remain in the group, then when someone chooses Save, you could pop up a message that says, you have a member(s) without a role, please Remove the member or assign them a role before saving.
I agree with this. The editor may want to remove one role before assigning another role -- this isn't possoble since the user row is deleted when the role is removed.
See screen recording for changes: team-modal-20200603
-
Instead of removing the user row when all roles are removed, show validation text "Role required" (Let me know if you have a better suggestion). -
When adding a role to an existing user, the user role should not change. In the video user 'Bo' moves from first row to last row -
Change the button text "Unassign" to "Remove from team". -
The "x" at the end of the dropdown where you select the username in order to add a member does not work to clear the username, instead it pulls up the dropdown menu.