iachat/app/javascript/shared/constants
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
..
busEvents.js feat: Setup context menu for message (#6750) 2023-03-24 16:20:19 -07:00
campaign.js feat: One off campaign UI (#2621) 2021-07-15 13:31:43 +05:30
contentType.js chore: Add an indicator for incoming emails (#1112) 2020-08-01 20:56:47 +05:30
countries.js feat: Improved country code in contact form view. (#6801) 2023-04-17 20:32:09 +05:30
links.js enhancement: Enable reply box for whatsapp template message (#2082) 2021-04-12 03:45:11 -07:00
locales.js feat: Portals store integration (#5185) 2022-08-08 15:47:32 +05:30
messages.js feat: add activity message for priority change (#6933) 2023-04-20 16:41:53 +05:30
sharedFrameEvents.js feat: Add the SDK method to programatically toggle live chat bubble (#4223) 2022-05-06 19:30:48 +05:30