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

Api 36674 new supp claim form #19212

Merged
merged 28 commits into from
Dec 10, 2024
Merged

Api 36674 new supp claim form #19212

merged 28 commits into from
Dec 10, 2024

Conversation

michelpmcdonald
Copy link
Contributor

@michelpmcdonald michelpmcdonald commented Nov 1, 2024

Summary

New Supplemental Claim form, we are calling it v4.

New form is behind flipper flag, decision_review_sc_form_v4_enabled. We don't have any immediate plans to take this live at this point.

Related issue(s)

API-36674

Testing done

  • New code is covered by unit tests

We have standard test data for supp claims. Used test data to generate forms and manually confirmed the forms are as expected. The generated files become PDF reference unit test fixtures, unit test generates forms and the compairs the generated from with the ref fixture.

What areas of the site does it impact?

Intake will start receiving and processing the latest version of the Va supp claim form.
Since the form we generate is an internal implementation detail and not directly exposed to consumers, there are no changes for them at this point.

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 (if applicable)

@va-vfs-bot va-vfs-bot temporarily deployed to API-36674_new_supp_claim_form/main/main November 1, 2024 04:01 Inactive
Copy link

github-actions bot commented Nov 1, 2024

1 Warning
⚠️ This PR changes 481 LoC (not counting whitespace/newlines).

In order to ensure each PR receives the proper attention it deserves, we recommend not exceeding
200. Expect some delays getting reviews.

File Summary

Files

  • config/features.yml (+4/-0)

  • modules/appeals_api/app/controllers/appeals_api/v2/decision_reviews/supplemental_claims_controller.rb (+5/-1)

  • modules/appeals_api/app/models/appeals_api/supplemental_claim.rb (+3/-0)

  • modules/appeals_api/app/services/appeals_api/pdf_construction/supplemental_claim/v2/form_data.rb (+1/-1)

  • modules/appeals_api/app/services/appeals_api/pdf_construction/supplemental_claim/v3/form_data.rb (+1/-1)

  • modules/appeals_api/app/services/appeals_api/pdf_construction/supplemental_claim/v4/form_data.rb (+224/-0)

  • modules/appeals_api/app/services/appeals_api/pdf_construction/supplemental_claim/v4/pages/additional_pages.rb (+62/-0)

  • modules/appeals_api/app/services/appeals_api/pdf_construction/supplemental_claim/v4/structure.rb (+145/-0)

  • modules/appeals_api/lib/appeals_api/sc_evidence.rb (+8/-1)

  • modules/appeals_api/spec/services/appeals_api/pdf_construction/generator_spec.rb (+8/-3)

  • modules/appeals_api/spec/support/shared_examples_for_gateway_origin_check.rb (+7/-6)

    Note: We exclude files matching the following when considering PR size:

    *.csv, *.json, *.tsv, *.txt, *.md, Gemfile.lock, app/swagger, modules/mobile/docs, spec/fixtures/, spec/support/vcr_cassettes/, modules/mobile/spec/support/vcr_cassettes/, db/seeds, modules/vaos/app/docs, modules/meb_api/app/docs, modules/appeals_api/app/swagger/, *.bru, *.pdf
    

Big PRs are difficult to review, often become stale, and cause delays.

Generated by 🚫 Danger

@va-vfs-bot va-vfs-bot temporarily deployed to API-36674_new_supp_claim_form/main/main November 1, 2024 04:19 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to API-36674_new_supp_claim_form/main/main November 1, 2024 04:54 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to API-36674_new_supp_claim_form/main/main November 1, 2024 18:30 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to API-36674_new_supp_claim_form/main/main November 4, 2024 17:54 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to API-36674_new_supp_claim_form/main/main November 4, 2024 20:13 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to API-36674_new_supp_claim_form/main/main November 5, 2024 01:22 Inactive
@michelpmcdonald michelpmcdonald self-assigned this Nov 5, 2024
@michelpmcdonald michelpmcdonald added Lighthouse lighthouse appeals Lighthouse API appeals banana-peels Lighthouse Banana Peels Team labels Nov 5, 2024
@michelpmcdonald michelpmcdonald marked this pull request as ready for review November 5, 2024 01:52
Copy link

Backend-review-group approval confirmed.

@va-vfs-bot va-vfs-bot temporarily deployed to API-36674_new_supp_claim_form/main/main December 6, 2024 17:16 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to API-36674_new_supp_claim_form/main/main December 6, 2024 17:58 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to API-36674_new_supp_claim_form/main/main December 9, 2024 18:06 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appeals Lighthouse API appeals banana-peels Lighthouse Banana Peels Team Lighthouse lighthouse require-backend-approval test-passing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants