chore: Visitors' messages are being counted as agents' responses in livechat metrics#33022
chore: Visitors' messages are being counted as agents' responses in livechat metrics#33022
Conversation
|
Looks like this PR is ready to merge! 🎉 |
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #33022 +/- ##
===========================================
- Coverage 59.40% 59.40% -0.01%
===========================================
Files 2543 2543
Lines 63183 63182 -1
Branches 14220 14220
===========================================
- Hits 37533 37532 -1
Misses 22934 22934
Partials 2716 2716
Flags with carried forward coverage won't be shown. Click here to find out more. |
f5c2428
…ivechat metrics (#33022)
Proposed changes (including videos or screenshots)
getAnalyticsUpdateQueryByRoomIdmodel method since we don't need this shortcut anymore (analyticsDatais only defined for agents)Visitor's messages are never first responses for a room, neither a subsequent response -- so we shouldn't try to update metrics related to these events.
Issue(s)
Steps to test or reproduce
Further comments
Introduced by #32961
Blocking #32846
CORE-645