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

Evaluation Form: Create and Edit #61

Closed
58 of 67 tasks
r-bartlett-gsa opened this issue Jul 26, 2024 · 7 comments
Closed
58 of 67 tasks

Evaluation Form: Create and Edit #61

r-bartlett-gsa opened this issue Jul 26, 2024 · 7 comments
Assignees

Comments

@r-bartlett-gsa
Copy link
Member

r-bartlett-gsa commented Jul 26, 2024

User Story

As a challenge manager, in order to provide evaluators a form that they can use for scoring submissions, I would like to be able to create new, view or edit already created evaluation forms.

Acceptance criteria:

  • A challenge manager can create an evaluation form from the evaluation forms list view, and the user is taken to an evaluation form creation page
    • An Evaluation Form Creation Page allows the user to setup a new evaluation form in a step-by-step process
    • Enter evaluation criteria details, Evaluation Form: Evaluation Criteria #67, Evaluation Form: Scale Type #69, Evaluation Form: Scoring Type and Options #68
    • Setup evaluation period dates
      • Evaluation start date is the end date of the challenge the evaluation form is assigned to
        • Evaluation start date makes a valid form available to the evaluators
      • Evaluation end date is editable by the challenge manager at any time, even during evaluation period
        • End date disables the form from being used by evaluators
      • The dates activate at midnight EST
    • A challenge manager can save the form:
      • All required fields must be provided
      • The form must be assigned to a challenge / challenge phase that is not closed
      • The form must have at least one evaluation criteria
      • The form is not saved if it does not pass required field validation
    • When a valid form is saved a confirmation is displayed with an option that links to the list of evaluation forms
    • The form fields are editable by the challenge managers until Challenge/Phase end_date
      • Evaluation form end date can be edited any time, even after Challenge/Phase end_date
  • In-line validation messages are displayed in addition to error messages that appear at the top of the form (per USWDS guidance)
  • A challenge manager can edit an evaluation form from the evaluation forms list view
    • Editing a draft form opens a previously saved form draft and allows the user to continue manipulating form information and fields as outlined above

Development tasks:

Definition of Done

Doing (dev team)

  • Code complete
  • Code is organized appropriately
  • Any known trade offs are documented in the associated GH issue
  • Code is documented, modules, shared functions, etc.
  • Automated testing has been added or updated in response to changes in this PR
  • The feature is smoke tested to confirm it meets requirements
  • Database changes have been peer reviewed for index changes and performance bottlenecks
  • PR that changes or adds UI
    • include a screenshot of the WAVE report for the altered pages
    • Confirm changes were validated for mobile responsiveness
  • PR approved / Peer reviewed
  • Security scans passed
  • Automate accessibility tests passed
  • Build process and deployment is automated and repeatable
  • Feature toggles if appropriate
  • Deploy to staging
  • Move card to testing column in the board

Staging

  • Usability testing: mobile and desktop (Tracy or Marni)
  • Accessibility tested (Marni)
    • Keyboard navigation
    • Focus confirmed
    • Color contrast compliance
    • Screen reader testing
  • Cross browser testing - UI rendering is performant on below listed devices/browsers (Tracy or Marni)
    • Windows/Chrome
    • Windows/Edge
    • Mac/Chrome
    • Mac/Safari
    • iOS/Safari
  • AC review (Renata)
  • Deploy to production (production-like environment for eval capability) (dev team)
  • Move to production column in the board

Production

  • User and security documentation has been reviewed for necessary updates (Renata/Tracy/Dev team)
  • PO / PM approved (Jarah or Renata)
  • AC is met and it works as expected (Jarah or Renata)
  • Move to done column in the board (Jarah or Renata)
@r-bartlett-gsa r-bartlett-gsa changed the title Create and Edit an Evaluation Form Evaluation Form: Create and Edit Jul 26, 2024
@r-bartlett-gsa r-bartlett-gsa changed the title Evaluation Form: Create and Edit Evaluation Form: Create, VIew and Edit Jul 26, 2024
@r-bartlett-gsa r-bartlett-gsa changed the title Evaluation Form: Create, VIew and Edit Evaluation Form: Create, View and Edit Jul 26, 2024
@r-bartlett-gsa
Copy link
Member Author

r-bartlett-gsa commented Aug 2, 2024

Image

Image

Image

@r-bartlett-gsa
Copy link
Member Author

r-bartlett-gsa commented Aug 2, 2024

Confirmation view:

Image

@stepchud
Copy link
Contributor

stepchud commented Aug 2, 2024

This seems like 3 different stories that can be built separately

@r-bartlett-gsa
Copy link
Member Author

This seems like 3 different stories that can be built separately

@stepchud I'm happy to split this into three, but the way I was looking at it, is that the meat of the work is in "Create", the "Edit" is the same as create with some of the fields prefilled, and "View" is the same as edit with fields prefilled and the user cannot edit any of the fields.

@r-bartlett-gsa
Copy link
Member Author

r-bartlett-gsa commented Nov 1, 2024

@stepchud Below is the feedback from my review. Some of that feedback can be addressed with other items that are currently in PR review, as it relates to the acceptance criteria from those user stories as well. And the design/styling feedback can be postponed until later, even though I mention it here, but I will add it to the #222

Design/styling feedback added to #222

  • Update radio button color
  • Update criteria accordion color
  • Update "Add Another Criteria" button color
  • Step 3 vertical bar is missing
  • Criteria points/weight field default text is too large and is not fully visible, perhaps should not have a default text at all
  • Restyle "Remove criteria" and "Add another criteria" buttons
  • Form validation error message is styled incorrectly
  • Revisit all form field titles and subtitles

Also, please review the definition of done checklist.

@mhotch24
Copy link

mhotch24 commented Nov 7, 2024

@TCKapGrp @r-bartlett-gsa A11y and Cross Browser testing complete and passed.

@r-bartlett-gsa
Copy link
Member Author

r-bartlett-gsa commented Nov 7, 2024

@stepchud One small update is needed for this story:

  • Add asterisk for all required fields. Currently asterisk is missing for title, challenge, instructions and end date

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

No branches or pull requests

5 participants