Skip to content

Commit

Permalink
Merge branch 'SLB-480-global-search' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
chindris committed Nov 4, 2024
2 parents 207e8f3 + 70e0bb9 commit 8d6cd37
Show file tree
Hide file tree
Showing 31 changed files with 1,205 additions and 2 deletions.
5 changes: 5 additions & 0 deletions apps/cms/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"amazeelabs/silverback_translations": "^1.0.4",
"composer/installers": "^2.2",
"drupal/admin_toolbar": "^3.4.1",
"drupal/coffee": "^1.4",
"drupal/config_filter": "*",
"drupal/config_ignore": "^3.2",
"drupal/config_notify": "^1.10",
Expand All @@ -72,6 +73,7 @@
"drupal/replicate_ui": "^1.1",
"drupal/reroute_email": "^2.2",
"drupal/role_delegation": "^1.2",
"drupal/search_api": "^1.35",
"drupal/simple_oauth": "^5.2",
"drupal/slack": "^1.4",
"drupal/stage_file_proxy": "^2.0.2",
Expand Down Expand Up @@ -110,6 +112,9 @@
},
"drupal/graphql": {
"Check if translation exists when loading an entity by its uuid": "./patches/graphql_load_by_uuid_translation_check.patch"
},
"drupal/coffee": {
"On the fly ajax search POC": "./patches/contrib/coffee/on_the_fly_ajax_search_poc.patch"
}
},
"patchLevel": {
Expand Down
144 changes: 143 additions & 1 deletion apps/cms/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions apps/cms/config/sync/coffee.configuration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_core:
default_config_hash: cOqVnz_7pbb_0R31nQwih4Gh8XkmIbyFagFp6uUPaOc
coffee_menus:
admin: admin
max_results: 7
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
uuid: f70db696-2977-4e3b-b3d6-0c2c38d446b6
langcode: en
status: true
dependencies:
config:
- config_pages.type.website_settings
- core.entity_view_mode.config_pages.global_search
- field.field.config_pages.website_settings.field_404_page
- field.field.config_pages.website_settings.field_home_page
id: config_pages.website_settings.global_search
targetEntityType: config_pages
bundle: website_settings
mode: global_search
content:
field_404_page:
type: entity_reference_label
label: hidden
settings:
link: false
third_party_settings: { }
weight: 1
region: content
field_home_page:
type: entity_reference_label
label: hidden
settings:
link: false
third_party_settings: { }
weight: 2
region: content
hidden:
search_api_excerpt: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
uuid: e4abb3ab-7ad2-4526-a7f1-5d2490f96c78
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.global_search
- field.field.media.document.field_media_file
- media.type.document
module:
- file
id: media.document.global_search
targetEntityType: media
bundle: document
mode: global_search
content:
field_media_file:
type: file_default
label: hidden
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 1
region: content
name:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
langcode: true
search_api_excerpt: true
thumbnail: true
uid: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
uuid: ee74d301-5723-4317-959d-4ebf11c34c5a
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.global_search
- field.field.media.image.field_media_image
- media.type.image
module:
- image
id: media.image.global_search
targetEntityType: media
bundle: image
mode: global_search
content:
field_media_image:
type: image_url
label: hidden
settings:
image_style: ''
third_party_settings: { }
weight: 1
region: content
name:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
langcode: true
search_api_excerpt: true
thumbnail: true
uid: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
uuid: 0719287e-1b69-47e5-a510-06fcb867982a
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.global_search
- field.field.media.remote_video.field_media_oembed_video
- media.type.remote_video
id: media.remote_video.global_search
targetEntityType: media
bundle: remote_video
mode: global_search
content:
field_media_oembed_video:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 1
region: content
name:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
langcode: true
search_api_excerpt: true
thumbnail: true
uid: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
uuid: 9dfe81b7-833b-42c9-b468-ab9725180311
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.global_search
- field.field.media.video.field_media_video_file
- media.type.video
module:
- file
id: media.video.global_search
targetEntityType: media
bundle: video
mode: global_search
content:
field_media_video_file:
type: file_url_plain
label: hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
name:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
langcode: true
search_api_excerpt: true
thumbnail: true
uid: true
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ hidden:
body: true
langcode: true
links: true
search_api_excerpt: true
Loading

0 comments on commit 8d6cd37

Please sign in to comment.