-
Notifications
You must be signed in to change notification settings - Fork 70
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
VATEAM-90732: Add OMB info fields to Digital Form #19078
VATEAM-90732: Add OMB info fields to Digital Form #19078
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.
Looks great!
I do have some lingering questions about how configuration like this will be presented/honored/etc. in our custom form experience, but I do think this work will be useful regardless.
If we can tie our custom display into Drupal's display configuration system, that would be ideal, but I don't know off-hand how much work that would be at this time. |
We can, at least to some degree. But there's still the question of how things map from the default display to our custom display. For example, does a fieldset become its own page? Or, perhaps to ask it better, since we will have designs for each page of the wizard-like experience, do we define fieldsets accordingly? In other words, we should be able to access the display configuration, but there are some questions in my head about what we should do with that information or how what that means for how we configure it in the first place. |
5c55049
to
af73e95
Compare
af73e95
to
2c479a4
Compare
11a16b1
to
259fc9d
Compare
259fc9d
to
a8feb41
Compare
* Add OMB info fields to Digital Form (#19078) * Add Identification Information pattern * Add OMB Info to digital-forms script * Add Identification Information to digital-forms script
* Add OMB info fields to Digital Form (#19078) * Add Identification Information pattern * Add OMB Info to digital-forms script * Add Identification Information to digital-forms script
* Add OMB info fields to Digital Form (#19078) * Add Identification Information pattern * Add OMB Info to digital-forms script * Add Identification Information to digital-forms script
* VATEAM-90582: Add 21-4140 Digital Form to seed script (#19047) * Add create_digital_forms * Add 21-4140 to digital forms script * Switch includeDob to snake case * VATEAM-90628: Add Identification Information Paragraph type (#19190) * Add OMB info fields to Digital Form (#19078) * Add Identification Information pattern * Add OMB Info to digital-forms script * Add Identification Information to digital-forms script * VATEAM-90650: Create Address Digital Form Pattern (#19331) Creates a Paragraph type in Drupal for the "Address" pattern. The Paragraph type includes an "Include military address checkbox?" boolean field. Adds the new Paragraph type to the list of available Paragraph types in the "Steps" field of the Digital Form content type. * VATEAM-90651: Create Phone and Email Digital Form pattern (#19464) Creates a Paragraph type in Drupal for the "Phone and Email Address" pattern. The Paragraph type includes an "Include email address?" boolean field. Adds the new Paragraph type to the list of available Paragraph types in the "Steps" field of the Digital Form content type. * VATEAM-94366: Create "Your personal information" Paragraph type (#19534) Create a new Paragraph type called "Your personal information" that contains the "Name and Date of Birth" and "Identification Information" Paragraph types within it. Remove "Name and Date of Birth" and "Identification Information" as selectable Steps. Update the Digital Forms script to use the new Paragraph type. * VATEAM-90652: Create List & Loop pattern (#19816) Creates a Paragraph type in Drupal for the "List & Loop" pattern. The Paragraph type includes an "Optional?" boolean field. Adds the new Paragraph type to the list of available Paragraph types in the "Steps" field of the Digital Form content type. --------- Co-authored-by: Derek Houck <[email protected]> Co-authored-by: Derek Houck <[email protected]> Co-authored-by: Derek Houck <[email protected]>
Description
Adds all fields necessary to render an accurate OMB info component on each form. Specifically, adds the following two fields:
string
, will be converted to expected pattern incontent-build
)integer
, in minutes)These two fields are grouped together with OMB Number to form an "OMB Info" field group.
Testing done
Updated the Digital Form bundle class test with the new fields. Tested the form and view displays locally.
Screenshots
The "OMB info" field group in the form display:
The "OMB info" field group in the node display:
QA steps
As an administrator
Definition of Done
Select Team for PR review
CMS Team
Public websites
Facilities
User support
Accelerated Publishing
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?