iachat/app
Shivam Mishra 06ffaa90fc
fix: bots included in time to response metrics (#6409)
* feat: ignore bots in avg_first_response_time

* feat: ignore bots in avg_first_response count

* feat: add bot handoff event

* feat: add handoff event listener and reporting event

* fix: ignore agent bot in first response

* refactor: calculate first_response with last handoff

* refactor: method defn order

* test: new reporting events

* feat: Revert "feat: ignore bots in avg_first_response count"

This reverts commit de1977c219a2e7a9180dd02272244fe3b3f7ce89.

* feat: Revert "feat: ignore bots in avg_first_response_time"

This reverts commit bb9171945d5e3b2f6015f4f96dd1b76b3efb6987.

* fix: business hour calculation for first_reply

* fix: event_start_time for first_response

* feat: add migration to recompute first_responses

* refactor: separate mute helpers for conversation

* refactor: rename migration

* refactor: migration script

* fix: migration typo

* fix: typo in query

* feat: update schema.rb

* Revert "feat: update schema.rb"

This reverts commit 353ef355f2d956dd219907bb66982dc90ca5d896.

* feat: update schema

* refactor: update events as a batch job

* fix: ignore the event if value is negative

* feat: don't create a new hand-off if it's already present

* refactor: break the action into smaller chunks

* refactor: update reporting listener spec

Handle the case to ensure extra bot handoffs are not created for a give conversation

* fix: import error

---------

Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
2023-02-25 09:48:48 +05:30
..
actions chore: Ability to Disable Gravatars (#5027) 2022-07-21 19:27:12 +02:00
assets feat: Supports masking tokens in super admin (#6491) 2023-02-21 17:50:55 +05:30
builders fix: Add defaults for the cc, bcc emails (#6405) 2023-02-06 18:12:45 -08:00
channels chore: Sentry issues (#4623) 2022-05-06 14:50:55 +05:30
controllers fix: Name missing when email is collected via email hook (#6530) 2023-02-24 15:24:53 +05:30
dashboards feat: Supports masking tokens in super admin (#6491) 2023-02-21 17:50:55 +05:30
dispatchers Chore: clean up Reporting Events (#4044) 2022-02-28 18:16:12 +05:30
drops feat: Add support for template variables in messages content (#6215) 2023-01-10 16:00:34 +05:30
fields feat: Supports masking tokens in super admin (#6491) 2023-02-21 17:50:55 +05:30
finders chore: Add controllers for conversation participants (#6462) 2023-02-15 16:33:31 -08:00
helpers fix: bots included in time to response metrics (#6409) 2023-02-25 09:48:48 +05:30
javascript chore: Refactor conversation info panel for RTL (#6526) 2023-02-24 19:20:17 +05:30
jobs fix: bots included in time to response metrics (#6409) 2023-02-25 09:48:48 +05:30
listeners fix: bots included in time to response metrics (#6409) 2023-02-25 09:48:48 +05:30
mailboxes chore: Refactor code in ApplicationMailbox (#5857) 2023-01-17 17:30:03 +05:30
mailers Add sender_name in the SMTP reply mails (#6528) 2023-02-24 13:20:56 +05:30
models fix: bots included in time to response metrics (#6409) 2023-02-25 09:48:48 +05:30
policies Added one more endpoint to attach tempfile and get logo (#6407) 2023-02-09 14:05:45 +05:30
presenters fix: Add missing timestamp in the real-time event (#6349) 2023-01-25 15:21:41 -08:00
services chore: Add controllers for conversation participants (#6462) 2023-02-15 16:33:31 -08:00
views feat: Supports masking tokens in super admin (#6491) 2023-02-21 17:50:55 +05:30
workers fix: Update auto reply and hide reply time for email inbox (#3985) 2022-02-15 17:11:28 +05:30
test-matchers.js Initial testing with jest (#133) 2019-10-15 00:18:46 +05:30