From e08bcfd625597c061a916166b8878150a1eb7a0c Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Thu, 17 Oct 2024 09:07:32 -0700 Subject: [PATCH] SUL-656: Adjust news layout selector and help text --- ...orm_display.node.stanford_news.default.yml | 73 ++----------------- ...g_split.patch.graphql_compose.settings.yml | 38 +++++----- ....node.sul_library.sul_library__ext_url.yml | 2 +- 3 files changed, 27 insertions(+), 86 deletions(-) diff --git a/docroot/profiles/lagunita/sul_profile/config/sync/split/library/config_split.patch.core.entity_form_display.node.stanford_news.default.yml b/docroot/profiles/lagunita/sul_profile/config/sync/split/library/config_split.patch.core.entity_form_display.node.stanford_news.default.yml index 841ec87e..4d49f71f 100644 --- a/docroot/profiles/lagunita/sul_profile/config/sync/split/library/config_split.patch.core.entity_form_display.node.stanford_news.default.yml +++ b/docroot/profiles/lagunita/sul_profile/config/sync/split/library/config_split.patch.core.entity_form_display.node.stanford_news.default.yml @@ -5,7 +5,6 @@ adding: - field.field.node.stanford_news.sul_rel_links - field.field.node.stanford_news.sul_rel_links_heading module: - - conditional_fields - paragraphs third_party_settings: field_group: @@ -15,9 +14,9 @@ adding: - sul_rel_links_heading - sul_rel_links label: 'Layout Options' - region: content + region: hidden parent_name: '' - weight: 17 + weight: 14 format_type: details_sidebar format_settings: classes: '' @@ -29,18 +28,12 @@ adding: required_fields: false weight: 0 content: - layout_selection: - type: options_select - weight: 16 - region: content - settings: { } - third_party_settings: { } path: weight: 10 publish_on: weight: 11 scheduler_settings: - weight: 14 + weight: 12 su_metatags: weight: 8 su_news_components: @@ -56,66 +49,15 @@ adding: weight: 9 su_shared_tags: weight: 7 - sul_rel_links: - type: link_default - weight: 18 - region: content - settings: - placeholder_url: '' - placeholder_title: '' - third_party_settings: - conditional_fields: - 64777462-d6f8-4ffc-955d-a9e14b6dd78b: - entity_type: node - bundle: stanford_news - dependee: layout_selection - settings: - state: visible - reset: false - condition: value - grouping: AND - values_set: 1 - value: '' - values: { } - value_form: - - - target_id: sul_news_side_nav - effect: show - effect_options: { } - selector: '' - sul_rel_links_heading: - type: string_textfield - weight: 17 - region: content - settings: - size: 60 - placeholder: '' - third_party_settings: - conditional_fields: - 554d3c8c-9321-42cd-a353-eeda063d7cfd: - entity_type: node - bundle: stanford_news - dependee: layout_selection - settings: - state: visible - reset: false - condition: value - grouping: AND - values_set: 1 - value: '' - values: { } - value_form: - - - target_id: sul_news_side_nav - effect: show - effect_options: { } - selector: '' unpublish_on: type: datetime_timestamp_no_default - weight: 15 + weight: 13 region: content settings: { } third_party_settings: { } + hidden: + sul_rel_links: true + sul_rel_links_heading: true removing: dependencies: module: @@ -145,5 +87,4 @@ removing: su_shared_tags: weight: 9 hidden: - layout_selection: true unpublish_on: true diff --git a/docroot/profiles/lagunita/sul_profile/config/sync/split/library/config_split.patch.graphql_compose.settings.yml b/docroot/profiles/lagunita/sul_profile/config/sync/split/library/config_split.patch.graphql_compose.settings.yml index db7a952a..0faea2ea 100644 --- a/docroot/profiles/lagunita/sul_profile/config/sync/split/library/config_split.patch.graphql_compose.settings.yml +++ b/docroot/profiles/lagunita/sul_profile/config/sync/split/library/config_split.patch.graphql_compose.settings.yml @@ -12,10 +12,10 @@ adding: stanford_saml: enabled: false layout: - sul_branch_side_nav: - enabled: false sul_library_full_width: enabled: false + sul_branch_side_nav: + enabled: false sul_news_side_nav: enabled: false sul_side_nav: @@ -42,8 +42,6 @@ adding: tools: enabled: false node: - stanford_opportunity: - enabled: false sul_library: enabled: true query_load_enabled: true @@ -53,6 +51,8 @@ adding: enabled: true query_load_enabled: true edges_enabled: true + stanford_opportunity: + enabled: false paragraph: collection: enabled: true @@ -63,8 +63,6 @@ adding: layout: enabled: true query_load_enabled: true - stanford_layout: - enabled: false sul_button: enabled: true query_load_enabled: true @@ -77,28 +75,30 @@ adding: sul_libguide: enabled: true query_load_enabled: true + stanford_layout: + enabled: false taxonomy_term: + study_place_capacity: + enabled: true + query_load_enabled: true + sul_study_place_features: + enabled: true + query_load_enabled: true + sul_study_place_type: + enabled: true + query_load_enabled: true cap_org_codes: enabled: false media_tags: enabled: false + site_owner_orgs: + enabled: false opportunity_sponsor: enabled: false opportunity_tag_filters: enabled: false opportunity_type: enabled: false - site_owner_orgs: - enabled: false - study_place_capacity: - enabled: true - query_load_enabled: true - sul_study_place_features: - enabled: true - query_load_enabled: true - sul_study_place_type: - enabled: true - query_load_enabled: true field_config: media: image: @@ -146,10 +146,10 @@ adding: enabled: true sul_library__a11y: enabled: true - sul_library__ext_url: - enabled: true sul_library__type: enabled: true + sul_library__ext_url: + enabled: true sul_rel_links: enabled: true sul_rel_links_heading: diff --git a/docroot/profiles/lagunita/sul_profile/config/sync/split/library/field.field.node.sul_library.sul_library__ext_url.yml b/docroot/profiles/lagunita/sul_profile/config/sync/split/library/field.field.node.sul_library.sul_library__ext_url.yml index 13a279a8..f8779530 100644 --- a/docroot/profiles/lagunita/sul_profile/config/sync/split/library/field.field.node.sul_library.sul_library__ext_url.yml +++ b/docroot/profiles/lagunita/sul_profile/config/sync/split/library/field.field.node.sul_library.sul_library__ext_url.yml @@ -12,7 +12,7 @@ field_name: sul_library__ext_url entity_type: node bundle: sul_library label: 'External Page' -description: 'Provide an external URL that the branch page will redirect to. Leave this empty to display the branch page on the Library site.' +description: 'Provide an external URL for branch links to redirect users to this page. Leave this field empty for default behavior - branch links will open the branch page on the Library site.' required: false translatable: false default_value: { }