Currently only users who are in the DB can be assigned to be supervisors. We should allow for a free-form email in addition to the current select dropdown.
Outsider supervisors should also have a percentage field.
We want to also specify first name, last name, affiliation for externals.
[x] Create standalone component for the ExternalPerson which might be used by Supervisors and Graders
[x] There should be a button that expands the standalone form with the fields first name, last name, affliation, and email
[x] External users are saved in to the users table with a flag isExternal or external set to true upon submission of the form
[x] Update the frontend validation schema and display the errors on individual inputs for the external user. For example error message for firstName, lastName, and email fields individually
[x] Assert that the edit thesis works with the external users also
[x] Add integration tests for this updated logic
[x] Update and add new frontend tests for the external users
Currently only users who are in the DB can be assigned to be supervisors. We should allow for a free-form email in addition to the current select dropdown.
Outsider supervisors should also have a percentage field.
We want to also specify first name, last name, affiliation for externals.