Skip to content

Commit 6eb286c

Browse files
authored
Merge pull request #770 from City-of-Helsinki/update-configuration
Automatic update
2 parents 00abe5d + 2797085 commit 6eb286c

28 files changed

Lines changed: 233 additions & 115 deletions

composer.lock

Lines changed: 71 additions & 70 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
uuid: 619e7b2b-4bf0-4d2a-8d0e-1e2f755ed3a0
2+
langcode: en
3+
status: true
4+
dependencies:
5+
enforced:
6+
module:
7+
- helfi_ai
8+
_core:
9+
default_config_hash: JTVHEZLbItWZtvIw3bf4RFUQKNV77OQB2GvmWS204yw
10+
id: helfi_seo_title__helfi_seo_title_default
11+
label: 'HELfi SEO title (default)'
12+
type: helfi_seo_title
13+
prompt: |
14+
You are an SEO and Generative Engine Optimization (GEO) specialist for the
15+
City of Helsinki website.
16+
Suggest 3 alternative page titles in {language} for the page content below.
17+
Optimize the titles to be surfaced and cited by AI answer engines (such as
18+
ChatGPT, Gemini and Google AI Overviews) as well as traditional search.
19+
20+
Follow these rules:
21+
- State the page's main topic and the user intent it answers, in natural
22+
language a person would actually use.
23+
- Make each title self-contained and unambiguous on its own, without relying
24+
on surrounding context.
25+
- Lead with the most important entity or keyword.
26+
- Keep each title between 40 and 60 characters.
27+
- Do not use quotation marks, numbering, markdown, or trailing punctuation.
28+
- Respond with exactly 3 titles, each on its own line, and nothing else.
29+
30+
Page content:
31+
{content}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
uuid: 1754b850-297c-4f52-880d-3202e33b06a8
2+
langcode: en
3+
status: true
4+
dependencies:
5+
enforced:
6+
module:
7+
- helfi_ai
8+
_core:
9+
default_config_hash: kn58mc7TV6iXaQRK212XFRVX_E58hEE1Paubq-ryQWs
10+
id: helfi_seo_title
11+
label: 'HELfi SEO title'
12+
variables:
13+
-
14+
name: content
15+
help_text: 'The page content as plain text'
16+
required: true
17+
-
18+
name: language
19+
help_text: 'The target language name (e.g. Finnish, Swedish)'
20+
required: true
21+
tokens: { }

conf/cmi/core.base_field_override.node.announcement.title.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ dependencies:
55
config:
66
- node.type.announcement
77
_core:
8-
default_config_hash: quT0ukX0qoC-tZdXznzL15peakfXQ7GYM0MGmFxh-pA
8+
default_config_hash: yjrr63AjNRCnsWfWVIxOpDZ9iCoJAAEsrRa9sA5m5yw
99
id: node.announcement.title
1010
field_name: title
1111
entity_type: node
1212
bundle: announcement
1313
label: 'Administrative title'
14-
description: ''
14+
description: 'This is only visible in the content creator view.'
1515
required: true
1616
translatable: true
1717
default_value: { }

conf/cmi/core.entity_form_display.node.announcement.default.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ dependencies:
1919
- publication_date
2020
- scheduler
2121
- select2
22-
- text
2322
_core:
24-
default_config_hash: qqQi0rDViTGi7MGzX_kBdLCh98Fa5KYWqDcNxHrl8gs
23+
default_config_hash: IZt68K48_DOhsW4qVZv45fcAoDn0zXb9GiewJSCyaHs
2524
id: node.announcement.default
2625
targetEntityType: node
2726
bundle: announcement
2827
mode: default
2928
content:
3029
body:
31-
type: text_textarea_with_summary
30+
type: formatted_text_character_counter
3231
weight: 18
3332
region: content
3433
settings:
34+
counter_max: 0
35+
counter_step: 0
36+
counter_total: 250
3537
rows: 9
36-
summary_rows: 3
3738
placeholder: ''
38-
show_summary: false
3939
third_party_settings: { }
4040
created:
4141
type: datetime_timestamp
@@ -79,10 +79,13 @@ content:
7979
match_limit: 20
8080
third_party_settings: { }
8181
field_announcement_title:
82-
type: string_textfield
82+
type: textfield_character_counter
8383
weight: 17
8484
region: content
8585
settings:
86+
counter_max: 125
87+
counter_step: 0
88+
counter_total: 55
8689
size: 60
8790
placeholder: ''
8891
third_party_settings: { }

conf/cmi/field.field.node.announcement.body.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ dependencies:
99
module:
1010
- text
1111
_core:
12-
default_config_hash: OijFS0n0SdsLLMnAS0Z4SUa_GBz5mgplPGglXf5Vd-s
12+
default_config_hash: na8w1mhUeHyrVdTpynxvATrpwrRT9cvvkxHeKU0NbMs
1313
id: node.announcement.body
1414
field_name: body
1515
entity_type: node
1616
bundle: announcement
1717
label: Body
18-
description: 'Please note that title is not shown alongside with the body text.'
19-
required: true
18+
description: ''
19+
required: false
2020
translatable: true
2121
default_value: { }
2222
default_value_callback: ''

conf/cmi/field.field.node.announcement.field_announcement_content_pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ dependencies:
88
- node.type.landing_page
99
- node.type.page
1010
_core:
11-
default_config_hash: JPt7qeyq-PRJLAqRiAtUr-fkTHds7uqQMCgAGr45kcY
11+
default_config_hash: 28UHQpFV-0nMYg-OxVw-ZXzIAYytuSA2IHAPKw9fZyE
1212
id: node.announcement.field_announcement_content_pages
1313
field_name: field_announcement_content_pages
1414
entity_type: node
1515
bundle: announcement
1616
label: 'Show on content pages'
17-
description: ''
17+
description: 'Select the content pages where the announcement will be displayed. Enter part of the page title and select the correct page from the suggestions.'
1818
required: false
1919
translatable: false
2020
default_value: { }

conf/cmi/field.field.node.announcement.field_announcement_service_pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ field_name: field_announcement_service_pages
1212
entity_type: node
1313
bundle: announcement
1414
label: 'Show on service pages'
15-
description: ''
15+
description: 'Select the TPR-service pages where the announcement will be displayed. Enter part of the page title and select the correct page from the suggestions.'
1616
required: false
1717
translatable: false
1818
default_value: { }

conf/cmi/field.field.node.announcement.field_announcement_title.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ dependencies:
66
- field.storage.node.field_announcement_title
77
- node.type.announcement
88
_core:
9-
default_config_hash: 2--yQuHyv8YxbVGfR8Z1OVhUaSuscODMl84KbI_9MPE
9+
default_config_hash: WT6y2SqcA0r2EGtqOE1D8FZvCAHqzMcp5LJApUZQe-k
1010
id: node.announcement.field_announcement_title
1111
field_name: field_announcement_title
1212
entity_type: node
1313
bundle: announcement
14-
label: 'Announcement title'
15-
description: 'This title is only available to users of assistive technology. '
14+
label: Title
15+
description: ''
1616
required: true
1717
translatable: true
1818
default_value: { }

conf/cmi/field.field.node.announcement.field_announcement_unit_pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ field_name: field_announcement_unit_pages
1212
entity_type: node
1313
bundle: announcement
1414
label: 'Show on unit pages'
15-
description: ''
15+
description: 'Select the TPR-unit pages where the announcement will be displayed. Enter part of the page title and select the correct page from the suggestions.'
1616
required: false
1717
translatable: false
1818
default_value: { }

0 commit comments

Comments
 (0)