2020-10-24 23:57:45 +05:30
import { s _ _ , _ _ } from '~/locale' ;
export const I18N = {
errorMsg : s _ _ ( 'IncidentManagement|There was an error displaying the incidents.' ) ,
noIncidents : s _ _ ( 'IncidentManagement|No incidents to display.' ) ,
unassigned : s _ _ ( 'IncidentManagement|Unassigned' ) ,
createIncidentBtnLabel : s _ _ ( 'IncidentManagement|Create incident' ) ,
unPublished : s _ _ ( 'IncidentManagement|Unpublished' ) ,
searchPlaceholder : _ _ ( 'Search results…' ) ,
emptyState : {
title : s _ _ ( 'IncidentManagement|Display your incidents in a dedicated view' ) ,
2020-11-24 15:15:51 +05:30
emptyClosedTabTitle : s _ _ ( 'IncidentManagement|There are no closed incidents' ) ,
2020-10-24 23:57:45 +05:30
description : s _ _ (
'IncidentManagement|All alerts promoted to incidents will automatically be displayed within the list. You can also create a new incident using the button below.' ,
) ,
} ,
} ;
export const INCIDENT _STATUS _TABS = [
{
title : s _ _ ( 'IncidentManagement|Open' ) ,
status : 'OPENED' ,
filters : 'opened' ,
} ,
{
title : s _ _ ( 'IncidentManagement|Closed' ) ,
status : 'CLOSED' ,
filters : 'closed' ,
} ,
{
title : s _ _ ( 'IncidentManagement|All' ) ,
status : 'ALL' ,
filters : 'all' ,
} ,
] ;
export const INCIDENT _SEARCH _DELAY = 300 ;
2020-11-24 15:15:51 +05:30
export const DEFAULT _PAGE _SIZE = 20 ;