Skip to content
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

VACMS-18855 Add Find Forms download modal back to form detail page #2239

Merged
merged 4 commits into from
Sep 16, 2024

Conversation

randimays
Copy link
Contributor

@randimays randimays commented Aug 14, 2024

Summary

In this PR we inadvertently removed the download modal from form detail pages. This PR plus its companion vets-website PR add that modal back and changes the links on the form detail page to buttons since they now trigger a modal.

Uses a feature toggle (FEATURE_FIND_FORMS_MODAL) to reduce risk on a paired deploy.

To run the build locally with the feature toggle on, point to this Tugboat in your .env: https://cms-ciyktotgoqohism0kiuuviu13oifigrz.demo.cms.va.gov/.

Related issue(s)

Testing done

See this vets-website PR for all testing specifics.

Copy link
Collaborator

@va-vfs-bot va-vfs-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Icon found

Icons can be decorative, but sometimes they are used to convey meaning. If there are any semantics associated with an icon, those semantics should also be conveyed to a screen reader.

What you can do

Review the markup and see if the icon provides information that isn't represented textually, or wait for a VSP review.

Note:

Font Awesome is deprecated. Please use va-icon instead. For more information, visit the migration documentation: Migrate from font awesome to va-icon

src/site/layouts/va_form.drupal.liquid Outdated Show resolved Hide resolved
src/site/layouts/va_form.drupal.liquid Outdated Show resolved Hide resolved
@randimays randimays marked this pull request as draft August 16, 2024 15:27
@randimays randimays marked this pull request as ready for review September 5, 2024 20:11
Copy link
Contributor

@eselkin eselkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@chriskim2311 chriskim2311 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@randimays randimays marked this pull request as draft September 5, 2024 21:14
@@ -0,0 +1,43 @@
{% if vaForm.entity.entityUrl.path and vaForm.entity.entityPublished %}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created to prevent code duplication for related forms. Previously, they always rendered a list even if there was only one related form. Now it's just a single div for one item and a list for multiple.

@va-vfs-bot va-vfs-bot temporarily deployed to master/18855-find-forms-modal/18855-find-forms-modal September 6, 2024 19:34 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/18855-find-forms-modal/18855-find-forms-modal September 6, 2024 19:52 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/18855-find-forms-modal/18855-find-forms-modal September 6, 2024 20:59 Inactive
@@ -2,7 +2,7 @@
{% include "src/site/includes/preview-edit.drupal.liquid" %}
{% include "src/site/includes/breadcrumbs.drupal.liquid" %}

<div id="content" class="interior">
<div id="content">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This class and the data-testids in this file are not used

Copy link
Collaborator

@va-vfs-bot va-vfs-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Icon found

Icons can be decorative, but sometimes they are used to convey meaning. If there are any semantics associated with an icon, those semantics should also be conveyed to a screen reader.

What you can do

Review the markup and see if the icon provides information that isn't represented textually, or wait for a VSP review.

Note:

Font Awesome is deprecated. Please use va-icon instead. For more information, visit the migration documentation: Migrate from font awesome to va-icon

src/site/layouts/va_form.drupal.liquid Show resolved Hide resolved
src/site/layouts/va_form.drupal.liquid Show resolved Hide resolved
Copy link
Contributor

@chriskim2311 chriskim2311 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@eselkin eselkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@randimays randimays merged commit fe16835 into main Sep 16, 2024
23 checks passed
@randimays randimays deleted the 18855-find-forms-modal branch September 16, 2024 19:40
davidmpickett added a commit that referenced this pull request Sep 17, 2024
* VACMS 17954 - remove italics from common conditions (#2238)

* VACMS 17954 - remove italics
* move to p instead of div

* VACMS 16362: Make only published Vet Center Services display (#2243)

* filterBy status:true services
* fix accordion labeling ids
* remove debugging

* Adding arrow_circle_right to sprite sheet (#2244)

* Fix to breadcrumb padding on certain drupal pages. (#2241)

* Fix to breadcrumb padding on certain drupal pages.

* Adding row back

* Removing another un-needed class

* Adding padding to containing div

* Turn on production flag for rollout (#2246)

* update web-components (#2249)

* update web-components

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* bump version

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

---------

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* Medallia - Add feedback button to checklist page layout (#2247)

* added feedback button to checklist drupal template

* moved element to under back-to-top element

* VACMS 18909 KISS autosuggest data for services from taxonomies (#2248)

* creates va-healthcare-services.json
* remove spaces from JSONs
* process the processed HTML to text
* simplify

* bump web components (#2250)

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* VEBT-423 Update SCO registry.json route to match prod (#2245)

* Update SCO registry.json route

* Update registry.json for sco url

* Making separate PR

* Fix to breadcrumb padding on certain drupal pages. (#2241)

* Fix to breadcrumb padding on certain drupal pages.

* Adding row back

* Removing another un-needed class

* Adding padding to containing div

* Turn on production flag for rollout (#2246)

* update web-components (#2249)

* update web-components

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* bump version

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

---------

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* Medallia - Add feedback button to checklist page layout (#2247)

* added feedback button to checklist drupal template

* moved element to under back-to-top element

* VACMS 18909 KISS autosuggest data for services from taxonomies (#2248)

* creates va-healthcare-services.json
* remove spaces from JSONs
* process the processed HTML to text
* simplify

* bump web components (#2250)

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

---------

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>
Co-authored-by: Andrew Steele <andrew.steele@adhocteam.us>
Co-authored-by: Kevin Duensing <kjduensing@gmail.com>
Co-authored-by: Micah Chiang <micahkchiang@gmail.com>
Co-authored-by: Aubrey Arcangel <aubreyarcangel@users.noreply.github.com>
Co-authored-by: Eli Selkin <eli.selkin@agile6.com>

* bump web-components (#2258)

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* VEBT-424 React SCO page to prod (#2253)

* Update SCO registry.json route

* vagovprod to true for sco page

* Fix to breadcrumb padding on certain drupal pages. (#2241)

* Fix to breadcrumb padding on certain drupal pages.

* Adding row back

* Removing another un-needed class

* Adding padding to containing div

* Turn on production flag for rollout (#2246)

* update web-components (#2249)

* update web-components

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* bump version

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

---------

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* Medallia - Add feedback button to checklist page layout (#2247)

* added feedback button to checklist drupal template

* moved element to under back-to-top element

* VACMS 18909 KISS autosuggest data for services from taxonomies (#2248)

* creates va-healthcare-services.json
* remove spaces from JSONs
* process the processed HTML to text
* simplify

* bump web components (#2250)

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* VEBT-423 Update SCO registry.json route to match prod (#2245)

* Update SCO registry.json route

* Update registry.json for sco url

* Making separate PR

* Fix to breadcrumb padding on certain drupal pages. (#2241)

* Fix to breadcrumb padding on certain drupal pages.

* Adding row back

* Removing another un-needed class

* Adding padding to containing div

* Turn on production flag for rollout (#2246)

* update web-components (#2249)

* update web-components

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* bump version

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

---------

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* Medallia - Add feedback button to checklist page layout (#2247)

* added feedback button to checklist drupal template

* moved element to under back-to-top element

* VACMS 18909 KISS autosuggest data for services from taxonomies (#2248)

* creates va-healthcare-services.json
* remove spaces from JSONs
* process the processed HTML to text
* simplify

* bump web components (#2250)

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

---------

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>
Co-authored-by: Andrew Steele <andrew.steele@adhocteam.us>
Co-authored-by: Kevin Duensing <kjduensing@gmail.com>
Co-authored-by: Micah Chiang <micahkchiang@gmail.com>
Co-authored-by: Aubrey Arcangel <aubreyarcangel@users.noreply.github.com>
Co-authored-by: Eli Selkin <eli.selkin@agile6.com>

---------

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>
Co-authored-by: Andrew Steele <andrew.steele@adhocteam.us>
Co-authored-by: Kevin Duensing <kjduensing@gmail.com>
Co-authored-by: Micah Chiang <micahkchiang@gmail.com>
Co-authored-by: Aubrey Arcangel <aubreyarcangel@users.noreply.github.com>
Co-authored-by: Eli Selkin <eli.selkin@agile6.com>

* direct links to hashreference of taxonomy name in facility (#2262)

* VACMS 18711 - vet center banner image (#2251)

* VC Banner image

* Add entry for Benefit Eligibility Questionnaire (#2170)

* update FMP name (#2257)

Co-authored-by: Rachel <rachele.eiting@copilot.llc>

* VACMS-18876 Fix breadcrumbs on checklist pages (#2266)

* VEBT-468 remove 1990E from registry.json (#2260)

* VEBT-468 Remove 1990e from production.

* VEBT-468 remove 1990E from registry.json

* Add  navigation svg icons to site/img  directory (#2237)

* adds svgs for nav icons

* correct svg icon

* remove custom event (#2263)

* [ARF-87799] Remove 21a (#2269)

[Corresponding `vets-website` PR](department-of-veterans-affairs/vets-website#31352)

* #vebt-469 remove 1990s from registry.json (#2261)

Co-authored-by: Chad Chotikasatien <chad.chotikasatien@va.gov.com>

* add sign-in-changes app to registry (#2271)

* Updating web-components version to latest (#2272)

* wrapping (#2268)

* #vebt-470 #removing 22-1990n entry in registry.json (#2264)

* Update SCO registry.json route

* vagovprod to true for sco page

* Fix to breadcrumb padding on certain drupal pages. (#2241)

* Fix to breadcrumb padding on certain drupal pages.

* Adding row back

* Removing another un-needed class

* Adding padding to containing div

* Turn on production flag for rollout (#2246)

* update web-components (#2249)

* update web-components

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* bump version

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

---------

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* Medallia - Add feedback button to checklist page layout (#2247)

* added feedback button to checklist drupal template

* moved element to under back-to-top element

* VACMS 18909 KISS autosuggest data for services from taxonomies (#2248)

* creates va-healthcare-services.json
* remove spaces from JSONs
* process the processed HTML to text
* simplify

* bump web components (#2250)

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* VEBT-423 Update SCO registry.json route to match prod (#2245)

* Update SCO registry.json route

* Update registry.json for sco url

* Making separate PR

* Fix to breadcrumb padding on certain drupal pages. (#2241)

* Fix to breadcrumb padding on certain drupal pages.

* Adding row back

* Removing another un-needed class

* Adding padding to containing div

* Turn on production flag for rollout (#2246)

* update web-components (#2249)

* update web-components

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* bump version

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

---------

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

* Medallia - Add feedback button to checklist page layout (#2247)

* added feedback button to checklist drupal template

* moved element to under back-to-top element

* VACMS 18909 KISS autosuggest data for services from taxonomies (#2248)

* creates va-healthcare-services.json
* remove spaces from JSONs
* process the processed HTML to text
* simplify

* bump web components (#2250)

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>

---------

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>
Co-authored-by: Andrew Steele <andrew.steele@adhocteam.us>
Co-authored-by: Kevin Duensing <kjduensing@gmail.com>
Co-authored-by: Micah Chiang <micahkchiang@gmail.com>
Co-authored-by: Aubrey Arcangel <aubreyarcangel@users.noreply.github.com>
Co-authored-by: Eli Selkin <eli.selkin@agile6.com>

* #vebt-470 #removing 22-1990n entry in registry.json

---------

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>
Co-authored-by: GovCIOLiz <ewendlinggovcio@gmail.com>
Co-authored-by: Andrew Steele <andrew.steele@adhocteam.us>
Co-authored-by: Kevin Duensing <kjduensing@gmail.com>
Co-authored-by: Micah Chiang <micahkchiang@gmail.com>
Co-authored-by: Aubrey Arcangel <aubreyarcangel@users.noreply.github.com>
Co-authored-by: Eli Selkin <eli.selkin@agile6.com>
Co-authored-by: GovCIOLiz <elizabeth.wendling@va.gov>
Co-authored-by: Chad Chotikasatien <chad.chotikasatien@va.gov.com>

* VACMS-18855 Add Find Forms download modal back to form detail page (#2239)

* VACMS-18855 Add Find Forms download modal back to form detail page

* adding ID to container

* Add feature flag

* finishing up feature flag

---------

Signed-off-by: Micah Chiang <micahkchiang@gmail.com>
Co-authored-by: Eli Selkin <eli.selkin@agile6.com>
Co-authored-by: Andrew Steele <andrew.steele@adhocteam.us>
Co-authored-by: Kevin Duensing <kjduensing@gmail.com>
Co-authored-by: Micah Chiang <micahkchiang@gmail.com>
Co-authored-by: Aubrey Arcangel <aubreyarcangel@users.noreply.github.com>
Co-authored-by: GovCIOLiz <elizabeth.wendling@va.gov>
Co-authored-by: Aaron Kriegler <159946297+vetskrieg@users.noreply.github.com>
Co-authored-by: Rachel Eiting <reiting1@gmail.com>
Co-authored-by: Rachel <rachele.eiting@copilot.llc>
Co-authored-by: Randi Mays <randimays1024@gmail.com>
Co-authored-by: Napoleon K. <95312667+GcioNapoleon@users.noreply.github.com>
Co-authored-by: Ray Messina <48040208+rmessina1010@users.noreply.github.com>
Co-authored-by: Oren Mittman <nihil2501@gmail.com>
Co-authored-by: govcioChad <162637891+govcioChad@users.noreply.github.com>
Co-authored-by: Chad Chotikasatien <chad.chotikasatien@va.gov.com>
Co-authored-by: Alexander Garcia <67602137+asg5704@users.noreply.github.com>
Co-authored-by: GovCIOLiz <ewendlinggovcio@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants