Skip to content

Commit

Permalink
Hiding office-powered Connect With Us fields and updating cypress (#1…
Browse files Browse the repository at this point in the history
…9970)

Co-authored-by: Christian Burk <[email protected]>
  • Loading branch information
davidmpickett and omahane authored Nov 27, 2024
1 parent a1c1de5 commit f62e022
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 166 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ third_party_settings:
open: 0
group_connect_with_us:
children:
- field_related_office
- field_connect_with_us
label: 'Connect with us'
region: content
Expand Down Expand Up @@ -794,7 +793,7 @@ content:
third_party_settings: { }
field_last_saved_by_an_editor:
type: datetime_timestamp
weight: 46
weight: 15
region: content
settings: { }
third_party_settings: { }
Expand Down Expand Up @@ -829,12 +828,6 @@ content:
delete_confirmation: false
show_drag_and_drop: false
split_text: false
field_related_office:
type: options_select
weight: 45
region: content
settings: { }
third_party_settings: { }
field_secondary_call_to_action:
type: paragraphs
weight: 4
Expand Down Expand Up @@ -895,6 +888,7 @@ content:
third_party_settings: { }
hidden:
created: true
field_related_office: true
langcode: true
promote: true
sticky: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ third_party_settings:
- field_promo
- field_links
- field_support_services
- field_related_office
- field_connect_with_us
label: 'Right Rail'
region: content
Expand All @@ -75,7 +74,7 @@ third_party_settings:
label: 'Editorial Workflow'
region: content
parent_name: ''
weight: 12
weight: 11
format_type: details
format_settings:
classes: ''
Expand Down Expand Up @@ -229,7 +228,7 @@ content:
third_party_settings: { }
field_last_saved_by_an_editor:
type: datetime_timestamp
weight: 13
weight: 12
region: content
settings: { }
third_party_settings: { }
Expand Down Expand Up @@ -261,12 +260,6 @@ content:
form_display_mode: default
default_paragraph_type: _none
third_party_settings: { }
field_related_office:
type: options_select
weight: 21
region: content
settings: { }
third_party_settings: { }
field_spokes:
type: paragraphs
weight: 4
Expand Down Expand Up @@ -348,6 +341,7 @@ hidden:
created: true
field_meta_tags: true
field_plainlanguage_date: true
field_related_office: true
langcode: true
promote: true
status: true
Expand Down
57 changes: 9 additions & 48 deletions config/sync/core.entity_form_display.node.office.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ dependencies:
module:
- content_moderation
- field_group
- link
- path
- social_media_links_field
- text
third_party_settings:
field_group:
Expand All @@ -30,7 +28,7 @@ third_party_settings:
label: 'Section settings'
region: content
parent_name: ''
weight: 8
weight: 4
format_type: details_sidebar
format_settings:
classes: ''
Expand Down Expand Up @@ -61,7 +59,7 @@ third_party_settings:
label: 'Editorial workflow'
region: content
parent_name: ''
weight: 9
weight: 5
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -72,7 +70,6 @@ third_party_settings:
group_tabs:
children:
- group_content
- group_connect_with_us
- group_meta_tags
label: tabs
region: content
Expand Down Expand Up @@ -100,23 +97,6 @@ third_party_settings:
formatter: closed
description: ''
required_fields: true
group_connect_with_us:
children:
- field_external_link
- field_email_updates_link
- field_social_media_links
label: 'Connect with Us'
region: content
parent_name: group_tabs
weight: 21
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: "The content entered below is shown in the 'Connect with Us' sidebar on related Benefits Hub Landing pages and in bottom CTA on Campaign Landing pages. "
required_fields: true
id: node.office.default
targetEntityType: node
bundle: office
Expand Down Expand Up @@ -144,52 +124,30 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_email_updates_link:
type: link_default
weight: 27
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_external_link:
type: link_default
weight: 26
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_last_saved_by_an_editor:
type: datetime_timestamp
weight: 31
weight: 9
region: content
settings: { }
third_party_settings: { }
field_office_id:
type: string_textfield
weight: 29
weight: 7
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_parent_office:
type: entity_reference_autocomplete
weight: 30
weight: 8
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_social_media_links:
type: social_media_links_field_default
weight: 28
region: content
settings: { }
third_party_settings: { }
moderation_state:
type: moderation_state_default
weight: 6
Expand All @@ -198,7 +156,7 @@ content:
third_party_settings: { }
path:
type: path
weight: 5
weight: 2
region: content
settings: { }
third_party_settings: { }
Expand All @@ -217,7 +175,10 @@ content:
third_party_settings: { }
hidden:
created: true
field_email_updates_link: true
field_external_link: true
field_meta_tags: true
field_social_media_links: true
langcode: true
promote: true
status: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ third_party_settings:
description: ''
group_connect_with_us:
children:
- field_related_office
- field_connect_with_us
label: 'Connect with us'
parent_name: ''
Expand Down Expand Up @@ -487,15 +486,6 @@ content:
third_party_settings: { }
weight: 4
region: content
field_related_office:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: connect_with_us
link: false
third_party_settings: { }
weight: 27
region: content
field_secondary_call_to_action:
type: entity_reference_revisions_entity_view
label: above
Expand All @@ -516,6 +506,7 @@ hidden:
field_clp_stories_panel: true
field_clp_video_panel: true
field_last_saved_by_an_editor: true
field_related_office: true
langcode: true
links: true
search_api_excerpt: true
12 changes: 2 additions & 10 deletions config/sync/core.entity_view_display.node.landing_page.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ content:
view_mode: default
link: true
third_party_settings: { }
weight: 5
weight: 4
region: content
field_description:
type: string
Expand Down Expand Up @@ -176,15 +176,6 @@ content:
third_party_settings: { }
weight: 7
region: content
field_related_office:
type: entity_reference_entity_view
label: above
settings:
view_mode: connect_with_us
link: false
third_party_settings: { }
weight: 4
region: content
field_spokes:
type: entity_reference_revisions_entity_view
label: above
Expand Down Expand Up @@ -233,6 +224,7 @@ hidden:
field_last_saved_by_an_editor: true
field_meta_tags: true
field_plainlanguage_date: true
field_related_office: true
langcode: true
links: true
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ dependencies:
module:
- field_group
- layout_builder
- link
- social_media_links_field
- user
third_party_settings:
field_group:
Expand All @@ -30,7 +28,7 @@ third_party_settings:
label: 'Meta tags'
parent_name: ''
region: hidden
weight: 4
weight: 14
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -44,43 +42,6 @@ targetEntityType: node
bundle: office
mode: connect_with_us
content:
field_email_updates_link:
type: link
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 1
region: content
field_external_link:
type: link
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 0
region: content
field_social_media_links:
type: social_media_links_field_default
label: hidden
settings:
appearance:
orientation: v
show_name: '1'
link_attributes:
target: '<none>'
rel: '<none>'
third_party_settings: { }
weight: 2
region: content
flag_email_node:
settings: { }
third_party_settings: { }
Expand All @@ -97,10 +58,13 @@ hidden:
field_administration: true
field_body: true
field_description: true
field_email_updates_link: true
field_external_link: true
field_last_saved_by_an_editor: true
field_meta_tags: true
field_office_id: true
field_parent_office: true
field_social_media_links: true
langcode: true
links: true
search_api_excerpt: true
Loading

0 comments on commit f62e022

Please sign in to comment.