feat: UI to show the SLA threshold in chat screen (#9146)
- UI will show the breach in the conversation list. - UI will show the breach in the conversation header. Fixes: https://linear.app/chatwoot/issue/CW-3146/update-the-ui-to-show-the-breach-in-the-conversation-list Fixes: https://linear.app/chatwoot/issue/CW-3144/ui-update-to-show-the-breachgoing-to-breach
This commit is contained in:
95
app/javascript/dashboard/store/modules/specs/sla/fixtures.js
Normal file
95
app/javascript/dashboard/store/modules/specs/sla/fixtures.js
Normal file
@@ -0,0 +1,95 @@
|
||||
export default [
|
||||
{
|
||||
id: 1,
|
||||
name: 'Premium SLA',
|
||||
description:
|
||||
'SLA for chatwoot cloud premium and self-hosted premium customers. SLA for chatwoot cloud premium and self-hosted premium customers',
|
||||
first_response_time_threshold: 14400,
|
||||
next_response_time_threshold: 18000,
|
||||
resolution_time_threshold: 86400,
|
||||
only_during_business_hours: true,
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: 'Enterprise SLA',
|
||||
description:
|
||||
'SLA for chatwoot enterprise and self-hosted enterprise customers.',
|
||||
first_response_time_threshold: 600,
|
||||
next_response_time_threshold: 2400,
|
||||
resolution_time_threshold: 3600,
|
||||
only_during_business_hours: false,
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: 'Business SLA',
|
||||
description:
|
||||
'Chatwoot cloud Business and self-hosted Business customers SLA',
|
||||
first_response_time_threshold: null,
|
||||
next_response_time_threshold: null,
|
||||
resolution_time_threshold: null,
|
||||
only_during_business_hours: false,
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
name: 'Hacker SLA',
|
||||
description: '',
|
||||
first_response_time_threshold: 60,
|
||||
next_response_time_threshold: 120,
|
||||
resolution_time_threshold: 180,
|
||||
only_during_business_hours: false,
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
name: 'SLA',
|
||||
description: '',
|
||||
first_response_time_threshold: 120,
|
||||
next_response_time_threshold: 300,
|
||||
resolution_time_threshold: 21600,
|
||||
only_during_business_hours: false,
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
name: 'ALla',
|
||||
description: '',
|
||||
first_response_time_threshold: 5400,
|
||||
next_response_time_threshold: 9000,
|
||||
resolution_time_threshold: 23040,
|
||||
only_during_business_hours: false,
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
name: '10',
|
||||
description: '',
|
||||
first_response_time_threshold: 120,
|
||||
next_response_time_threshold: null,
|
||||
resolution_time_threshold: null,
|
||||
only_during_business_hours: false,
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
name: '11',
|
||||
description: '',
|
||||
first_response_time_threshold: null,
|
||||
next_response_time_threshold: 240,
|
||||
resolution_time_threshold: null,
|
||||
only_during_business_hours: false,
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
name: '12',
|
||||
description: '',
|
||||
first_response_time_threshold: null,
|
||||
next_response_time_threshold: null,
|
||||
resolution_time_threshold: 300,
|
||||
only_during_business_hours: false,
|
||||
},
|
||||
{
|
||||
id: 10,
|
||||
name: '14',
|
||||
description: '',
|
||||
first_response_time_threshold: null,
|
||||
next_response_time_threshold: null,
|
||||
resolution_time_threshold: null,
|
||||
only_during_business_hours: false,
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user