-
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
VAGOV-TEAM-98818-home: Adds Home page to Form Builder #20299
Conversation
Checking composer.lock changes... |
Checking composer.lock changes... |
Checking composer.lock changes... |
1a40d6f
to
0d577b9
Compare
Checking composer.lock changes... |
0d577b9
to
78ba548
Compare
Checking composer.lock changes... |
78ba548
to
4e84826
Compare
Checking composer.lock changes... |
- Replaces Intro with Home. - Changes Home page to be a simple content page rather than a form. - Updates tests to reflect change. - Adds library for home-page-specific css. - Adds initial css for page.
… the controller. - Passes all Digital Form nodes to Home page template.
…t after creating test node.
4e84826
to
12a7813
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 had some comments/questions, but nothing blocking. LGTM
docroot/modules/custom/va_gov_form_builder/src/Controller/VaGovFormBuilderController.php
Show resolved
Hide resolved
Checking composer.lock changes... |
Cypress Accessibility Violations
|
Description
This PR changes the existing Intro page to a Home page.
This is more than a rename, though. It's more accurate to say that it removes the old Intro page and adds a new Home page, as it also makes a change to implement the Home page as a content page rather than a form. This lays the foundation for moving forward in a way where some of the pages in the Form Builder that are not bona fide forms do not need to be implemented as forms. The work in this PR wires things up to be able to implement pages as either, depending on what is most appropriate.
This PR also introduces a service for fetching Digital Form nodes. It is needed here to render the list of recent forms. It will likely be used elsewhere in the Form Builder as well.
Closes department-of-veterans-affairs/va.gov-team#98818
Testing done
DigitalFormsService
.Screenshots
QA steps
drush scr scripts/content/form-builder.php
.test_user_form_builder
./form-builder
./form-builder/home
./form-builder/home
.Build a form
button takes you to/form-builder/start-conversion
(this page will be updated soon, but for now it's the correct destination)./form-builder/start-conversion, click the
Back` button./form-builder/home
.Recent forms
for each Digital Form in the system.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?