-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VACMS-2312: User guides content model part 2, and theming. (#2440)
* VACMS-2438: 3 column layout paragraph type. * VACMS-2438: List of links content block config. * VACMS-2438: Enable two new content blocks on user guides. * VACMS-2438: Update paragraph bundle descriptions. * VACMS-2438: Update field widgets for 3 column layout. * VACMS-2438: Behat tests for user guide paragraph types. * VACMS-000: Fix layout padding. * VACMS-2312: Twig and CSS to support user guide view. * VACMS-000: Code comment for paragraphs.scss. * VACMS-2312: Various minor typography updates. * VACMS-2312: PHPCS should ignore user_guides.css. * VACMS-2312: Fix typography regressions. * VACMS-2312: Establish new view mode for paragraphs for user guides. * VACMS-2312: Delete Three column layout paragraph type. * VACMS-2312: Template updates for paragraphs. * VACMS-2438: Lists of links paragraph type. * VACMS-2312: User guides should use paragraph user guide display mode. * VACMS-2312: Add node type as a page template suggestion. * VACMS-2312: CSS for user guides. * VACMS-2312: Add a Final link field ot list of links. * VACMS-2438: Update behat tests. * VACMS-2312: Update behat tests. * VACMS-2312: Related user guides field template. * VACMS-2312: Display related user guides field label. * VACMS-2312: Max width of text and user guide CSS. * VACMS-2438: Fix behat test.
- Loading branch information
Showing
49 changed files
with
1,131 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
config/sync/core.entity_form_display.paragraph.list_of_links.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
uuid: cc44b26f-ddba-4489-a41a-ebf7e83376b7 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.paragraph.list_of_links.field_link | ||
- field.field.paragraph.list_of_links.field_links | ||
- field.field.paragraph.list_of_links.field_section_header | ||
- paragraphs.paragraphs_type.list_of_links | ||
module: | ||
- linkit | ||
id: paragraph.list_of_links.default | ||
targetEntityType: paragraph | ||
bundle: list_of_links | ||
mode: default | ||
content: | ||
field_link: | ||
weight: 2 | ||
settings: | ||
placeholder_url: '' | ||
placeholder_title: '' | ||
linkit_profile: default | ||
third_party_settings: { } | ||
type: linkit | ||
region: content | ||
field_links: | ||
weight: 1 | ||
settings: | ||
placeholder_url: '' | ||
placeholder_title: '' | ||
linkit_profile: default | ||
third_party_settings: { } | ||
type: linkit | ||
region: content | ||
field_section_header: | ||
weight: 0 | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
type: string_textfield | ||
region: content | ||
hidden: | ||
created: true | ||
status: true |
45 changes: 45 additions & 0 deletions
45
config/sync/core.entity_form_display.paragraph.lists_of_links.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
uuid: dcd26a1e-1a88-4b94-a8da-40abec6a4da2 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.paragraph.lists_of_links.field_section_header | ||
- field.field.paragraph.lists_of_links.field_va_paragraphs | ||
- paragraphs.paragraphs_type.lists_of_links | ||
module: | ||
- paragraphs | ||
id: paragraph.lists_of_links.default | ||
targetEntityType: paragraph | ||
bundle: lists_of_links | ||
mode: default | ||
content: | ||
field_section_header: | ||
weight: 0 | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
type: string_textfield | ||
region: content | ||
field_va_paragraphs: | ||
weight: 1 | ||
settings: | ||
title: 'List of links' | ||
title_plural: 'Lists of links' | ||
edit_mode: open | ||
closed_mode: summary | ||
autocollapse: none | ||
closed_mode_threshold: 0 | ||
add_mode: button | ||
form_display_mode: default | ||
default_paragraph_type: list_of_links | ||
features: | ||
add_above: '0' | ||
collapse_edit_all: '0' | ||
duplicate: '0' | ||
third_party_settings: { } | ||
type: paragraphs | ||
region: content | ||
hidden: | ||
created: true | ||
status: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,5 @@ content: | |
third_party_settings: { } | ||
type: string | ||
region: content | ||
hidden: { } | ||
hidden: | ||
search_api_excerpt: true |
43 changes: 43 additions & 0 deletions
43
config/sync/core.entity_view_display.paragraph.link_teaser.user_guides.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
uuid: 62d8e14b-5ae6-458d-906e-f9b4b4d4019b | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.paragraph.user_guides | ||
- field.field.paragraph.link_teaser.field_link | ||
- field.field.paragraph.link_teaser.field_link_summary | ||
- paragraphs.paragraphs_type.link_teaser | ||
module: | ||
- layout_builder | ||
- link | ||
third_party_settings: | ||
layout_builder: | ||
allow_custom: false | ||
enabled: false | ||
id: paragraph.link_teaser.user_guides | ||
targetEntityType: paragraph | ||
bundle: link_teaser | ||
mode: user_guides | ||
content: | ||
field_link: | ||
weight: 0 | ||
label: hidden | ||
settings: | ||
trim_length: 80 | ||
url_only: false | ||
url_plain: false | ||
rel: '' | ||
target: '' | ||
third_party_settings: { } | ||
type: link | ||
region: content | ||
field_link_summary: | ||
weight: 1 | ||
label: hidden | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
type: string | ||
region: content | ||
hidden: | ||
search_api_excerpt: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
config/sync/core.entity_view_display.paragraph.list_of_link_teasers.user_guides.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
uuid: c0c4b52a-6f9b-4ffb-9ddd-0145ae25b68f | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.paragraph.user_guides | ||
- field.field.paragraph.list_of_link_teasers.field_title | ||
- field.field.paragraph.list_of_link_teasers.field_va_paragraphs | ||
- paragraphs.paragraphs_type.list_of_link_teasers | ||
module: | ||
- entity_reference_revisions | ||
- layout_builder | ||
third_party_settings: | ||
layout_builder: | ||
allow_custom: false | ||
enabled: false | ||
id: paragraph.list_of_link_teasers.user_guides | ||
targetEntityType: paragraph | ||
bundle: list_of_link_teasers | ||
mode: user_guides | ||
content: | ||
field_title: | ||
weight: 0 | ||
label: hidden | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
type: string | ||
region: content | ||
field_va_paragraphs: | ||
weight: 1 | ||
label: hidden | ||
settings: | ||
view_mode: user_guides | ||
link: '' | ||
third_party_settings: { } | ||
type: entity_reference_revisions_entity_view | ||
region: content | ||
hidden: | ||
search_api_excerpt: true |
50 changes: 50 additions & 0 deletions
50
config/sync/core.entity_view_display.paragraph.list_of_links.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
uuid: bfc80983-5068-4c69-962b-62ba97e51888 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.paragraph.list_of_links.field_link | ||
- field.field.paragraph.list_of_links.field_links | ||
- field.field.paragraph.list_of_links.field_section_header | ||
- paragraphs.paragraphs_type.list_of_links | ||
module: | ||
- link | ||
id: paragraph.list_of_links.default | ||
targetEntityType: paragraph | ||
bundle: list_of_links | ||
mode: default | ||
content: | ||
field_link: | ||
weight: 3 | ||
label: hidden | ||
settings: | ||
trim_length: 80 | ||
url_only: false | ||
url_plain: false | ||
rel: '' | ||
target: '' | ||
third_party_settings: { } | ||
type: link | ||
region: content | ||
field_links: | ||
weight: 2 | ||
label: hidden | ||
settings: | ||
trim_length: 80 | ||
url_only: false | ||
url_plain: false | ||
rel: '' | ||
target: '' | ||
third_party_settings: { } | ||
type: link | ||
region: content | ||
field_section_header: | ||
weight: 0 | ||
label: hidden | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
type: string | ||
region: content | ||
hidden: | ||
search_api_excerpt: true |
56 changes: 56 additions & 0 deletions
56
config/sync/core.entity_view_display.paragraph.list_of_links.user_guides.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
uuid: eedf5602-5332-4aea-9b72-69de665998ce | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- core.entity_view_mode.paragraph.user_guides | ||
- field.field.paragraph.list_of_links.field_link | ||
- field.field.paragraph.list_of_links.field_links | ||
- field.field.paragraph.list_of_links.field_section_header | ||
- paragraphs.paragraphs_type.list_of_links | ||
module: | ||
- layout_builder | ||
- link | ||
third_party_settings: | ||
layout_builder: | ||
allow_custom: false | ||
enabled: false | ||
id: paragraph.list_of_links.user_guides | ||
targetEntityType: paragraph | ||
bundle: list_of_links | ||
mode: user_guides | ||
content: | ||
field_link: | ||
type: link | ||
weight: 2 | ||
region: content | ||
label: hidden | ||
settings: | ||
trim_length: 80 | ||
url_only: false | ||
url_plain: false | ||
rel: '' | ||
target: '' | ||
third_party_settings: { } | ||
field_links: | ||
weight: 1 | ||
label: hidden | ||
settings: | ||
trim_length: 80 | ||
url_only: false | ||
url_plain: false | ||
rel: '' | ||
target: '' | ||
third_party_settings: { } | ||
type: link | ||
region: content | ||
field_section_header: | ||
weight: 0 | ||
label: hidden | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
type: string | ||
region: content | ||
hidden: | ||
search_api_excerpt: true |
34 changes: 34 additions & 0 deletions
34
config/sync/core.entity_view_display.paragraph.lists_of_links.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
uuid: 6533e579-a77c-4e2a-b46c-1ee8ec200c2e | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- field.field.paragraph.lists_of_links.field_section_header | ||
- field.field.paragraph.lists_of_links.field_va_paragraphs | ||
- paragraphs.paragraphs_type.lists_of_links | ||
module: | ||
- entity_reference_revisions | ||
id: paragraph.lists_of_links.default | ||
targetEntityType: paragraph | ||
bundle: lists_of_links | ||
mode: default | ||
content: | ||
field_section_header: | ||
weight: 0 | ||
label: hidden | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
type: string | ||
region: content | ||
field_va_paragraphs: | ||
weight: 1 | ||
label: hidden | ||
settings: | ||
view_mode: default | ||
link: '' | ||
third_party_settings: { } | ||
type: entity_reference_revisions_entity_view | ||
region: content | ||
hidden: | ||
search_api_excerpt: true |
Oops, something went wrong.
123ddb1
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.
❌ Test Failed:
va/tests/accessibility