diff --git a/config/sync/config_pages.type.stanford_basic_site_settings.yml b/config/sync/config_pages.type.stanford_basic_site_settings.yml index d1f1e1aa..c1d8e677 100644 --- a/config/sync/config_pages.type.stanford_basic_site_settings.yml +++ b/config/sync/config_pages.type.stanford_basic_site_settings.yml @@ -116,7 +116,7 @@ third_party_settings: suffix: '' id: stanford_basic_site_settings label: 'Site Settings' -token: null +token: true context: show_warning: true group: diff --git a/config/sync/search_api.index.algolia_search.yml b/config/sync/search_api.index.algolia_search.yml index 9b69fa29..4752ea84 100644 --- a/config/sync/search_api.index.algolia_search.yml +++ b/config/sync/search_api.index.algolia_search.yml @@ -3,9 +3,22 @@ langcode: en status: false dependencies: config: + - field.storage.node.su_event_audience + - field.storage.node.su_basic_page_type + - field.storage.node.su_course_subject + - field.storage.node.su_event_date_time + - field.storage.node.su_event_type + - field.storage.node.su_person_full_title + - field.storage.node.su_news_topics + - field.storage.node.su_person_type_group + - field.storage.node.su_publication_topics + - field.storage.node.su_shared_tags + - field.storage.node.su_person_short_title + - field.storage.node.su_event_subject - search_api.server.algolia_search - core.entity_view_mode.node.search_indexing module: + - taxonomy - node - search_api id: algolia_search @@ -13,12 +26,32 @@ name: 'Algolia Search' description: '' read_only: true field_settings: + basic_page_type: + label: 'Basic Page Type » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'su_basic_page_type:entity:name' + type: string + dependencies: + config: + - field.storage.node.su_basic_page_type + module: + - taxonomy byline: label: Byline property_path: custom_value type: string configuration: value: '[node:su_news_byline]' + course_subject: + label: 'Course Subject » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'su_course_subject:entity:name' + type: string + dependencies: + config: + - field.storage.node.su_course_subject + module: + - taxonomy created: label: 'Authored on' datasource_id: 'entity:node' @@ -39,18 +72,52 @@ field_settings: type: string configuration: value: '[node:su_event_email|node:su_person_email]' - event_end: - label: 'Event End Date and Time' - property_path: custom_value + event_audience: + label: 'Audience » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'su_event_audience:entity:name' type: string - configuration: - value: '[node:su_event_date_time:end_value]' + dependencies: + config: + - field.storage.node.su_event_audience + module: + - taxonomy + event_end: + label: 'Date & Time » End timestamp value' + datasource_id: 'entity:node' + property_path: 'su_event_date_time:end_value' + type: date + dependencies: + config: + - field.storage.node.su_event_date_time event_start: - label: 'Event Start Date and Time' - property_path: custom_value + label: 'Date & Time' + datasource_id: 'entity:node' + property_path: su_event_date_time + type: date + dependencies: + config: + - field.storage.node.su_event_date_time + event_subject: + label: 'Subject » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'su_event_subject:entity:name' type: string - configuration: - value: '[node:su_event_date_time:value]' + dependencies: + config: + - field.storage.node.su_event_subject + module: + - taxonomy + event_type: + label: 'Event Types » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'su_event_type:entity:name' + type: string + dependencies: + config: + - field.storage.node.su_event_type + module: + - taxonomy html: label: 'Rendered HTML output' property_path: rendered_item @@ -68,18 +135,42 @@ field_settings: stanford_person: search_indexing stanford_policy: search_indexing stanford_publication: search_indexing + news_type: + label: 'News Types » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'su_news_topics:entity:name' + type: string + dependencies: + config: + - field.storage.node.su_news_topics + module: + - taxonomy person_full_title: - label: 'Person Full Title' - property_path: custom_value + label: 'Full Title' + datasource_id: 'entity:node' + property_path: su_person_full_title type: string - configuration: - value: '[node:su_person_full_title]' + dependencies: + config: + - field.storage.node.su_person_full_title person_short_title: - label: 'Person Short Title' - property_path: custom_value + label: 'Short Title' + datasource_id: 'entity:node' + property_path: su_person_short_title type: string - configuration: - value: '[node:su_person_short_title]' + dependencies: + config: + - field.storage.node.su_person_short_title + person_type: + label: 'Person Types & Groups » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'su_person_type_group:entity:name' + type: string + dependencies: + config: + - field.storage.node.su_person_type_group + module: + - taxonomy phone: label: Phone property_path: custom_value @@ -92,6 +183,26 @@ field_settings: type: string configuration: value: '[node:su_page_image:entity:field_media_image:large|node:su_page_banner:entity:su_banner_image:entity:field_media_image:large|node:su_person_photo:entity:field_media_image:large|node:su_news_featured_media:entity:field_media_image:large|node:su_news_banner:entity:field_media_image:large]' + publication_type: + label: 'Publication Types » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'su_publication_topics:entity:name' + type: string + dependencies: + config: + - field.storage.node.su_publication_topics + module: + - taxonomy + shared_tags: + label: 'Shared Tags » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'su_shared_tags:entity:name' + type: string + dependencies: + config: + - field.storage.node.su_shared_tags + module: + - taxonomy status: label: status datasource_id: 'entity:node' @@ -139,7 +250,7 @@ field_settings: property_path: custom_value type: string configuration: - value: '[node:url]' + value: '[config_page:stanford_basic_site_settings:su_site_url:uri|site:base-url][node:url:relative]' datasource_settings: 'entity:node': bundles: @@ -160,16 +271,23 @@ processor_settings: preprocess_query: -15 all_fields: true fields: + - basic_page_type - byline + - course_subject - dek - email - - event_end - - event_start + - event_audience + - event_subject + - event_type - html + - news_type - person_full_title - person_short_title + - person_type - phone - photo + - publication_type + - shared_tags - subheadline - summary - title diff --git a/config/sync/views.view.stanford_basic_pages.yml b/config/sync/views.view.stanford_basic_pages.yml index 3f3a3d20..068b90c4 100644 --- a/config/sync/views.view.stanford_basic_pages.yml +++ b/config/sync/views.view.stanford_basic_pages.yml @@ -694,6 +694,47 @@ display: 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: empty + 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: + basic_page_types: basic_page_types + defaults: + arguments: false display_description: '' display_extenders: { } graphql_query_name: stanfordBasicPages @@ -776,6 +817,45 @@ display: 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: empty + 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: + basic_page_types: basic_page_types style: type: graphql options: @@ -786,7 +866,7 @@ display: defaults: style: false row: false - arguments: true + arguments: false display_description: '' display_extenders: { } graphql_query_name: stanfordBasicPagesCards diff --git a/config/sync/views.view.stanford_shared_tags.yml b/config/sync/views.view.stanford_shared_tags.yml index 3501240e..dfd242e8 100644 --- a/config/sync/views.view.stanford_shared_tags.yml +++ b/config/sync/views.view.stanford_shared_tags.yml @@ -320,6 +320,97 @@ display: offset: true offset_label: offset quantity: 9 + exposed_form: + type: graphql + options: + submit_button: Apply + reset_button: 0 + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: 1 + sort_asc_label: Asc + sort_desc_label: Desc + 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: '10' + use_taxonomy_term_path: false + vocabularies: + su_shared_tags: su_shared_tags + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: node_type + 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: { } + glossary: false + limit: 0 + case: none + path_case: none + transform_dash: false + break_phrase: true + defaults: + arguments: false display_description: '' display_extenders: { } graphql_query_name: stanfordSharedTags