Invite Reviewer Modal
Description
In the "Team" tab, a modal popup should appear when an editor clicks on "Invite Reviewer" to invite a user to review a certain manuscript. The modal will display detailed user information, it will also allow user to toggle:
- Whether or not to share the review content with author (aka the "shared" toggle)
- Whether or not to send an email notification to the invited user (aka the "send email notification" toggle)
Notes
- For email notification, there are multiple templates in the codebase, but we are only concerned about
Reviewer invitation
template. See issue #1007 as well. - Refer to the general modal component (see #1108 (closed)).
- Checkbox Defaults:
- "Shared" should be unchecked
- "Send Email Notification" should be checked
Learning objectives
- React
- React Modal
- Email Notification