Description
We need to add a new multiselect combobox field called "Supervisors" to the Edit User form. This combobox should list all users in the app, allowing the selection of multiple supervisors for each user. The selected Supervisors should be stored as an array of user IDs in the database.
Tasks
- Update the database schema to add a new "supervisors" field to the User table, capable of storing an array of user IDs.
- Modify the Edit User form in the frontend to include the new multiselect Supervisors combobox.
- Populate the Supervisors combobox with all users from the app.
- Implement search functionality within the combobox for easier user selection.
- Update the backend API to handle the new supervisors field when editing a user.
- Implement proper validation and error handling for the new field.
Acceptance Criteria
Additional Notes
- Ensure the UI clearly indicates that multiple supervisors can be selected.
- Implement efficient search functionality within the combobox for quick user selection.
- Ensure that circular dependencies are prevented (e.g., a user cannot be their own supervisor).
- Update any relevant documentation or user guides to reflect this new multiselect combobox feature.
- Consider performance implications when loading and searching through all users for large organizations.
Description
We need to add a new multiselect combobox field called "Supervisors" to the Edit User form. This combobox should list all users in the app, allowing the selection of multiple supervisors for each user. The selected Supervisors should be stored as an array of user IDs in the database.
Tasks
Acceptance Criteria
Additional Notes