From 1869d8c8dae99be2fabd7b98f0e048bc8712e590 Mon Sep 17 00:00:00 2001 From: dizzy Date: Wed, 27 Jul 2022 08:30:19 -0700 Subject: [Vue] remove use of angularjs from Transitions (#19383) * move transitions.twig contents to new vue component and create TransitionExporterLink component to use transition-exporter link in vue w/o angularjs directive * do not use angularjs services in transitions.js * built vue files * fixing some issues * add alternative way for widget twig templates to tell CoreHome/Controller.php that it contains its own content block * built vue files * allow vue components in popups and remove console log * update screenshots * remove use of unneeded html_attr filter * updates expected test files Co-authored-by: sgiehl --- plugins/CoreHome/javascripts/popover.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/CoreHome/javascripts') diff --git a/plugins/CoreHome/javascripts/popover.js b/plugins/CoreHome/javascripts/popover.js index 5d063be147..d283853962 100644 --- a/plugins/CoreHome/javascripts/popover.js +++ b/plugins/CoreHome/javascripts/popover.js @@ -205,9 +205,10 @@ var Piwik_Popover = (function () { } container.html(html); - + container.children().each(function (i, childNode) { piwikHelper.compileAngularComponents(childNode); + piwikHelper.compileVueEntryComponents(childNode); }); centerPopover(); -- cgit v1.2.3