-
Notifications
You must be signed in to change notification settings - Fork 71
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
VAGOV-TEAM: 93059, 93060, 94023 #19541
Conversation
Checking composer.lock changes... |
Checking composer.lock changes... |
Checking composer.lock changes... |
- Scaffolds va_gov_form_builder custom module. - Adds service for validating uniqueness of a node based on a given field.
- Updates controller test accordingly.
- Adds Form Builder "Start a conversion" page. - Adds Form Builder "Name and DOB" page. - Adds unit and functional tests. - Adds Traits for tests. - Updates router/controller for the three pages.
…a arguments seems standard.
fc52aaa
to
7fc0db9
Compare
Checking composer.lock changes... |
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.
I don't want to hold you up, so I'm going to approve this because I don't see anything here that absolutely needs to get changed before we merge. However, I would like to see tickets added as comments for the following items if they're not addressed by this PR:
- The form's name on form pages after the "Start Conversion" form page (this may be handled by an "implement sidebar" ticket)
- The read-only "Step name" field looking less like a field users can edit.
- Validation of steps/chapters within Form Builder
- 1-to-1 matching of field validations between Form Builder and Digital Form content type (OMB Number can only be 9 characters, for example)
- Adding permissions for Form Builder that are separate from the Digital Form content type.
docroot/modules/custom/va_gov_form_builder/src/Controller/VaGovFormBuilderController.php
Show resolved
Hide resolved
docroot/modules/custom/va_gov_form_builder/src/Form/Base/FormBuilderBase.php
Show resolved
Hide resolved
docroot/modules/custom/va_gov_form_builder/src/Form/Base/FormBuilderNodeBase.php
Show resolved
Hide resolved
docroot/modules/custom/va_gov_form_builder/va_gov_form_builder.routing.yml
Show resolved
Hide resolved
Checking composer.lock changes... |
Description
Relates to:
This is a PR that implements a first pass at some of the initial pieces of building out the Form Builder UI in Drupal. It's important to note that there are a lot of moving pieces/architectural decisions that we'll need to navigate in building out this custom UI, and I ran up against some of them already in this PR. Instead of trying to waterfall this whole thing, this PR is a first pass, and we'll iterate and be agile as we go.
Features added:
Testing done
Adds unit tests for some abstract base form classes. Adds functional tests for controller and form pages.
See QA steps for additional testing.
Screenshots
QA steps
Prerequisites
Form Builder - Entry
/form-builder
form-builder/intro
Form Builder - Intro
form-builder/intro
Form Builder - Start conversion
form-builder/start-conversion
Form Builder - Name and DOB
form-builder/{node_id}/name-and-dob
Definition of Done
Select Team for PR review
CMS Team
Public websites
Facilities
User support
Accelerated Publishing
Form Engine
Is this PR blocked by another PR?
DO NOT MERGE
Does this PR need review from a Product Owner
Needs PO review
CMS user-facing announcement
Is an announcement needed to let editors know of this change?