Skip to content

Commit

Permalink
HPC-9779: Add more taxonomies, reviewed way the tags are computed, ad…
Browse files Browse the repository at this point in the history
…ded custom views filter for backend views, updates export logic and tag migration
  • Loading branch information
berliner committed Nov 11, 2024
1 parent 432f800 commit 7211928
Show file tree
Hide file tree
Showing 99 changed files with 2,595 additions and 559 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"drupal/admin_toolbar": "^3.1",
"drupal/allowed_formats": "^2",
"drupal/anonymous_login": "^2.0",
"drupal/better_exposed_filters": "^7.0",
"drupal/bigint": "^2",
"drupal/bulk_update_fields": "^2.0@alpha",
"drupal/classy": "^1.0",
Expand Down Expand Up @@ -94,6 +95,8 @@
"drupal/seckit": "^2.0",
"drupal/social_auth_hid": "^3.1",
"drupal/stage_file_proxy": "^2",
"drupal/taxonomy_max_depth": "^2.1",
"drupal/taxonomy_term_depth": "^2.6",
"drupal/user_expire": "^1.0",
"drupal/username_enumeration_prevention": "^1.3",
"drupal/year": "^1.0",
Expand Down
175 changes: 174 additions & 1 deletion composer.lock

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

3 changes: 2 additions & 1 deletion composer.patches.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"patches": {
"drupal/active_tags": {
"Issue #?": "./patches/active-tags-handle-no-match-message.patch"
"Issue #3481823: HTML tags appear in 'Not exist' and 'Not found' messages": "https://www.drupal.org/files/issues/2024-11-08/3481823-3.patch",
"Issue #3486362: Limit 0 for select dropdowns is not respected": "https://git.drupalcode.org/project/active_tags/-/merge_requests/2.patch"
},
"drupal/core": {
"Issue #2544110: XSS attribute filtering is inconsistent and strips valid attributes": "./patches/2544110-2024-02-15.patch",
Expand Down
54 changes: 36 additions & 18 deletions config/core.entity_form_display.node.article.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ dependencies:
- field.field.node.article.field_country
- field.field.node.article.field_document_type
- field.field.node.article.field_hero_image
- field.field.node.article.field_month
- field.field.node.article.field_paragraphs
- field.field.node.article.field_pdf
- field.field.node.article.field_report_link
- field.field.node.article.field_short_title
- field.field.node.article.field_summary
- field.field.node.article.field_tags
- field.field.node.article.field_theme
- field.field.node.article.field_thumbnail_image
- field.field.node.article.field_year
- node.type.article
Expand Down Expand Up @@ -58,8 +60,9 @@ third_party_settings:
- field_content_space
- field_document_type
- field_year
- field_month
- field_country
- field_tags
- field_theme
- field_author
- field_pdf
- field_automatically_visible
Expand Down Expand Up @@ -124,7 +127,7 @@ content:
third_party_settings: { }
field_author:
type: inline_entity_form_complex
weight: 27
weight: 8
region: content
settings:
form_mode: default
Expand All @@ -142,7 +145,7 @@ content:
third_party_settings: { }
field_automatically_visible:
type: boolean_checkbox
weight: 29
weight: 10
region: content
settings:
display_label: true
Expand Down Expand Up @@ -176,25 +179,29 @@ content:
third_party_settings: { }
field_content_space:
type: options_select
weight: 22
weight: 1
region: content
settings: { }
third_party_settings: { }
field_country:
type: select_active_tags
weight: 25
weight: 5
region: content
settings:
match_operator: CONTAINS
style: rectangle
match_limit: 10
match_limit: 0
placeholder: ''
third_party_settings: { }
field_document_type:
type: options_select
weight: 23
type: select_active_tags
weight: 2
region: content
settings: { }
settings:
match_operator: CONTAINS
style: rectangle
match_limit: 0
placeholder: ''
third_party_settings: { }
field_hero_image:
type: media_library_widget
Expand All @@ -203,6 +210,16 @@ content:
settings:
media_types: { }
third_party_settings: { }
field_month:
type: select_active_tags
weight: 4
region: content
settings:
match_operator: CONTAINS
style: rectangle
match_limit: 0
placeholder: ''
third_party_settings: { }
field_paragraphs:
type: layout_paragraphs
weight: 7
Expand All @@ -217,7 +234,7 @@ content:
third_party_settings: { }
field_pdf:
type: file_generic
weight: 28
weight: 9
region: content
settings:
progress_indicator: throbber
Expand Down Expand Up @@ -245,38 +262,38 @@ content:
allowed_formats:
hide_help: '1'
hide_guidelines: '1'
field_tags:
field_theme:
type: entity_reference_autocomplete_active_tags
weight: 26
weight: 6
region: content
settings:
autocomplete_route_name: active_tags.entity_autocomplete
match_operator: CONTAINS
style: rectangle
size: 60
selection_handler: default
match_limit: 0
match_limit: 10
min_length: 1
delimiter: ''
placeholder: 'Article tags'
placeholder: ''
show_avatar: 1
show_entity_id: 0
convert_uppercase: 0
string_override: 0
show_info_label: 0
info_label: ''
not_exist_message: "No matches found, Press Enter to add <strong>'@term'</strong>."
not_found_message: "No matching suggestions found for <strong>'@term'</strong>."
not_exist_message: null
not_found_message: null
limit_tag_message: 'Allowed number of values limited to <strong>@cardinality</strong>.'
third_party_settings: { }
field_year:
type: select_active_tags
weight: 24
weight: 3
region: content
settings:
match_operator: CONTAINS
style: rectangle
match_limit: 10
match_limit: 0
placeholder: ''
third_party_settings: { }
moderation_state:
Expand Down Expand Up @@ -305,6 +322,7 @@ hidden:
field_card_title: true
field_computed_tags: true
field_report_link: true
field_tags: true
field_thumbnail_image: true
langcode: true
path: true
Expand Down
Loading

0 comments on commit 7211928

Please sign in to comment.