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
283 stars 204 forks source link

[Design] My VA Forms Status: error handling if PDF cannot be generated #91825

Closed mattmarino-adhoc closed 1 month ago

mattmarino-adhoc commented 2 months ago

Background

In the event that the user clicks the download link to download their form but the PDF cannot be generated we need to show them an error has occurred.

Tasks

Acceptance Criteria

mattmarino-adhoc commented 2 months ago

VFF model for handling generation failures: https://www.figma.com/design/jZMs4buA0Rs1UHlZT1iGF5/WIP---Updated-Confirmation-page?node-id=1-127&t=2SACIwcxChPVqO5P-1

ajakabcin commented 2 months ago

@mattmarino-adhoc are we still going to make our own version of this as it will appear on My VA? I'll need that for linking purposes and screenshots for the product guide : )

mattmarino-adhoc commented 2 months ago

Yep, we will need to have our own

mattmarino-adhoc commented 1 month ago

The existing models appear to not be feasible for MVP. More details to follow.

mattmarino-adhoc commented 1 month ago

The current state that engineers say we can support/would be feasible for MVP:

From a usability perspective, this is not ideal. Users may expect to see the link (after viewing it previously), and without any explanation as to why, it could be jarring and lead to more calls to the Benefits hotline.

For the time being, Figma will reflect this (the error state of not showing a link). Post-MVP, this is something we should revisit together with VFF.

mattmarino-adhoc commented 1 month ago

Figma WIP mockups

mattmarino-adhoc commented 1 month ago

The error scenario has been added to documentation