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

Ndbex 70721 map form fields #15838

Merged
merged 44 commits into from
Mar 26, 2024
Merged

Ndbex 70721 map form fields #15838

merged 44 commits into from
Mar 26, 2024

Conversation

evansmith
Copy link
Contributor

@evansmith evansmith commented Mar 7, 2024

Note: Delete the description statements, complete each step. None are optional, but can be justified as to why they cannot be completed as written. Provide known gaps to testing that may raise the risk of merging to production.

Summary

  • This work is behind a feature toggle (flipper): YES va_burial_v2
  • This change handles the backend updates for the V2 Burial form. Included in this PR are changes that address: Controller updates for InProgressForm and SavedClaim to redirect Burials to be considered a 21P-530V2 form instead of 21P-530, Model changes in SavedClaim and Burial that set form_id to 21P-530V2 based on a new flag passing in, and a new PDF with relevant pdf filler changes for the 21P-530V2 upgrade.
  • (What is the solution, why is this the solution?)
  • VA Benefits and Claims
  • Targeting successful testing between vets-website and vets-api in the creation of v2 burial claims.
  • This PR goes over the line limit due to the need to add a new file (lib/pdf_fill/forms/va21p530v2.rb) for the PDF Filler portion of 21P-530V2. That takes up the large majority of line changes while other changes in the controllers/models/spec are supplemental.

Related issue(s)

Testing done

  • New code is covered by unit tests
  • Prior to the change, the 21P-530 PDF would be rendered and form_id on the SavedClaim and InProgressForms would be 21P-530.
  • Fully test the creation of a Burial claim and examine the PDF to confirm that all relevant changes have been loaded. Additional Unit Tests have been created.
  • If this work is behind a flipper:
    • What is the testing plan for rolling out the feature? Perform a staging review with the flippers on to confirm Burials have been fully updated.

Screenshots

Note: Optional

What areas of the site does it impact?

Burial form completion and associated PDF.

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution
  • Documentation has been updated (link to documentation)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Feature/bug has a monitor built into Datadog or Grafana (if applicable)
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected
  • I added a screenshot of the developed feature

Requested Feedback

(OPTIONAL)What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?

@va-vfs-bot va-vfs-bot temporarily deployed to ndbex-70721-map-form-fields/main/main March 7, 2024 22:27 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to ndbex-70721-map-form-fields/main/main March 8, 2024 17:33 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to ndbex-70721-map-form-fields/main/main March 11, 2024 19:39 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to ndbex-70721-map-form-fields/main/main March 12, 2024 17:44 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to ndbex-70721-map-form-fields/main/main March 12, 2024 21:06 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to ndbex-70721-map-form-fields/main/main March 15, 2024 14:54 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to ndbex-70721-map-form-fields/main/main March 15, 2024 15:07 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to ndbex-70721-map-form-fields/main/main March 25, 2024 15:30 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to ndbex-70721-map-form-fields/main/main March 25, 2024 16:47 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to ndbex-70721-map-form-fields/main/main March 25, 2024 17:47 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to ndbex-70721-map-form-fields/main/main March 25, 2024 18:44 Inactive
Copy link
Contributor

@tblackwe tblackwe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed in detail with Evan over several days. This version LGTM

@tblackwe tblackwe merged commit 5761817 into master Mar 26, 2024
19 of 20 checks passed
@tblackwe tblackwe deleted the ndbex-70721-map-form-fields branch March 26, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
burial-benefits Label used for Pull Requests that impact Burial claims (530)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants