Skip to content

Comments

UHF-X: Include cache tags from tpr_unit entity on unit contact card paragraph#1490

Merged
khalima merged 1 commit intomainfrom
UHF-X_tpr-unit-caching
Feb 6, 2026
Merged

UHF-X: Include cache tags from tpr_unit entity on unit contact card paragraph#1490
khalima merged 1 commit intomainfrom
UHF-X_tpr-unit-caching

Conversation

@wktohesi
Copy link
Contributor

@wktohesi wktohesi commented Feb 5, 2026

UHF-X

What was done

  • Adds cache tags from the referenced tpr_unit entity when rendering a unit contact card paragraph. Without this the dynamic cache for the paragraph is not purged when the tpr_unit is updated.

How to install

  • Make sure your strategia instance is up and running on latest dev-branch
    • git checkout dev && git pull origin dev
    • make fresh
  • Update the HDBT theme
    • composer require drupal/hdbt:dev-UHF-X_tpr-unit-caching
  • Run code updates
    • make drush-locale-update drush-cr

How to test

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

⚠️ Visual regression found! Please check if this change is wanted or accidental. You can check the output here: https://city-of-helsinki.github.io/drupal-hdbt-visual-regression/pull/1490/html_report/

Copy link
Contributor

@khalima khalima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@khalima khalima merged commit 41fe3f0 into main Feb 6, 2026
8 of 10 checks passed
@khalima khalima deleted the UHF-X_tpr-unit-caching branch February 6, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants