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>
This commit is contained in:
@@ -19,6 +19,14 @@ export const CONVERSATION_STATUS = {
|
||||
PENDING: 'pending',
|
||||
SNOOZED: 'snoozed',
|
||||
};
|
||||
|
||||
export const CONVERSATION_PRIORITY = {
|
||||
URGENT: 'urgent',
|
||||
HIGH: 'high',
|
||||
LOW: 'low',
|
||||
MEDIUM: 'medium',
|
||||
};
|
||||
|
||||
// Size in mega bytes
|
||||
export const MAXIMUM_FILE_UPLOAD_SIZE = 40;
|
||||
export const MAXIMUM_FILE_UPLOAD_SIZE_TWILIO_SMS_CHANNEL = 5;
|
||||
|
||||
Reference in New Issue
Block a user