-
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
VATEAM-101160: Create "Custom Step" paragraph and text input component in Drupal #20402
Conversation
GitHub Workflows (.github/workflows/*.yml)Have you...
|
Checking composer.lock changes... |
Checking composer.lock changes... |
Checking composer.lock changes... |
Checking composer.lock changes... |
Checking composer.lock changes... |
@laflannery, I believe I have addressed all your feedback and the PR is ready for review. |
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 good!
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.
Very nice work!
I left one question about a very small text consideration.
More notably, the work here to add character counters, for example, brings to the forefront the distinction between the default node-edit form and our Form Builder UI's forms. Currently, these configurations (like character counters) do not come over to the Form Builder UI. For one, they are not called for in the designs. For two, getting them to come over is not automatic. We can pull the widgets into our Form Builder UI, but we need to decide if that's something we want to do.
entity_type: paragraph | ||
bundle: digital_form_page | ||
label: 'Body text' | ||
description: 'Use body text to add clarifying information that is relevant to all the information under a page title. The body text should either clarify what type of information we need, or explain what we’re going to do with the data. Aim for fewer than fifty words in the body text.' |
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.
Should this say "50" rather than "fifty"?
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 copied it from VADS and went with whatever they used.
@ryguyk Regarding your character counter comments, my comments were more from an accessibility and usability standpoint rather than a "let's match the Drupal UI" standpoint. If something is not happening (e.g. the text I'm trying to type is not actually typing), the user should know why. So I'm up for doing it a different way in your From build UI if that's better for you all but there should be some feedback for the user in these types of instances. Let me know if you think we should discuss further. And in general when I provide feedback I'm probably always going to default to the Drupal UI I know but if you ever need to push back always feel free and we can discuss the why and see if there's a better solution for what you all are building |
Checking composer.lock changes... |
Checking composer.lock changes... |
Checking composer.lock changes... |
Checking composer.lock changes... |
Cypress Accessibility Violations
|
Description
Creates several new Paragraph and field types:
These will all be used within the Digital Form content type.
Testing done
Manually created a Digital Form with a Custom Step that featured multiple pages and components within it.
Screenshots
The turducken of a Digital Form containing a Custom Step containing a Page containing a Text Input Component

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?