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
278 stars 194 forks source link

New endpoints for 21-22/21-22a PDF generation #82841

Open oddball-lindsay opened 1 month ago

oddball-lindsay commented 1 month ago

Background

When a user clicks "download" on the frontend (at the end of the Appoint a Representative experience), the backend will need to receive all of the form information from the frontend to build the PDF.

Open questions to explore:

  1. How is the PDF accessed by the frontend?
  2. Is there a file stored in the backend? Thinking no, as there are PII concerns.

Update (6/24/24):

Tasks

Acceptance Criteria

oddball-lindsay commented 1 month ago

Something to consider for the frontend form config, as the Appoint experience covers two forms (21-22 and 21-22a) - can we lean on a universal endpoint, or do we need a separate endpoint for each form?

Leaning towards two separate endpoints for PDF generation.

opticbob commented 1 month ago

In process thoughts/questions:

oddball-lindsay commented 1 month ago

@opticbob I don't know enough to directly answer your questions, but here's some information that may help:

oddball-lindsay commented 1 week ago

Working through some pre-review comments from Holden, hoping to wrap up soon.

oddball-lindsay commented 1 week ago

21-22 app code is complete, finishing up 21-22a then looking for review.