iachat/app/models/concerns
Shivam Mishra a34729c153
feat: add activity message for priority change (#6933)
* feat: add priority const

* feat: add toggle priority method

* feat: update controller route and specs

* refactor: status change method

* refactor: abstract label change and mute activity

* feat: add priority change_activity

* fix: interpolation for previous_changes

* refactor: reduce cognitive complexity of priority_change_activity

* refactor: move priority activity message handler to a separate module

* refactor: move typing logic to a service

* refactor: tests to reduce complexity

* fix: typo

* fix: constants

* fix: priority conditions

* fix: add a response

* fix: argument destructuring in I18n.t

---------

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2023-04-20 16:41:53 +05:30
..
.keep
access_tokenable.rb
account_cache_revalidator.rb fix: Invalidate cache if any of the related objects change (#6860) 2023-04-10 15:47:13 +05:30
activity_message_handler.rb feat: add activity message for priority change (#6933) 2023-04-20 16:41:53 +05:30
assignment_handler.rb chore: Add controllers for conversation participants (#6462) 2023-02-15 16:33:31 -08:00
auto_assignment_handler.rb fix: Adds assignee as a participant during auto-assign (#6789) 2023-03-30 11:39:53 +05:30
availability_statusable.rb
avatarable.rb chore: Ability to Disable Gravatars (#5027) 2022-07-21 19:27:12 +02:00
cache_keys.rb feat: IndexedDB based caching for labels, inboxes and teams [CW-50] (#6710) 2023-03-27 12:16:25 +05:30
channelable.rb fix: Invalidate cache if any of the related objects change (#6860) 2023-04-10 15:47:13 +05:30
content_attribute_validator.rb
conversation_mute_helpers.rb fix: bots included in time to response metrics (#6409) 2023-02-25 09:48:48 +05:30
featurable.rb fix: Update enabled_features logic to fix superadmin edit action (#5959) 2022-12-14 18:24:02 -08:00
labelable.rb
liquidable.rb fix: Stop processing broken liquid tags (#6236) 2023-01-11 17:41:02 +05:30
message_filter_helpers.rb Fix: Consider bot message on slack integration (#6793) 2023-03-31 18:56:51 +05:30
out_of_offisable.rb
priority_activity_message_handler.rb feat: add activity message for priority change (#6933) 2023-04-20 16:41:53 +05:30
pubsubable.rb
reauthorizable.rb chore: Add reauthorization prompt for Whatsapp Channel (#5929) 2022-11-24 14:50:32 +03:00
reportable.rb
sort_handler.rb fix: last incoming message sort (#4972) 2022-07-06 00:37:43 +05:30
sso_authenticatable.rb feat: Ability for super admin to impersonate a user (#6382) 2023-02-06 11:00:08 -08:00
user_attribute_helpers.rb chore: Add controllers for conversation participants (#6462) 2023-02-15 16:33:31 -08:00