Skip to content

Commit

Permalink
VACMS-15098: Language changes to Q&A Components
Browse files Browse the repository at this point in the history
  • Loading branch information
chri5tia committed Sep 20, 2023
1 parent 8b17cde commit 7e049b8
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 18 deletions.
6 changes: 3 additions & 3 deletions config/sync/node.type.q_a.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ third_party_settings:
node_title_help_text:
title_help: 'Add a page title in a form of a question with sentence case capitalization. (<a href="https://design.va.gov/content-style-guide/capitalization" target="_blank">See further guidelines</a>)'
menu_force:
menu_force: 0
menu_force_parent: 0
name: 'Q&A - single'
menu_force: false
menu_force_parent: false
name: 'Reusable Q&A'
type: q_a
description: 'Reusable content that answers a single question from Veterans or other beneficiaries. A Q&A may appear on its own or as part of an FAQ page.'
help: 'Single Question and Answer.'
Expand Down
12 changes: 4 additions & 8 deletions config/sync/paragraphs.paragraphs_type.q_a.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
uuid: 525c8535-c6fa-4e64-8824-82c889785a6a
langcode: en
status: true
dependencies:
module:
- paragraphs_browser
third_party_settings:
paragraphs_browser:
description: 'For content formatted as a series of questions and answers. Use this (instead of Paragraph) for better accessibility and easy rearranging.'
dependencies: { }
id: q_a
label: 'Q&A'
label: 'Page-Specific Q&A'
icon_uuid: null
description: 'Question and Answer'
icon_default: null
description: 'Page-specific (non-reusable) content formatted as a question and answer.'
behavior_plugins: { }
4 changes: 2 additions & 2 deletions config/sync/paragraphs.paragraphs_type.q_a_group.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ third_party_settings:
paragraphs_browser:
image_path: themes/custom/vagovclaro/images/screenshots/q-a-section.jpg
id: q_a_group
label: 'Q&A group'
label: 'Reusable Q&A Group'
icon_uuid: null
icon_default: null
description: 'Create a new group of existing Q&As. Use this (instead of Rich text) for better accessibility and easy rearranging.'
description: 'Create a group using stored Q&As in the CMS. Use this for better accessibility and easy rearranging. '
behavior_plugins: { }
5 changes: 2 additions & 3 deletions config/sync/paragraphs.paragraphs_type.q_a_section.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ dependencies:
- paragraphs_browser
third_party_settings:
paragraphs_browser:
description: 'For content formatted as a series of questions and answers. Use this (instead of Rich text) for better accessibility and easy rearranging.'
image_path: themes/custom/vagovclaro/images/screenshots/q-a-section.jpg
id: q_a_section
label: 'Q&A Section'
label: 'Page-Specific Q&A Group'
icon_uuid: null
icon_default: null
description: 'For content formatted as a series of questions and answers. Use this (instead of Rich text) for better accessibility and easy rearranging.'
description: 'Create a group of custom Q&As that provide information specific to the page content. Use this for better accessibility and easy rearranging.'
behavior_plugins: { }
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ groups:
weight: '9'
map:
wysiwyg: most_commonly_used
q_a_section: most_commonly_used
expandable_text: collapsible_elements
spanish_translation_summary: collapsible_elements
process: other
Expand All @@ -54,3 +53,5 @@ map:
three_column_layout: layout
lists_of_links: other
centralized_content_descriptor: advanced
q_a_section: most_commonly_used
q_a_group: most_commonly_used
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Content Type: Campaign Landing Page
And I click to collapse "Hero banner"
And I click to expand "FAQs"
And I enable the page segment
And I click the "Add Q&A" button
And I click the "Add Page-Specific Q&A" button
Then I can fill in "Question" field with fake text
And I can fill in "Text" field with fake text
And I should see "Add a link to more FAQs"
Expand Down

0 comments on commit 7e049b8

Please sign in to comment.