Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Manage Evaluators list page #200

Closed
12 tasks done
Tracked by #74
stepchud opened this issue Oct 8, 2024 · 0 comments · Fixed by #243
Closed
12 tasks done
Tracked by #74

Build Manage Evaluators list page #200

stepchud opened this issue Oct 8, 2024 · 0 comments · Fixed by #243
Assignees

Comments

@stepchud
Copy link
Contributor

stepchud commented Oct 8, 2024

What/Why

This page allows challenge managers to add and delete evaluators from their challenges.

Figma Link

Manage Challenge Evaluators on Figma

Acceptance Criteria

  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants