feat: support @mentioning user groups in ticket comments#3124
feat: support @mentioning user groups in ticket comments#3124ManyaGirdhar wants to merge 5 commits intofrappe:developfrom
Conversation
00ecf78 to
a843560
Compare
…ptimize notifications
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3124 +/- ##
===========================================
+ Coverage 51.23% 51.30% +0.07%
===========================================
Files 122 122
Lines 5420 5432 +12
===========================================
+ Hits 2777 2787 +10
- Misses 2643 2645 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hey we should not do user groups Best is, to use HD Team doctype and tag a team |
@RitvikSardana Screen.Recording.2026-04-13.at.12.07.14.PM.mov |
Description
Adds support for @mentioning User Groups in ticket comments. Previously,
only individual agents could be mentioned. Tagging a User Group now sends
an HD Notification to all members of that group.
Relevant Technical Choices
extract_mentionsinutils.pynow returns atypefield (userorgroup) by checking ifdata-idcontains@. User emails always contain@, User Group names never do.notify_mentionsinmixins/mentions.pyexpanded to resolve group mentions into individual member notifications viaUser Group Memberdoctype.frappe.db.exists("User Group", mention.email)guard ensures Agent document names without@are not mistakenly treated as groups.Testing Instructions
@in the comment boxScreen.Recording.2026-03-14.at.11.15.52.PM.mov