Skip to content

Conversation

@lachiebol
Copy link
Contributor

@lachiebol lachiebol commented Jan 7, 2026

Description

Added tooltips in add/edit alerts, manage alerts & in the inline text for the delivery method field

Issue No

Steps to Replicate the Issue

Checklist

  • [✔] Tested locally or on demo2/demo3?
  • [✔] New test case added/updated?
  • [✔] Are all newly added texts included via translation?
  • [✔] Are text sanitized properly? (Eg use of v-text v/s v-html for vue)
  • [✔] Version bumped?
  • [NA] I have understood, reviewed, and tested all AI outputs before use
  • [NA] All AI instructions respect security, IP, and privacy rules

@lachiebol lachiebol requested a review from a team January 7, 2026 00:59
Copy link
Contributor

@AltamashShaikh AltamashShaikh left a comment

Choose a reason for hiding this comment

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

@lachiebol Did you forget to build the vue files and commit them ?

@lachiebol
Copy link
Contributor Author

@lachiebol Did you forget to build the vue files and commit them ?

@AltamashShaikh Doh! Should be there now

Copy link
Contributor

@AltamashShaikh AltamashShaikh left a comment

Choose a reason for hiding this comment

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

Left some comments around translation reuse

@lachiebol
Copy link
Contributor Author

lachiebol commented Jan 7, 2026

Left some comments around translation reuse

@AltamashShaikh Thank you for educating me :) Could you please check again? The only difference is that General_LearnMore is not capitalised, I thought about doing a .toUpperCase, but have a feeling that might not work well with certain translations

},
getDeliveryMediumInlineTooltip(): string {
const link = translate(
'General_LearnMore',
Copy link
Contributor

Choose a reason for hiding this comment

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

@lachiebol If we need it to be capitalized, we can add the Learnmore in the plugin translation file, like CustomAlerts_LearnMore you can check with Stan.

externalLink('https://matomo.org/faq/general/create-and-manage-custom-alerts/'),
'</a>',
);
return `${translate('CustomAlerts_CreateTooltip')} ${link}`;
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need a fulltstop at the end ?

AltamashShaikh
AltamashShaikh previously approved these changes Jan 8, 2026
Copy link
Contributor

@AltamashShaikh AltamashShaikh left a comment

Choose a reason for hiding this comment

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

Left few minor comments, rest looks good to me 👍

@lachiebol
Copy link
Contributor Author

@AltamashShaikh Just changed it to be capitalised

@lachiebol lachiebol merged commit b47693c into 5.x-dev Jan 9, 2026
8 checks passed
@lachiebol lachiebol deleted the PG-4653-report-alert-tooltips branch January 9, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants