You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The top section of the page has an invite evaluator form
first_name, last_name, email are required
email format is validated -- Phx app uses this simple regex validate_format(:email, ~r/.+@.+\..+/)
when an Evaluator is added to the list, create an EvaluatorInvitation only if there is no User record with that email address.
If there is already a User record with evaluator role, they are added and ready to be assigned
Delete button deletes the record from challenge_phases_users if they are already added, or deletes the evaluator_invitations if they have not accepted the invite yet.
Delete button has a confirmation modal, shown in Figma
When an evaluator has accepted the invitation and created a login.gov account, the Resend Invite link is removed from their entry and the status is "Awaiting Approval" instead of "Invite Sent"
Disregard the following if this work does not include any UI changes
WAVE screenshot
Automated a11y tests (axe-rspec specs)
Keyboard accessibility (tab navigation, form interactions)
Responsiveness at desktop and mobile
Out of Scope
The actual invitation email to new users is still WIP that will be added later.
The text was updated successfully, but these errors were encountered:
What/Why
This page allows challenge managers to add and delete evaluators from their challenges.
Figma Link
Manage Challenge Evaluators on Figma
Acceptance Criteria
validate_format(:email, ~r/.+@.+\..+/)
evaluator
role, they are added and ready to be assignedchallenge_phases_users
if they are already added, or deletes theevaluator_invitations
if they have not accepted the invite yet.Disregard the following if this work does not include any UI changes
Out of Scope
The actual invitation email to new users is still WIP that will be added later.
The text was updated successfully, but these errors were encountered: