From 57c216c708db81caeb8e2ecdcbb84cd4891ca495 Mon Sep 17 00:00:00 2001 From: azayati Date: Fri, 28 Aug 2026 15:41:18 +0100 Subject: [PATCH] feat: Declare the Tasks digest mail notifications category - EXO-89484 - eXIP7.3.0.22 Contributes the Tasks category to the digest settings drawer, next to the notification plugins it covers. Pure configuration: the category is declared on the Kernel DigestCategoryRegistry of commons, and its label lives in the bundle the notification plugins of this addon already use. Co-Authored-By: Claude Fable 5 --- .../TaskNotification_en.properties | 3 ++ .../task-addon/notification-configuration.xml | 37 ++++++++++++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/webapps/src/main/resources/locale/notification/TaskNotification_en.properties b/webapps/src/main/resources/locale/notification/TaskNotification_en.properties index 3199fbf66..07646ae06 100644 --- a/webapps/src/main/resources/locale/notification/TaskNotification_en.properties +++ b/webapps/src/main/resources/locale/notification/TaskNotification_en.properties @@ -134,3 +134,6 @@ Notification.digest.more.TaskCommentedPlugin=$USER have commented on your $COUNT Notification.digest.one.TaskMentionedPlugin=You've been mentioned in a task $PROJECT_NAME: $TASK_TITLE Notification.digest.more.TaskMentionedPlugin=You've been mentioned in $COUNT tasks $PROJECT_NAME + +# Digest mail notifications: label of the category this addon owns +digest.category.tasks=Tasks diff --git a/webapps/src/main/webapp/WEB-INF/conf/task-addon/notification-configuration.xml b/webapps/src/main/webapp/WEB-INF/conf/task-addon/notification-configuration.xml index e00664957..b9b9166b8 100644 --- a/webapps/src/main/webapp/WEB-INF/conf/task-addon/notification-configuration.xml +++ b/webapps/src/main/webapp/WEB-INF/conf/task-addon/notification-configuration.xml @@ -378,4 +378,39 @@ - \ No newline at end of file + + + + io.meeds.commons.digest.DigestCategoryRegistry + + tasks + addCategoryProvider + io.meeds.commons.digest.plugin.DigestCategoryPlugin + The task notifications: assignments, due dates, comments and mentions + + + id + tasks + + + labelKey + digest.category.tasks + + + order + 40 + + + pluginIds + TaskAssignPlugin + TaskCoworkerPlugin + TaskDueDatePlugin + TaskCompletedPlugin + TaskCommentedPlugin + TaskMentionedPlugin + TaskEditionPlugin + + + + +