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-10940 Consolidate reusable and page-specific Q&As on CLPs #2050

Merged
merged 5 commits into from
Jun 18, 2024

Conversation

randimays
Copy link
Contributor

@randimays randimays commented Apr 30, 2024

Summary

None of our production Campaign Landing Pages use the Reusable Q&A feature yet, but when they do: we want the reusable Q&As that do not have a header to be combined under "Frequently Asked Questions." When the Reusable Q&A does have a header, we should see "Frequently Asked Questions" first with its accordions, and the header for the Reusable Q&As second with its accordions.

Related issue(s)

Testing done

Tested locally at:

  • /initiatives/protecting-veterans-from-fraud/
  • /initiatives/veteran-trust-in-va/
  • /initiatives/veterans-experience-action-centers/
  • /initiatives/covid-flu/

Screenshots

Note: some screenshots are back-to-back. Ignore any vertical spacing weirdness as it's probably just a "seam" between screenshots.

Standard reusable Q&As with header

URL: https://web-fw8iwfgw7bk58wghnmcqhga5gprkrgrv.demo.cms.va.gov/initiatives/protecting-veterans-from-fraud

CMS data Screenshot 2024-06-11 at 7 37 43 AM Screenshot 2024-06-11 at 7 37 50 AM
Desktop view Screenshot 2024-06-14 at 9 57 21 AM Screenshot 2024-06-14 at 9 57 29 AM Screenshot 2024-06-14 at 9 57 45 AM
Mobile view Screenshot 2024-06-14 at 9 58 20 AM Screenshot 2024-06-14 at 9 58 33 AM Screenshot 2024-06-14 at 10 00 08 AM Screenshot 2024-06-14 at 10 00 16 AM Screenshot 2024-06-14 at 10 00 24 AM

Standard reusable Q&As without header

URL: https://web-fw8iwfgw7bk58wghnmcqhga5gprkrgrv.demo.cms.va.gov/initiatives/veteran-trust-in-va/

CMS Data Screenshot 2024-06-11 at 7 48 06 AM Screenshot 2024-06-11 at 7 48 13 AM
Desktop view Screenshot 2024-06-11 at 7 47 12 AM Screenshot 2024-06-11 at 8 22 26 AM Screenshot 2024-06-11 at 8 22 35 AM Screenshot 2024-06-11 at 8 22 39 AM
Mobile view Screenshot 2024-06-11 at 7 47 30 AM Screenshot 2024-06-11 at 7 47 38 AM Screenshot 2024-06-11 at 8 27 17 AM Screenshot 2024-06-11 at 8 27 27 AM Screenshot 2024-06-11 at 8 27 34 AM Screenshot 2024-06-11 at 8 27 41 AM

Accordion reusable Q&As with header

URL: https://web-fw8iwfgw7bk58wghnmcqhga5gprkrgrv.demo.cms.va.gov/initiatives/veterans-experience-action-centers/

CMS Data Screenshot 2024-06-11 at 7 50 23 AM Screenshot 2024-06-11 at 7 50 28 AM
Desktop view Screenshot 2024-06-14 at 10 04 01 AM Screenshot 2024-06-14 at 10 04 07 AM Screenshot 2024-06-14 at 10 04 13 AM
Mobile view Screenshot 2024-06-14 at 10 04 25 AM Screenshot 2024-06-14 at 10 04 34 AM Screenshot 2024-06-14 at 10 04 43 AM Screenshot 2024-06-14 at 10 04 49 AM

Accordion reusable Q&As without header

URL: https://web-fw8iwfgw7bk58wghnmcqhga5gprkrgrv.demo.cms.va.gov/initiatives/covid-flu/

CMS Data Screenshot 2024-06-11 at 8 17 35 AM Screenshot 2024-06-11 at 8 17 44 AM
Desktop view Screenshot 2024-06-14 at 10 06 22 AM Screenshot 2024-06-14 at 10 06 27 AM Screenshot 2024-06-14 at 10 06 32 AM
Mobile view Screenshot 2024-06-14 at 10 06 40 AM Screenshot 2024-06-14 at 10 06 48 AM Screenshot 2024-06-14 at 10 06 56 AM Screenshot 2024-06-14 at 10 07 01 AM

@randimays randimays force-pushed the 10940-qa-consolidate branch from b38d48e to a2988c1 Compare June 7, 2024 16:49
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/10940-qa-consolidate June 11, 2024 12:45 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/main/10940-qa-consolidate June 11, 2024 13:35 Inactive
@randimays randimays marked this pull request as ready for review June 11, 2024 19:28
@randimays randimays requested a review from a team as a code owner June 11, 2024 19:28
@randimays randimays requested a review from laflannery June 11, 2024 19:29
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 tested in tugboat instances

@laflannery
Copy link

@randimays I am realizing we discussed the header but not the intro field and so it seems to be handled differently:

  • In scenario 1 (Reusable header but the Q&As are not displaying as accordions) we are showing this in the middle
  • In scenarios 3 + 4 (Reusable Q&As are showing as accordions) we aren't showing this at all

Was this an intentional difference in the display? Ideally I think this should show directly under the H2 because if we are combining the Q&As then the intro should apply to all of these as well. But let me know if that is not possible and I can create a new ticket for this to determine behavior based on technical feasibility.

@randimays
Copy link
Contributor Author

randimays commented Jun 14, 2024

@laflannery I didn't add introductions to all of the CLPs for testing as that section is also optional. The fraud, action center, and flu CLPs have intros but the trust one does not.

I'll add the intro under the header (if it exists) and get this updated!

@randimays
Copy link
Contributor Author

@laflannery This is ready for your review please

Copy link

@laflannery laflannery left a comment

Choose a reason for hiding this comment

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

Looks good

@randimays randimays merged commit 713f75d into main Jun 18, 2024
24 checks passed
@randimays randimays deleted the 10940-qa-consolidate branch June 18, 2024 15:36
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.

4 participants