department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
282 stars 203 forks source link

[Design, FE] 10-10EZ - Saved-In-Progress: Exploration on recent errors impacted by saved-in-progress forms #70217

Closed hdjustice closed 8 months ago

hdjustice commented 11 months ago

Background

Since the end of October, we started to see submission failures for the 10-10EZ, failing all retries. The error message states Missing required fields and then lists the fields missing: a combination of Child DOB, SSN and Dependent date.
There has been one failure that has an error message Missing required fields, and the missing field was the insurance company name. There has also been several failures with error message undefined method [] for nil:NilClass, which seems to indicate the Dependent name is missing.

We have since removed the functionality of "Save in progress" within the Dependents and Insurance sections. The Veteran must complete adding all dependents and/or insurance policies within a single session before it will save.

Now, we need to determine how to implement a validation mechanism on fields within the Dependents and Insurance sections, after a Veteran has saved the form (or auto-save), left the form and is now returning to the form. This will need UX and Engineering involvement to determine the right solution to reinstate the saved-in-progress functionality, while also alerting the Veteran to complete fields that are required and missing data within the Multiple Response component.

Note: We will want to keep in mind that this solution could resolve the problem with incomplete pre-filled data that we pull from Enrollment System for the EZR.
I don't believe that the VA Profile includes all Dependent/Insurance info we would need to pre-fill for the EZ, but that can be discussed at another time for another feature.

Resources

Tasks

Acceptance Criteria

jessicastump commented 11 months ago

Information gathering Mural started here

hdjustice commented 10 months ago

What stage are we at on this one? I am sorry we haven't spent much attention on this.

aagosto90 commented 10 months ago

@hdjustice We agreed that the best approach would be the longer but correct approach - an alert within a card where there's missing information (Sketch mockup), but we'll need to test in order to roll this solution out. So next steps were for Matt K. to work on the CodePen template setup so we can test this approach in conjunction with other version 2 updates to EZR early next year. Therefore I think we can close this ticket out if you agree, but we should note in any future tickets for testing EZR updates that we'll include this alert-within-card design in testing.

hdjustice commented 10 months ago

Ok thank you @aagosto90! I will see what we have out there so far and get some tix set up. We will need the solution for both EZ and EZR, and if we can test with EZR sooner, then I am ok with that. I am going to leave this open until I can get the other tix set up so we dont forget

hdjustice commented 8 months ago

Let's talk about this for EZ

hdjustice commented 8 months ago

Check this for additional tickets on EZ side and check in with Alex on Codepen status