iachat/app/helpers
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
..
api fix: Track Imap exception in sentry (#5397) 2022-09-07 11:41:56 +05:30
application_helper.rb Chore: Add translated languages to account settings (#826) 2020-05-06 13:38:36 +05:30
date_range_helper.rb feat: Add CSAT response APIs (#2503) 2021-06-29 20:59:41 +05:30
email_helper.rb feat: Google OAuth for login & signup (#6346) 2023-02-16 11:12:02 +05:30
file_type_helper.rb fix: check the content type for the file when uploading from cloud storage (#5378) 2022-10-21 18:05:36 -07:00
frontend_urls_helper.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
home_helper.rb Initial Commit 2019-08-14 15:18:44 +05:30
message_format_helper.rb fixBug: email notification error, Attachment Message without content (#6408) 2023-02-08 12:51:52 +05:30
report_helper.rb Fix: Agent Reports counts when they have access to multiple accounts (#4663) 2022-05-11 14:31:57 +05:30
reporting_event_helper.rb fix: bots included in time to response metrics (#6409) 2023-02-25 09:48:48 +05:30
widget_helper.rb chore: Enhance contact merge action for identified users (#4886) 2022-06-23 15:48:56 +05:30