-
Notifications
You must be signed in to change notification settings - Fork 9
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
DNM: Integration form engine 2 #2273
base: main
Are you sure you want to change the base?
Conversation
* Create postProcessDigitalForm function * Add nameAndDateOfBirth fragment * Create digitalForm GraphQL fragment * Import nameAndDateOfBirth into digitalForm fragment * Create digitalForm query object * Import digitalForm fragment into query object * Export postProcessDigitalForm as postProcess * Add Digital Forms to DATA_FILES array * Fix module imports * Fix typo * Adds blank line for consistent spacing. --------- Co-authored-by: Ryan Koch <[email protected]>
* Add normalizeForms step to postProcessDigitalForm * Add subtitle to normalized form * Add OMB Number to normalized form * Normalize chapters for each form * Add additional fields for Name and Date of Birth step * Fix import spec * Remove redundant JSON parsing * Remove JSON conversion from returned value * Add formID and rename id to cmsId * Remove subTitle * Refactor normalizeForms method * Refactor normalizeChapters * Defend against malformed query responses * Remove unused import
* Add OMB info to Digital Form GraphQL query * Normalize OMB info * Remove Date object from formatDate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint is disabled
vets-website
uses ESLint to help enforce code quality. In most situations we would like ESLint to remain enabled.
What you can do
See if the code can be refactored to avoid disabling ESLint, or wait for a VSP review.
@@ -0,0 +1,15 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
@@ -0,0 +1,26 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
@@ -0,0 +1,14 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
@@ -0,0 +1,52 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
@@ -0,0 +1,180 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint is disabled
vets-website
uses ESLint to help enforce code quality. In most situations we would like ESLint to remain enabled.
What you can do
See if the code can be refactored to avoid disabling ESLint, or wait for a VSP review.
@@ -0,0 +1,15 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
* Create postProcessDigitalForm function * Add nameAndDateOfBirth fragment * Create digitalForm GraphQL fragment * Import nameAndDateOfBirth into digitalForm fragment * Create digitalForm query object * Import digitalForm fragment into query object * Export postProcessDigitalForm as postProcess * Add Digital Forms to DATA_FILES array * Fix module imports * Fix typo * Adds blank line for consistent spacing. --------- Co-authored-by: Ryan Koch <[email protected]>
* Add normalizeForms step to postProcessDigitalForm * Add subtitle to normalized form * Add OMB Number to normalized form * Normalize chapters for each form * Add additional fields for Name and Date of Birth step * Fix import spec * Remove redundant JSON parsing * Remove JSON conversion from returned value * Add formID and rename id to cmsId * Remove subTitle * Refactor normalizeForms method * Refactor normalizeChapters * Defend against malformed query responses * Remove unused import
195a33f
to
e3d84e6
Compare
Normalizes the Address Paragraph type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint is disabled
vets-website
uses ESLint to help enforce code quality. In most situations we would like ESLint to remain enabled.
What you can do
See if the code can be refactored to avoid disabling ESLint, or wait for a VSP review.
@@ -0,0 +1,13 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
Strip the "Digital Form: " prefix out of our content-build output. Move all digital form tests to a tests directory and extract the test entities into fixture files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint is disabled
vets-website
uses ESLint to help enforce code quality. In most situations we would like ESLint to remain enabled.
What you can do
See if the code can be refactored to avoid disabling ESLint, or wait for a VSP review.
@@ -0,0 +1,13 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
@@ -0,0 +1,15 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
@@ -0,0 +1,23 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
@@ -0,0 +1,144 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
…2308) Normalizes the Phone and Email Address Paragraph type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint is disabled
vets-website
uses ESLint to help enforce code quality. In most situations we would like ESLint to remain enabled.
What you can do
See if the code can be refactored to avoid disabling ESLint, or wait for a VSP review.
@@ -0,0 +1,33 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
@@ -0,0 +1,14 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
Normalizes the "Your personal information" Paragraph type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint is disabled
vets-website
uses ESLint to help enforce code quality. In most situations we would like ESLint to remain enabled.
What you can do
See if the code can be refactored to avoid disabling ESLint, or wait for a VSP review.
@@ -0,0 +1,13 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
Normalizes the List & Loop Paragraph type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint is disabled
vets-website
uses ESLint to help enforce code quality. In most situations we would like ESLint to remain enabled.
What you can do
See if the code can be refactored to avoid disabling ESLint, or wait for a VSP review.
@@ -0,0 +1,14 @@ | |||
/* eslint-disable @department-of-veterans-affairs/axe-check-required */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint disabled here
DO NOT MERGE
Individual PRs:
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
Related issue(s)
department-of-veterans-affairs/va.gov-team#0000
department-of-veterans-affairs/vets-website#0000
department-of-veterans-affairs/va.gov-team#0000
Testing done
Screenshots
Note: This field is mandatory for UI changes (non-component work should NOT have screenshots).
What areas of the site does it impact?
(Describe what parts of the site are impacted if code touched other areas)
Acceptance criteria
Quality Assurance & Testing
Error Handling
Authentication
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?