Skip to content

Commit b47693c

Browse files
authored
PG-4653 CustomAlert tooltips (#230)
1 parent e765eec commit b47693c

14 files changed

+70
-54
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## Changelog
22

3+
* 5.2.2 - 2026-01-08 - Added tooltips in add/edit alerts, manage alerts & in the inline text for the delivery method
34
* 5.2.1 - 2025-12-08 - Fixes default value showing up as empty entry for alert_mediums
45
* 5.2.0 - 2025-11-24 - Added ability to send alerts to a Microsoft Teams channel
56
* 5.1.0 - 2025-09-29 Refactored UI to support different mediums to alert and changes to alert via Slack

CustomAlerts.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ public function getClientSideTranslationKeys(&$translations)
269269
$translations[] = 'General_No';
270270
$translations[] = 'CustomAlerts_MediumTitle';
271271
$translations[] = 'CustomAlerts_MediumDescription';
272+
$translations[] = 'CustomAlerts_ManageTooltip';
273+
$translations[] = 'CustomAlerts_CreateTooltip';
274+
$translations[] = 'CustomAlerts_LearnMore';
272275
}
273276

274277
public static function getReportMediumOptions(): array

lang/en.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@
8383
"EmptyReportMediums": "At least one delivery method must be selected.",
8484
"InvalidReportMediums": "Invalid report mediums value. Allowed values are %1$s.",
8585
"InvalidEmailReportParameter": "Please select \"Send to me\" or specify valid email addresses to email the report.",
86-
"InvalidPhoneNumberReportParameter": "Phone numbers cannot be empty. Please activate at least one phone number by accessing the Mobile Messaging settings page."
86+
"InvalidPhoneNumberReportParameter": "Phone numbers cannot be empty. Please activate at least one phone number by accessing the Mobile Messaging settings page.",
87+
"ManageTooltip": "Get notified instantly when metrics vary from expected patterns. Receive alerts through Email, SMS, Slack, or Microsoft Teams by selecting your preferred channel when creating or editing an alert.",
88+
"CreateTooltip": "You can send alerts via Email, SMS, Slack, or Microsoft Teams. Choose your preferred delivery method when creating or editing an alert.",
89+
"LearnMore": "Learn more"
8790
}
8891
}

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "CustomAlerts",
33
"description": "Create custom Alerts to be notified of important changes on your website or app! ",
4-
"version": "5.2.1",
4+
"version": "5.2.2",
55
"require": {
66
"matomo": ">=5.0.0-b1,<6.0.0-b1"
77
},

templates/index.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% block content %}
66
<div
77
vue-entry="CustomAlerts.ListAlertsPage"
8-
content-title="{{ title|json_encode }}"
8+
title="{{ title|json_encode }}"
99
alerts="{{ alerts|default(null)|json_encode }}"
1010
></div>
1111
{% endblock %}
13.9 KB
Loading
13.8 KB
Loading
14 KB
Loading
10.6 KB
Loading
13.8 KB
Loading

0 commit comments

Comments
 (0)