Skip to content

Commit

Permalink
Merge pull request #477 from City-of-Helsinki/dev
Browse files Browse the repository at this point in the history
Dev to main
  • Loading branch information
teroelonen authored Nov 19, 2024
2 parents c7fb2f5 + d23d29a commit 04edba6
Show file tree
Hide file tree
Showing 87 changed files with 1,971 additions and 1,038 deletions.
1,856 changes: 842 additions & 1,014 deletions composer.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- paragraphs.paragraphs_type.contact_card_listing
- paragraphs.paragraphs_type.content_cards
- paragraphs.paragraphs_type.image
- paragraphs.paragraphs_type.image_gallery
- paragraphs.paragraphs_type.liftup_with_image
- paragraphs.paragraphs_type.list_of_links
- paragraphs.paragraphs_type.map
Expand Down Expand Up @@ -53,6 +54,7 @@ settings:
unit_search: unit_search
service_list: service_list
unit_contact_card: unit_contact_card
image_gallery: image_gallery
negate: 0
target_bundles_drag_drop:
accordion:
Expand All @@ -73,6 +75,9 @@ settings:
image:
weight: 0
enabled: true
image_gallery:
weight: 0
enabled: true
liftup_with_image:
weight: 0
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ content:
third_party_settings: { }
simple_sitemap:
weight: 10
region: content
settings: { }
third_party_settings: { }
region: content
status:
type: boolean_checkbox
weight: 12
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
uuid: 6f54e74d-5553-4ba9-beb0-af843b204fed
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.image_gallery.field_gallery_item
- field.field.paragraph.image_gallery.field_image_gallery_description
- field.field.paragraph.image_gallery.field_image_gallery_ratio
- field.field.paragraph.image_gallery.field_image_gallery_title
- paragraphs.paragraphs_type.image_gallery
module:
- paragraphs
- text
_core:
default_config_hash: ClzrSrZjVhACSX9k5LALozrSm5gLuFEvOURBKAlRbvs
id: paragraph.image_gallery.default
targetEntityType: paragraph
bundle: image_gallery
mode: default
content:
field_gallery_item:
type: paragraphs
weight: 3
region: content
settings:
title: Paragraph
title_plural: Paragraphs
edit_mode: closed
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: dropdown
form_display_mode: default
default_paragraph_type: image_gallery_item
features:
add_above: '0'
collapse_edit_all: collapse_edit_all
convert: '0'
duplicate: duplicate
third_party_settings: { }
field_image_gallery_description:
type: text_textarea
weight: 1
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_image_gallery_ratio:
type: options_select
weight: 2
region: content
settings: { }
third_party_settings: { }
field_image_gallery_title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
uuid: ac59cef5-11ea-4ffa-8550-29adbac16965
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.image_gallery_item.field_gallery_image
- field.field.paragraph.image_gallery_item.field_gallery_image_description
- paragraphs.paragraphs_type.image_gallery_item
module:
- hdbt_admin_tools
- media_library
_core:
default_config_hash: We454Hg-JKGKzTEuGiPpn1di6JpllvY96zuvVNeMX1I
id: paragraph.image_gallery_item.default
targetEntityType: paragraph
bundle: image_gallery_item
mode: default
content:
field_gallery_image:
type: media_library_widget
weight: 0
region: content
settings:
media_types: { }
third_party_settings: { }
field_gallery_image_description:
type: textfield_character_counter
weight: 2
region: content
settings:
counter_step: 0
counter_total: 160
size: 160
placeholder: ''
third_party_settings: { }
hidden:
created: true
status: true
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
- media_library
- text
_core:
default_config_hash: AMDZDzWNP90sUgt9bSZf2RbL7KmSxkXMKIiueo1JSWg
default_config_hash: VflHWgcqxxjyQ5dI9XiXzqbtlh7Pl2_qqR3bz8Zj1jg
id: paragraph.remote_video.default
targetEntityType: paragraph
bundle: remote_video
Expand Down
38 changes: 38 additions & 0 deletions conf/cmi/core.entity_view_display.media.image.image_gallery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
uuid: 276c125d-e2db-44ce-9576-21c45385e0dc
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.image_gallery
- field.field.media.image.field_media_image
- field.field.media.image.field_photographer
- media.type.image
- responsive_image.styles.image_gallery_1_1
module:
- responsive_image
_core:
default_config_hash: Ky7rUnc3u7APd8dH1E5EogiDjUtvkJvq0ZHfgG6OlQw
id: media.image.image_gallery
targetEntityType: media
bundle: image
mode: image_gallery
content:
field_media_image:
type: responsive_image
label: hidden
settings:
responsive_image_style: image_gallery_1_1
image_link: ''
image_loading:
attribute: eager
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
field_photographer: true
langcode: true
name: true
search_api_excerpt: true
thumbnail: true
uid: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
uuid: 4634b6de-c88e-4454-97b2-5333a9f68c5d
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.image_gallery.field_gallery_item
- field.field.paragraph.image_gallery.field_image_gallery_description
- field.field.paragraph.image_gallery.field_image_gallery_ratio
- field.field.paragraph.image_gallery.field_image_gallery_title
- paragraphs.paragraphs_type.image_gallery
module:
- entity_reference_revisions
- options
- text
_core:
default_config_hash: K6JQi5u8Iwe6KYzLnjn5Mk9HBBXE3P0KHemD_OxmcU8
id: paragraph.image_gallery.default
targetEntityType: paragraph
bundle: image_gallery
mode: default
content:
field_gallery_item:
type: entity_reference_revisions_entity_view
label: hidden
settings:
view_mode: default
link: ''
third_party_settings: { }
weight: 0
region: content
field_image_gallery_description:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 2
region: content
field_image_gallery_ratio:
type: list_default
label: hidden
settings: { }
third_party_settings: { }
weight: 3
region: content
field_image_gallery_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 1
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
uuid: fefcfc5a-2130-4993-868c-d7a87b3bc78f
langcode: en
status: true
dependencies:
config:
- field.field.paragraph.image_gallery_item.field_gallery_image
- field.field.paragraph.image_gallery_item.field_gallery_image_description
- paragraphs.paragraphs_type.image_gallery_item
_core:
default_config_hash: sguq7Qqt3__gceyKWUbJTys0llCi28ZdArv-LyN2XBE
id: paragraph.image_gallery_item.default
targetEntityType: paragraph
bundle: image_gallery_item
mode: default
content:
field_gallery_image:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: image
link: false
third_party_settings: { }
weight: 0
region: content
field_gallery_image_description:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 2
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
module:
- text
_core:
default_config_hash: hYT61xkhP2zXO2VXijtXVPkoENlhLvIv5DRycKMm6iE
default_config_hash: TfUdaKwrwdr5ime_VDVt5VlOtlUx4tcGTVyC7dmC3Gk
id: paragraph.remote_video.default
targetEntityType: paragraph
bundle: remote_video
Expand Down
13 changes: 13 additions & 0 deletions conf/cmi/core.entity_view_mode.media.image_gallery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: c52c9e44-0d46-417c-a8d9-372120b2c68a
langcode: en
status: true
dependencies:
module:
- media
_core:
default_config_hash: X_EeW1ealqkAjjQhcc2ehkJxyT9VZ9QH5iTYi-6NeYY
id: media.image_gallery
label: 'Image gallery'
description: ''
targetEntityType: media
cache: true
1 change: 1 addition & 0 deletions conf/cmi/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ module:
helfi_paragraphs_hearings: 0
helfi_paragraphs_hero: 0
helfi_paragraphs_image: 0
helfi_paragraphs_image_gallery: 0
helfi_paragraphs_liftup_with_image: 0
helfi_paragraphs_list_of_links: 0
helfi_paragraphs_map: 0
Expand Down
7 changes: 6 additions & 1 deletion conf/cmi/field.field.node.landing_page.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies:
- paragraphs.paragraphs_type.event_list
- paragraphs.paragraphs_type.from_library
- paragraphs.paragraphs_type.hearings
- paragraphs.paragraphs_type.image_gallery
- paragraphs.paragraphs_type.liftup_with_image
- paragraphs.paragraphs_type.list_of_links
- paragraphs.paragraphs_type.map
Expand Down Expand Up @@ -57,12 +58,13 @@ settings:
target_group_links: target_group_links
event_list: event_list
news_list: news_list
image_gallery: image_gallery
curated_event_list: curated_event_list
hearings: hearings
service_list: service_list
service_list_search: service_list_search
unit_search: unit_search
unit_contact_card: unit_contact_card
curated_event_list: curated_event_list
negate: 0
target_bundles_drag_drop:
banner:
Expand All @@ -89,6 +91,9 @@ settings:
hearings:
weight: 14
enabled: true
image_gallery:
weight: 15
enabled: true
liftup_with_image:
weight: 3
enabled: true
Expand Down
5 changes: 5 additions & 0 deletions conf/cmi/field.field.node.page.field_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies:
- paragraphs.paragraphs_type.event_list
- paragraphs.paragraphs_type.from_library
- paragraphs.paragraphs_type.image
- paragraphs.paragraphs_type.image_gallery
- paragraphs.paragraphs_type.list_of_links
- paragraphs.paragraphs_type.map
- paragraphs.paragraphs_type.news_list
Expand Down Expand Up @@ -56,6 +57,7 @@ settings:
event_list: event_list
contact_card_listing: contact_card_listing
news_list: news_list
image_gallery: image_gallery
service_list_search: service_list_search
unit_search: unit_search
unit_contact_card: unit_contact_card
Expand Down Expand Up @@ -88,6 +90,9 @@ settings:
image:
weight: 3
enabled: true
image_gallery:
weight: 16
enabled: true
list_of_links:
weight: 4
enabled: true
Expand Down
5 changes: 5 additions & 0 deletions conf/cmi/field.field.node.page.field_lower_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies:
- paragraphs.paragraphs_type.event_list
- paragraphs.paragraphs_type.from_library
- paragraphs.paragraphs_type.image
- paragraphs.paragraphs_type.image_gallery
- paragraphs.paragraphs_type.list_of_links
- paragraphs.paragraphs_type.map
- paragraphs.paragraphs_type.news_list
Expand Down Expand Up @@ -56,6 +57,7 @@ settings:
event_list: event_list
contact_card_listing: contact_card_listing
news_list: news_list
image_gallery: image_gallery
service_list_search: service_list_search
unit_search: unit_search
unit_contact_card: unit_contact_card
Expand Down Expand Up @@ -88,6 +90,9 @@ settings:
image:
weight: 5
enabled: true
image_gallery:
weight: 16
enabled: true
list_of_links:
weight: 0
enabled: true
Expand Down
Loading

0 comments on commit 04edba6

Please sign in to comment.