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

D8CORE-7422 Write test for basic page list paragraph display sorts #798

Merged
merged 4 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
507 changes: 393 additions & 114 deletions config/sync/views.view.stanford_basic_pages.yml

Large diffs are not rendered by default.

630 changes: 73 additions & 557 deletions config/sync/views.view.stanford_courses.yml

Large diffs are not rendered by default.

409 changes: 126 additions & 283 deletions config/sync/views.view.stanford_events.yml

Large diffs are not rendered by default.

234 changes: 85 additions & 149 deletions config/sync/views.view.stanford_news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -533,9 +533,9 @@ display:
plugin_id: datetime
order: DESC
expose:
label: ''
label: 'Publishing Date (su_news_publishing_date)'
field_identifier: su_news_publishing_date_value
exposed: false
exposed: true
granularity: second
created:
id: created
Expand Down Expand Up @@ -674,6 +674,8 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- 'url.query_args:sort_by'
- 'url.query_args:sort_order'
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down Expand Up @@ -904,6 +906,8 @@ display:
- 'languages:language_interface'
- url
- url.query_args
- 'url.query_args:sort_by'
- 'url.query_args:sort_order'
- 'user.node_grants:view'
- user.permissions
tags:
Expand All @@ -912,9 +916,9 @@ display:
- 'config:field.storage.node.su_news_publishing_date'
- 'config:field.storage.node.su_news_source'
- 'config:field.storage.node.su_news_topics'
block_1_graphql:
id: block_1_graphql
display_title: 'GraphQL: - Default List -'
graphql_list:
id: graphql_list
display_title: 'GraphQL: List'
display_plugin: graphql
position: 9
display_options:
Expand Down Expand Up @@ -964,6 +968,68 @@ display:
value: "<h2>No results found</h2>\r\n<p>Please try another option from the filter list.</p>"
format: stanford_html
tokenize: false
sorts:
su_news_publishing_date_value:
id: su_news_publishing_date_value
table: node__su_news_publishing_date
field: su_news_publishing_date_value
relationship: none
group_type: group
admin_label: ''
plugin_id: datetime
order: DESC
expose:
label: 'Publishing Date (su_news_publishing_date)'
field_identifier: publishingDate
exposed: true
granularity: second
created:
id: created
table: node_field_data
field: created
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: created
plugin_id: date
order: DESC
expose:
label: 'Authored on'
field_identifier: created
exposed: true
granularity: second
changed:
id: changed
table: node_field_data
field: changed
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: changed
plugin_id: date
order: ASC
expose:
label: Changed
field_identifier: changed
exposed: true
granularity: second
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: standard
order: ASC
expose:
label: Title
field_identifier: title
exposed: true
arguments:
term_node_taxonomy_name_depth:
id: term_node_taxonomy_name_depth
Expand Down Expand Up @@ -1077,21 +1143,24 @@ display:
style: false
row: false
relationships: false
sorts: false
arguments: false
filters: false
filter_groups: false
relationships: { }
use_ajax: true
display_description: 'List of all content'
display_extenders: { }
graphql_query_name: stanfordNewsDefaultList
graphql_query_name: stanfordNews
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'url.query_args:sort_by'
- 'url.query_args:sort_order'
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down Expand Up @@ -1334,6 +1403,8 @@ display:
- 'languages:language_interface'
- url
- url.query_args
- 'url.query_args:sort_by'
- 'url.query_args:sort_order'
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down Expand Up @@ -1489,6 +1560,8 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'url.query_args:sort_by'
- 'url.query_args:sort_order'
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down Expand Up @@ -1620,149 +1693,8 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.su_news_dek'
- 'config:field.storage.node.su_news_featured_media'
- 'config:field.storage.node.su_news_publishing_date'
- 'config:field.storage.node.su_news_source'
- 'config:field.storage.node.su_news_topics'
vertical_cards_graphql:
id: vertical_cards_graphql
display_title: 'GraphQL: Card Grid'
display_plugin: graphql
position: 99
display_options:
pager:
type: full
options:
offset: 0
pagination_heading_level: h4
items_per_page: 3
total_pages: null
id: 0
tags:
next: 'Next ›'
previous: '‹ Previous'
first: '« First'
last: 'Last »'
expose:
items_per_page: true
items_per_page_label: items
items_per_page_options: '3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99'
items_per_page_options_all: true
items_per_page_options_all_label: all
offset: true
offset_label: offset
quantity: 9
arguments:
term_node_taxonomy_name_depth:
id: term_node_taxonomy_name_depth
table: node_field_data
field: term_node_taxonomy_name_depth
relationship: none
group_type: group
admin_label: ''
entity_type: node
plugin_id: taxonomy_index_name_depth
default_action: ignore
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: true
depth: '1'
use_taxonomy_term_path: false
vocabularies:
stanford_news_topics: stanford_news_topics
nid:
id: nid
table: node_field_data
field: nid
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: nid
plugin_id: node_nid
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: node
default_argument_options: { }
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: true
validate:
type: none
fail: ignore
validate_options: { }
break_phrase: false
not: true
style:
type: graphql
options:
uses_fields: false
row:
type: graphql_entity
options: null
defaults:
css_class: false
pager: false
use_more: false
use_more_always: false
use_more_text: false
link_display: false
link_url: false
style: false
row: false
arguments: false
display_description: 'Vertical Cards'
use_more: false
use_more_always: false
use_more_text: 'See All News'
link_display: custom_url
link_url: /news
display_extenders: { }
graphql_query_name: stanfordNewsCardGrid
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 'url.query_args:sort_by'
- 'url.query_args:sort_order'
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down Expand Up @@ -1898,6 +1830,8 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'url.query_args:sort_by'
- 'url.query_args:sort_order'
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down Expand Up @@ -2004,6 +1938,8 @@ display:
- 'languages:language_interface'
- url
- url.query_args
- 'url.query_args:sort_by'
- 'url.query_args:sort_order'
- 'user.node_grants:view'
- user.permissions
tags:
Expand Down
Loading
Loading