-
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
Integration branch for Form Engine POC #2233
Conversation
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,21 @@ | |||
/* 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
870ea49
to
aeb51af
Compare
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.
LGTM. You even test that the graphql strings have correct content. Excellent.
* 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 <ryan.koch.0213@gmail.com>
* 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
aeb51af
to
e3d84e6
Compare
Summary
This PR tracks an integration branch for the Form Engine proof of concept.
Individual PRs merged into this integration branch:
Related issue(s)
Proof-of-Concept epic
Indivudal issues
Testing done/QA Steps
Unit tests added for individual PRs.
Manual smoke tests to ensure expected new behavior and existing behavior:
Note: This must be done locally or on a Tugboat environment where Digital Node content type exists.
data/cms/digital-forms.json
exists and has datadata/cms/digital-forms.json
exists but has empty data setScreenshots
N/A
What areas of the site does it impact?
This code creates a new KISS data file. It should not impact any other areas.
Acceptance criteria
Manual test/QA steps are completed.
Quality Assurance & Testing
Error Handling
Authentication
Requested Feedback
None