From 59b9aef4bea983b187c792622a04d224de23a7a0 Mon Sep 17 00:00:00 2001 From: Lukasz Ostafin Date: Mon, 9 Mar 2026 14:28:56 +0100 Subject: [PATCH 1/2] IBX-11370: Added parameter offset for tooltips --- .../Resources/public/js/scripts/helpers/tooltips.helper.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bundle/Resources/public/js/scripts/helpers/tooltips.helper.js b/src/bundle/Resources/public/js/scripts/helpers/tooltips.helper.js index bb0c81e7fe..08077cf909 100644 --- a/src/bundle/Resources/public/js/scripts/helpers/tooltips.helper.js +++ b/src/bundle/Resources/public/js/scripts/helpers/tooltips.helper.js @@ -161,6 +161,7 @@ const initializeTooltip = (tooltipNode, hasEllipsisStyle) => { const placement = tooltipNode.dataset.tooltipPlacement ?? defaultPlacement; const trigger = tooltipNode.dataset.tooltipTrigger ?? defaultTrigger; const useHtml = tooltipNode.dataset.tooltipUseHtml !== undefined; + const offset = tooltipNode.dataset.tooltipOffset ? JSON.parse(tooltipNode.dataset.tooltipOffset) : undefined; const container = getContainer(tooltipNode); const iframe = document.querySelector(tooltipNode.dataset.tooltipIframeSelector); @@ -172,6 +173,7 @@ const initializeTooltip = (tooltipNode, hasEllipsisStyle) => { popperConfig: modifyPopperConfig.bind(null, iframe), html: useHtml, template: defaultTemplate(extraClass), + ...(offset && { offset }), }); if (isSafari()) { From 8b477d60e404121dbcd270b578e0e7941efbf549 Mon Sep 17 00:00:00 2001 From: MateuszKolankowski Date: Tue, 10 Mar 2026 08:37:35 +0100 Subject: [PATCH 2/2] Refactored RoleAssignmentCreateDataValidationTest to remove redundant FormErrorDataTestWrapper --- .../Data/Role/RoleAssignmentCreateDataValidationTest.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/lib/Form/Data/Role/RoleAssignmentCreateDataValidationTest.php b/tests/lib/Form/Data/Role/RoleAssignmentCreateDataValidationTest.php index ad1214065a..e42d34a4ee 100644 --- a/tests/lib/Form/Data/Role/RoleAssignmentCreateDataValidationTest.php +++ b/tests/lib/Form/Data/Role/RoleAssignmentCreateDataValidationTest.php @@ -54,11 +54,6 @@ public static function getDataForTestFormSubmitValidation(): iterable ['{{ value }}' => 'foo'], 'children[limitation_type]' ), - new FormErrorDataTestWrapper( - 'The selected choice is invalid.', - ['{{ value }}' => 'foo'], - 'children[limitation_type]' - ), ], ];