Skip to content
Snippets Groups Projects
Commit 4450ff6b authored by David Galeano's avatar David Galeano Committed by Adam G-H
Browse files

Issue #3511946 by gxleano, phenaproxima, plopesc, pameeela,...

Issue #3511946 by gxleano, phenaproxima, plopesc, pameeela, kristiaanvandeneynde, jurgenhaas, rajab natshah, thejimbirch: Enable Tagify in the admin_ui and content_type_base recipes, and use it on all reference fields defined by our content types
parent 224911fc
No related branches found
No related tags found
1 merge request!524Issue #3511946: Add Tagify to Admin UI recipe
Pipeline #450096 failed
Showing
with 32 additions and 25 deletions
......@@ -3,8 +3,10 @@
* [Editoria11y](https://drupal.org/project/editoria11y)
## Admin UI
* [Coffee](https://drupal.org/project/coffee)
* [Dashboard](https://www.drupal.org/project/dashboard)
* [Gin](https://www.drupal.org/project/gin)
* [Simple Add More](https://www.drupal.org/project/sam)
* [Tagify](https://drupal.org/project/tagify)
## AI Assistant
* [AI Core](https://www.drupal.org/project/ai)
* [AI Agents](https://www.drupal.org/project/ai_agents)
......@@ -18,7 +20,7 @@
## Authentication Tweaks
* [BPMN.iO for ECA](https://www.drupal.org/project/bpmn_io)
* [ECA Core](https://www.drupal.org/project/eca)
* [Login with email or username](https://drupal.org/project/login_emailusername)
* [Login with Email or Username](https://drupal.org/project/login_emailusername)
* [Token](https://www.drupal.org/project/token)
## Blog
* [Add Content by Bundle](https://www.drupal.org/project/add_content_by_bundle)
......@@ -34,6 +36,7 @@
* [Pathauto](https://www.drupal.org/project/pathauto)
* [Scheduler](https://drupal.org/project/scheduler)
* [Scheduler Content Moderation Integration](https://www.drupal.org/project/scheduler_content_moderation_integration)
* [Tagify](https://drupal.org/project/tagify)
* [Token](https://www.drupal.org/project/token)
* [Trash](https://www.drupal.org/project/trash)
## Events
......@@ -55,6 +58,8 @@
* [Add Content by Bundle](https://www.drupal.org/project/add_content_by_bundle)
* [Better Exposed Filters](https://www.drupal.org/project/better_exposed_filters)
* [Selective Better Exposed Filters](https://www.drupal.org/project/selective_better_exposed_filters)
## Person Profiles
* [Add Content by Bundle](https://www.drupal.org/project/add_content_by_bundle)
## Basic Privacy
* [BPMN.iO for ECA](https://www.drupal.org/project/bpmn_io)
* [ECA Core](https://www.drupal.org/project/eca)
......@@ -73,6 +78,8 @@
* [Redirect](https://www.drupal.org/project/redirect)
* [Token](https://www.drupal.org/project/token)
## SEO Tools
* [BPMN.iO for ECA](https://www.drupal.org/project/bpmn_io)
* [ECA Core](https://www.drupal.org/project/eca)
* [Field Group](https://www.drupal.org/project/field_group)
* [Focal Point](https://drupal.org/project/focal_point)
* [Metatag](https://www.drupal.org/project/metatag)
......
......@@ -8,7 +8,8 @@
"drupal/core": ">=10.3",
"drupal/dashboard": "^2",
"drupal/gin": "^4.0.6",
"drupal/sam": "^1.2"
"drupal/sam": "^1.2",
"drupal/tagify": "^1.2"
},
"version": "1.x-dev"
}
......@@ -9,6 +9,7 @@ install:
- gin_toolbar
- navigation
- sam
- tagify_user_list
config:
import:
gin:
......@@ -26,7 +27,7 @@ config:
- block.block.claro_content
- block.block.claro_local_actions
- block.block.claro_messages
- block.block.claro_page_title
- block.block.claro_page_title
- block.block.claro_primary_local_tasks
- block.block.claro_secondary_local_tasks
actions:
......
......@@ -48,13 +48,12 @@ content:
media_types: { }
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete_tags
type: tagify_entity_reference_autocomplete_widget
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
langcode:
......
......@@ -126,7 +126,7 @@ class ComponentValidationTest extends BrowserTestBase {
'required' => FALSE,
'translatable' => FALSE,
'label' => 'Tags',
'input type' => 'text',
'input type' => 'tagify',
'help text' => 'Include tags for relevant topics.',
],
],
......
......@@ -76,13 +76,12 @@ content:
media_types: { }
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete_tags
type: tagify_entity_reference_autocomplete_widget
weight: 13
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
moderation_state:
......
......@@ -132,7 +132,7 @@ class ComponentValidationTest extends BrowserTestBase {
'required' => FALSE,
'translatable' => FALSE,
'label' => 'Tags',
'input type' => 'text',
'input type' => 'tagify',
'help text' => 'Include tags for relevant topics.',
],
'field_case_study__client_name' => [
......
......@@ -14,7 +14,8 @@
"drupal/token": "^1",
"drupal/trash": "^3.0.13",
"drupal/scheduler": "^2.2",
"drupal/scheduler_content_moderation_integration": "^3.0.4"
"drupal/scheduler_content_moderation_integration": "^3.0.4",
"drupal/tagify": "^1.2"
},
"version": "1.x-dev"
}
......@@ -37,6 +37,7 @@ install:
- options
# Allow content types to configure whether editors can easily add menu links to them.
- menu_ui
- tagify_user_list
config:
# Treat all field storages strictly, since they influence the database layout.
strict:
......
......@@ -113,6 +113,9 @@ trait ContentModelTestTrait {
$selector = sprintf('input[name^="%s["]', $field_name);
Assert::assertSame($spec['input type'], $assert_session->elementExists('css', $selector)->getAttribute('type'));
}
elseif ($spec['input type'] === 'tagify') {
$assert_session->elementExists('css', sprintf('input[name=%s]', $field_name));
}
elseif ($spec['input type'] === 'textarea') {
$assert_session->elementExists('css', sprintf('textarea[name^="%s["]', $field_name));
}
......
......@@ -108,13 +108,12 @@ content:
placeholder: ''
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete_tags
type: tagify_entity_reference_autocomplete_widget
weight: 16
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
langcode:
......
......@@ -191,7 +191,7 @@ class ComponentValidationTest extends BrowserTestBase {
'required' => FALSE,
'translatable' => FALSE,
'label' => 'Tags',
'input type' => 'text',
'input type' => 'tagify',
'help text' => 'Include tags for relevant topics.',
],
],
......
......@@ -49,13 +49,12 @@ content:
media_types: { }
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete_tags
type: tagify_entity_reference_autocomplete_widget
weight: 3
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
langcode:
......
......@@ -131,7 +131,7 @@ class ComponentValidationTest extends BrowserTestBase {
'required' => FALSE,
'translatable' => FALSE,
'label' => 'Tags',
'input type' => 'text',
'input type' => 'tagify',
'help text' => 'Include tags for relevant topics.',
],
],
......
......@@ -50,13 +50,12 @@ content:
media_types: { }
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete_tags
type: tagify_entity_reference_autocomplete_widget
weight: 9
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
langcode:
......
......@@ -119,7 +119,7 @@ class ComponentValidationTest extends BrowserTestBase {
'required' => FALSE,
'translatable' => FALSE,
'label' => 'Tags',
'input type' => 'text',
'input type' => 'tagify',
'help text' => 'Include tags for relevant topics.',
],
],
......
......@@ -76,13 +76,12 @@ content:
placeholder: ''
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete_tags
type: tagify_entity_reference_autocomplete_widget
weight: 7
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
langcode:
......
......@@ -160,7 +160,7 @@ class ComponentValidationTest extends BrowserTestBase {
'required' => FALSE,
'translatable' => FALSE,
'label' => 'Tags',
'input type' => 'text',
'input type' => 'tagify',
'help text' => 'Include tags for relevant topics.',
],
],
......
......@@ -76,13 +76,12 @@ content:
placeholder: ''
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete_tags
type: tagify_entity_reference_autocomplete_widget
weight: 13
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
moderation_state:
......
......@@ -132,7 +132,7 @@ class ComponentValidationTest extends BrowserTestBase {
'required' => FALSE,
'translatable' => FALSE,
'label' => 'Tags',
'input type' => 'text',
'input type' => 'tagify',
'help text' => 'Include tags for relevant topics.',
],
'field_project__client_name' => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment