Merge pull request #565 from ckd/on-call-copyedits

On call copyedits
This commit is contained in:
Simon Larsen
2023-07-29 21:29:20 +01:00
committed by GitHub
46 changed files with 269 additions and 269 deletions

View File

@@ -40,7 +40,7 @@ export default class ResourceUtil {
'Status Page',
'Incident',
'Team',
'On Call Duty',
'On-Call Duty',
'Label',
'Team Member',
];

View File

@@ -1,7 +1,7 @@
enum NoticationRuleType {
enum NotificationRuleType {
ON_CALL_INCIDENT_CREATED = 'When incident is created during on call',
WHEN_USER_GOES_ON_CALL = 'When user goes on call',
WHEN_USER_GOES_OFF_CALL = 'When user goes off call',
}
export default NoticationRuleType;
export default NotificationRuleType;

View File

@@ -558,7 +558,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectApiKey,
title: 'Can Delete API Key',
description:
'This permission can delete api keys of this project.',
'This permission can delete api keys of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -566,7 +566,7 @@ export class PermissionHelper {
permission: Permission.CanEditProjectApiKeyPermissions,
title: 'Can Edit API Key Permissions',
description:
'This permission can edit api key permissions of this project.',
'This permission can edit api key permissions of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -582,7 +582,7 @@ export class PermissionHelper {
permission: Permission.CanReadProjectApiKey,
title: 'Can Read API Key',
description:
'This permission can read api keys of this project.',
'This permission can read api keys of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -598,7 +598,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectLabel,
title: 'Can Delete Label',
description:
'This permission can delete labels of this project.',
'This permission can delete labels of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -621,7 +621,7 @@ export class PermissionHelper {
permission: Permission.CanReadProjectLabel,
title: 'Can Read Label',
description:
'This permission can read labels of this project.',
'This permission can read labels of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -638,7 +638,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteIncidentState,
title: 'Can Delete Incident State',
description:
'This permission can delete incident states of this project.',
'This permission can delete incident states of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -654,7 +654,7 @@ export class PermissionHelper {
permission: Permission.CanReadIncidentState,
title: 'Can Read Incident State',
description:
'This permission can read incident states of this project.',
'This permission can read incident states of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -671,7 +671,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteIncidentStateTimeline,
title: 'Can Delete Incident State Timeline',
description:
'This permission can delete incident state history of an incident in this project.',
'This permission can delete incident state history of an incident in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -704,7 +704,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteMonitorStatusTimeline,
title: 'Can Delete Monitor Status Timeline',
description:
'This permission can delete Monitor Status history of an incident in this project.',
'This permission can delete Monitor Status history of an incident in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -737,7 +737,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectMonitorStatus,
title: 'Can Delete Monitor Status',
description:
'This permission can delete monitor statuses of this project.',
'This permission can delete monitor statuses of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -753,7 +753,7 @@ export class PermissionHelper {
permission: Permission.CanReadProjectMonitorStatus,
title: 'Can Read Monitor Status',
description:
'This permission can read monitor statuses of this project.',
'This permission can read monitor statuses of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -770,7 +770,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageAnnouncement,
title: 'Can Delete Status Page Announcement',
description:
'This permission can delete Status Page Announcement of this project.',
'This permission can delete Status Page Announcement of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -786,7 +786,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageAnnouncement,
title: 'Can Read Status Page Announcement',
description:
'This permission can read Status Page Announcement of this project.',
'This permission can read Status Page Announcement of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -803,7 +803,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageAnnouncement,
title: 'Can Delete Monitor Status',
description:
'This permission can delete monitor statuses of this project.',
'This permission can delete monitor statuses of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -819,7 +819,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageAnnouncement,
title: 'Can Read Monitor Status',
description:
'This permission can read monitor statuses of this project.',
'This permission can read monitor statuses of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -836,7 +836,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectDomain,
title: 'Can Delete Domain',
description:
'This permission can delete Domain in this project.',
'This permission can delete Domain in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -851,7 +851,7 @@ export class PermissionHelper {
permission: Permission.CanReadProjectDomain,
title: 'Can Read Domain',
description:
'This permission can read Domain in this project.',
'This permission can read Domain in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -868,7 +868,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageHeaderLink,
title: 'Can Delete Header Link',
description:
'This permission can delete Header Link in this project.',
'This permission can delete Header Link in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -884,7 +884,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageHeaderLink,
title: 'Can Read Header Link',
description:
'This permission can read Header Link in this project.',
'This permission can read Header Link in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -901,7 +901,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageFooterLink,
title: 'Can Delete Footer Link',
description:
'This permission can delete Footer Link in this project.',
'This permission can delete Footer Link in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -917,7 +917,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageFooterLink,
title: 'Can Read Footer Link',
description:
'This permission can read Footer Link in this project.',
'This permission can read Footer Link in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -934,7 +934,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageResource,
title: 'Can Delete Status Page Resource',
description:
'This permission can delete Status Page Resource in this project.',
'This permission can delete Status Page Resource in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -950,7 +950,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageResource,
title: 'Can Read Status Page Resource',
description:
'This permission can read Status Page Resource in this project.',
'This permission can read Status Page Resource in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -967,7 +967,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteWorkflow,
title: 'Can Delete Workflow',
description:
'This permission can delete Workflow in this project.',
'This permission can delete Workflow in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -983,7 +983,7 @@ export class PermissionHelper {
permission: Permission.CanReadWorkflow,
title: 'Can Read Workflow',
description:
'This permission can read Workflow in this project.',
'This permission can read Workflow in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -991,7 +991,7 @@ export class PermissionHelper {
{
permission: Permission.CanDeleteProject,
title: 'Can Delete Project',
description: 'This permission can delete Project.',
description: 'This permission can delete Project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1005,7 +1005,7 @@ export class PermissionHelper {
{
permission: Permission.CanReadProject,
title: 'Can Read Project',
description: 'This permission can read this Project.',
description: 'This permission can read this Project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1022,7 +1022,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteWorkflowVariable,
title: 'Can Delete Workflow Variables',
description:
'This permission can delete Workflow Variables in this project.',
'This permission can delete Workflow Variables in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1038,7 +1038,7 @@ export class PermissionHelper {
permission: Permission.CanReadWorkflowVariable,
title: 'Can Read Workflow Variables',
description:
'This permission can read Workflow Variables in this project.',
'This permission can read Workflow Variables in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1055,7 +1055,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteWorkflowLog,
title: 'Can Delete Workflow Log',
description:
'This permission can delete Workflow Log in this project.',
'This permission can delete Workflow Log in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1071,7 +1071,7 @@ export class PermissionHelper {
permission: Permission.CanReadWorkflowLog,
title: 'Can Read Workflow Log',
description:
'This permission can read Workflow Log in this project.',
'This permission can read Workflow Log in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1088,7 +1088,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageGroup,
title: 'Can Delete Status Page Group',
description:
'This permission can delete Status Page Group in this project.',
'This permission can delete Status Page Group in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1104,7 +1104,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageGroup,
title: 'Can Read Status Page Group',
description:
'This permission can read Status Page Group in this project.',
'This permission can read Status Page Group in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1121,7 +1121,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageDomain,
title: 'Can Delete Status Page Domain',
description:
'This permission can delete Status Page Domain in this project.',
'This permission can delete Status Page Domain in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1137,7 +1137,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageDomain,
title: 'Can Read Status Page Domain',
description:
'This permission can read Status Page Domain in this project.',
'This permission can read Status Page Domain in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1154,7 +1154,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectSSO,
title: 'Can Delete Project SSO',
description:
'This permission can delete Project SSO in this project.',
'This permission can delete Project SSO in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1170,7 +1170,7 @@ export class PermissionHelper {
permission: Permission.CanReadProjectSSO,
title: 'Can Read Project SSO',
description:
'This permission can read Project SSO in this project.',
'This permission can read Project SSO in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1187,7 +1187,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageSSO,
title: 'Can Delete Status Page SSO',
description:
'This permission can delete Status Page SSO in this project.',
'This permission can delete Status Page SSO in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1203,7 +1203,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageSSO,
title: 'Can Read Status Page SSO',
description:
'This permission can read Status Page SSO in this project.',
'This permission can read Status Page SSO in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1220,7 +1220,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectSMTPConfig,
title: 'Can Delete SMTP Config',
description:
'This permission can delete SMTP configs of this project.',
'This permission can delete SMTP configs of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1236,7 +1236,7 @@ export class PermissionHelper {
permission: Permission.CanReadProjectSMTPConfig,
title: 'Can Read SMTP Config',
description:
'This permission can read SMTP configs of this project.',
'This permission can read SMTP configs of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1253,7 +1253,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageDomain,
title: 'Can Delete Status Page Domain',
description:
'This permission can delete Status Page Domain in this project.',
'This permission can delete Status Page Domain in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1269,7 +1269,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageDomain,
title: 'Can Read Status Page Domain',
description:
'This permission can read Status Page Domain in this project.',
'This permission can read Status Page Domain in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1286,7 +1286,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteIncidentSeverity,
title: 'Can Delete Incident Severity',
description:
'This permission can delete Incident Severity of this project.',
'This permission can delete Incident Severity of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1302,7 +1302,7 @@ export class PermissionHelper {
permission: Permission.CanReadIncidentSeverity,
title: 'Can Read Incident Severity',
description:
'This permission can read Incident Severity of this project.',
'This permission can read Incident Severity of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1318,7 +1318,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectTeam,
title: 'Can Delete Team',
description:
'This permission can delete teams of this project.',
'This permission can delete teams of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1347,7 +1347,7 @@ export class PermissionHelper {
{
permission: Permission.CanReadProjectTeam,
title: 'Can Read Teams',
description: 'This permission can read teams of this project.',
description: 'This permission can read teams of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1363,7 +1363,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectMonitor,
title: 'Can Delete Monitor',
description:
'This permission can delete monitor of this project.',
'This permission can delete monitor of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -1379,7 +1379,7 @@ export class PermissionHelper {
permission: Permission.CanReadProjectMonitor,
title: 'Can Read Monitor',
description:
'This permission can read monitor of this project.',
'This permission can read monitor of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -1396,7 +1396,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteIncidentInternalNote,
title: 'Can Delete Incident Internal Note',
description:
'This permission can delete Incident Internal Note of this project.',
'This permission can delete Incident Internal Note of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1412,7 +1412,7 @@ export class PermissionHelper {
permission: Permission.CanReadIncidentInternalNote,
title: 'Can Read Incident Internal Note',
description:
'This permission can read Incident Internal Note of this project.',
'This permission can read Incident Internal Note of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1429,7 +1429,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteIncidentPublicNote,
title: 'Can Delete Incident Status Page Note',
description:
'This permission can delete Incident Status Page Note of this project.',
'This permission can delete Incident Status Page Note of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1445,7 +1445,7 @@ export class PermissionHelper {
permission: Permission.CanReadIncidentPublicNote,
title: 'Can Read Incident Status Page Note',
description:
'This permission can read Incident Status Page Note of this project.',
'This permission can read Incident Status Page Note of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1462,7 +1462,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteInvoices,
title: 'Can Delete Invoices',
description:
'This permission can delete Invoices of this project.',
'This permission can delete Invoices of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1478,7 +1478,7 @@ export class PermissionHelper {
permission: Permission.CanReadInvoices,
title: 'Can Read Invoices',
description:
'This permission can read Invoices of this project.',
'This permission can read Invoices of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1495,7 +1495,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteBillingPaymentMethod,
title: 'Can Delete Payment Method',
description:
'This permission can delete Payment Method of this project.',
'This permission can delete Payment Method of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1511,7 +1511,7 @@ export class PermissionHelper {
permission: Permission.CanReadBillingPaymentMethod,
title: 'Can Read Payment Method',
description:
'This permission can read Payment Method of this project.',
'This permission can read Payment Method of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1550,7 +1550,7 @@ export class PermissionHelper {
Permission.CanDeleteProjectOnCallDutyPolicyEscalationRuleTeam,
title: 'Can Delete On-Call Duty Policy Escalation Rule Team',
description:
'This permission can delete teams in on-call duty escalation rule of this project.',
'This permission can delete teams in on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -1568,7 +1568,7 @@ export class PermissionHelper {
Permission.CanReadProjectOnCallDutyPolicyEscalationRuleTeam,
title: 'Can Read On-Call Duty Policy Escalation Rule Team',
description:
'This permission can read teams in on-call duty escalation rule of this project.',
'This permission can read teams in on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -1587,7 +1587,7 @@ export class PermissionHelper {
Permission.CanDeleteProjectOnCallDutyPolicyEscalationRuleUser,
title: 'Can Delete On-Call Duty Policy Escalation Rule User',
description:
'This permission can delete on-call duty escalation rule of this project.',
'This permission can delete on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -1605,7 +1605,7 @@ export class PermissionHelper {
Permission.CanReadProjectOnCallDutyPolicyEscalationRuleUser,
title: 'Can Read On-Call Duty Policy Escalation Rule User',
description:
'This permission can read on-call duty escalation rule of this project.',
'This permission can read on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -1624,7 +1624,7 @@ export class PermissionHelper {
Permission.CanDeleteProjectOnCallDutyPolicyEscalationRule,
title: 'Can Delete On-Call Duty Policy Escalation Rule',
description:
'This permission can delete on-call duty escalation rule of this project.',
'This permission can delete on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -1642,7 +1642,7 @@ export class PermissionHelper {
Permission.CanReadProjectOnCallDutyPolicyEscalationRule,
title: 'Can Read On-Call Duty Policy Escalation Rule',
description:
'This permission can read on-call duty escalation rule of this project.',
'This permission can read on-call duty escalation rule of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -1659,7 +1659,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectOnCallDutyPolicy,
title: 'Can Delete On-Call Duty Policy',
description:
'This permission can delete on-call duty of this project.',
'This permission can delete on-call duty of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -1675,7 +1675,7 @@ export class PermissionHelper {
permission: Permission.CanReadProjectOnCallDutyPolicy,
title: 'Can Read On-Call Duty Policy',
description:
'This permission can read on-call duty of this project.',
'This permission can read on-call duty of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -1692,7 +1692,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectStatusPage,
title: 'Can Delete Status Page',
description:
'This permission can delete status pages of this project.',
'This permission can delete status pages of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -1708,7 +1708,7 @@ export class PermissionHelper {
permission: Permission.CanReadProjectStatusPage,
title: 'Can Read Status Page',
description:
'This permission can read status pages of this project.',
'This permission can read status pages of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -1724,7 +1724,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectProbe,
title: 'Can Delete Probe',
description:
'This permission can delete probe of this project.',
'This permission can delete probe of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1738,40 +1738,40 @@ export class PermissionHelper {
{
permission: Permission.CanReadProjectProbe,
title: 'Can Read Probe',
description: 'This permission can read probe of this project.',
description: 'This permission can read probe of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
{
permission: Permission.CanCreateOnCallDutyPolicyCustomField,
title: 'Can Create On Call Policy Custom Field',
title: 'Can Create On-Call Policy Custom Field',
description:
'This permission can create On Call Policy Custom Field this project.',
'This permission can create On-Call Policy Custom Field this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
{
permission: Permission.CanDeleteOnCallDutyPolicyCustomField,
title: 'Can Delete On Call Policy Custom Field',
title: 'Can Delete On-Call Policy Custom Field',
description:
'This permission can delete On Call Policy Custom Field of this project.',
'This permission can delete On-Call Policy Custom Field of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
{
permission: Permission.CanEditOnCallDutyPolicyCustomField,
title: 'Can Edit On Call Policy Custom Field',
title: 'Can Edit On-Call Policy Custom Field',
description:
'This permission can edit On Call Policy Custom Field of this project.',
'This permission can edit On-Call Policy Custom Field of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
{
permission: Permission.CanReadOnCallDutyPolicyCustomField,
title: 'Can Read On Call Policy Custom Field',
title: 'Can Read On-Call Policy Custom Field',
description:
'This permission can read On Call Policy Custom Field of this project.',
'This permission can read On-Call Policy Custom Field of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1788,7 +1788,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteMonitorCustomField,
title: 'Can Delete Monitor Custom Field',
description:
'This permission can delete Monitor Custom Field of this project.',
'This permission can delete Monitor Custom Field of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1804,7 +1804,7 @@ export class PermissionHelper {
permission: Permission.CanReadMonitorCustomField,
title: 'Can Read Monitor Custom Field',
description:
'This permission can read Monitor Custom Field of this project.',
'This permission can read Monitor Custom Field of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1821,7 +1821,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteIncidentCustomField,
title: 'Can Delete Incident Custom Field',
description:
'This permission can delete Incident Custom Field of this project.',
'This permission can delete Incident Custom Field of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1837,7 +1837,7 @@ export class PermissionHelper {
permission: Permission.CanReadIncidentCustomField,
title: 'Can Read Incident Custom Field',
description:
'This permission can read Incident Custom Field of this project.',
'This permission can read Incident Custom Field of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1854,7 +1854,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageCustomField,
title: 'Can Delete Status Page Custom Field',
description:
'This permission can delete Status Page Custom Field of this project.',
'This permission can delete Status Page Custom Field of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1870,7 +1870,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageCustomField,
title: 'Can Read Status Page Custom Field',
description:
'This permission can read Status Page Custom Field of this project.',
'This permission can read Status Page Custom Field of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1887,7 +1887,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteScheduledMaintenanceCustomField,
title: 'Can Delete Scheduled Maintenance Custom Field',
description:
'This permission can delete Scheduled Maintenance Custom Field of this project.',
'This permission can delete Scheduled Maintenance Custom Field of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1903,7 +1903,7 @@ export class PermissionHelper {
permission: Permission.CanReadScheduledMaintenanceCustomField,
title: 'Can Read Scheduled Maintenance Custom Field',
description:
'This permission can read Scheduled Maintenance Custom Field of this project.',
'This permission can read Scheduled Maintenance Custom Field of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1912,7 +1912,7 @@ export class PermissionHelper {
permission: Permission.CanReadSmsLog,
title: 'Can Read SMS Log',
description:
'This permission can read SMS Log of this project.',
'This permission can read SMS Log of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1921,7 +1921,7 @@ export class PermissionHelper {
permission: Permission.CanReadCallLog,
title: 'Can Read Call Log',
description:
'This permission can read Call Logs of this project.',
'This permission can read Call Logs of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1938,7 +1938,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteMonitorProbe,
title: 'Can Delete Monitor Probe',
description:
'This permission can delete Monitor Probe of this project.',
'This permission can delete Monitor Probe of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1954,7 +1954,7 @@ export class PermissionHelper {
permission: Permission.CanReadMonitorProbe,
title: 'Can Read Monitor Probe',
description:
'This permission can read Monitor Probe of this project.',
'This permission can read Monitor Probe of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1971,7 +1971,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteScheduledMaintenanceOwnerTeam,
title: 'Can Delete Scheduled Maintenance Team Owner',
description:
'This permission can delete Scheduled Maintenance Team Owner of this project.',
'This permission can delete Scheduled Maintenance Team Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -1987,7 +1987,7 @@ export class PermissionHelper {
permission: Permission.CanReadScheduledMaintenanceOwnerTeam,
title: 'Can Read Scheduled Maintenance Team Owner',
description:
'This permission can read Scheduled Maintenance Team Owner of this project.',
'This permission can read Scheduled Maintenance Team Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2004,7 +2004,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteScheduledMaintenanceOwnerUser,
title: 'Can Delete Scheduled Maintenance User Owner',
description:
'This permission can delete Scheduled Maintenance User Owner of this project.',
'This permission can delete Scheduled Maintenance User Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2020,7 +2020,7 @@ export class PermissionHelper {
permission: Permission.CanReadScheduledMaintenanceOwnerUser,
title: 'Can Read Scheduled Maintenance User Owner',
description:
'This permission can read Scheduled Maintenance User Owner of this project.',
'This permission can read Scheduled Maintenance User Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2037,7 +2037,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteIncidentOwnerTeam,
title: 'Can Delete Incident Team Owner',
description:
'This permission can delete Incident Team Owner of this project.',
'This permission can delete Incident Team Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2053,7 +2053,7 @@ export class PermissionHelper {
permission: Permission.CanReadIncidentOwnerTeam,
title: 'Can Read Incident Team Owner',
description:
'This permission can read Incident Team Owner of this project.',
'This permission can read Incident Team Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2070,7 +2070,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteIncidentOwnerUser,
title: 'Can Delete Incident User Owner',
description:
'This permission can delete Incident User Owner of this project.',
'This permission can delete Incident User Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2086,7 +2086,7 @@ export class PermissionHelper {
permission: Permission.CanReadIncidentOwnerUser,
title: 'Can Read Incident User Owner',
description:
'This permission can read Incident User Owner of this project.',
'This permission can read Incident User Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2103,7 +2103,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageOwnerTeam,
title: 'Can Delete Status Page Team Owner',
description:
'This permission can delete Status Page Team Owner of this project.',
'This permission can delete Status Page Team Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2119,7 +2119,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageOwnerTeam,
title: 'Can Read Status Page Team Owner',
description:
'This permission can read Status Page Team Owner of this project.',
'This permission can read Status Page Team Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2136,7 +2136,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageOwnerUser,
title: 'Can Delete Status Page User Owner',
description:
'This permission can delete Status Page User Owner of this project.',
'This permission can delete Status Page User Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2152,7 +2152,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageOwnerUser,
title: 'Can Read Status Page User Owner',
description:
'This permission can read Status Page User Owner of this project.',
'This permission can read Status Page User Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2169,7 +2169,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteMonitorOwnerTeam,
title: 'Can Delete Monitor Team Owner',
description:
'This permission can delete Monitor Team Owner of this project.',
'This permission can delete Monitor Team Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2185,7 +2185,7 @@ export class PermissionHelper {
permission: Permission.CanReadMonitorOwnerTeam,
title: 'Can Read Monitor Team Owner',
description:
'This permission can read Monitor Team Owner of this project.',
'This permission can read Monitor Team Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2202,7 +2202,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteMonitorOwnerUser,
title: 'Can Delete Monitor User Owner',
description:
'This permission can delete Monitor User Owner of this project.',
'This permission can delete Monitor User Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2218,7 +2218,7 @@ export class PermissionHelper {
permission: Permission.CanReadMonitorOwnerUser,
title: 'Can Read Monitor User Owner',
description:
'This permission can read Monitor User Owner of this project.',
'This permission can read Monitor User Owner of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2235,7 +2235,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectIncident,
title: 'Can Delete Incident',
description:
'This permission can delete incident of this project.',
'This permission can delete incident of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -2251,7 +2251,7 @@ export class PermissionHelper {
permission: Permission.CanReadProjectIncident,
title: 'Can Read Incident',
description:
'This permission can read incident of this project.',
'This permission can read incident of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -2268,7 +2268,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPageSubscriber,
title: 'Can Delete Status Page Subscriber',
description:
'This permission can delete subscriber on status page of this project.',
'This permission can delete subscriber on status page of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2284,7 +2284,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPageSubscriber,
title: 'Can Read Status Page Subscriber',
description:
'This permission can read subscriber on status page of this project.',
'This permission can read subscriber on status page of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2301,7 +2301,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteStatusPagePrivateUser,
title: 'Can Delete Status Page PrivateUser',
description:
'This permission can delete private user on status page of this project.',
'This permission can delete private user on status page of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2317,7 +2317,7 @@ export class PermissionHelper {
permission: Permission.CanReadStatusPagePrivateUser,
title: 'Can Read Status Page Private User',
description:
'This permission can read private user on status page of this project.',
'This permission can read private user on status page of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2336,7 +2336,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteScheduledMaintenanceState,
title: 'Can Delete Scheduled Maintenance State',
description:
'This permission can delete Scheduled Maintenance states of this project.',
'This permission can delete Scheduled Maintenance states of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2352,7 +2352,7 @@ export class PermissionHelper {
permission: Permission.CanReadScheduledMaintenanceState,
title: 'Can Read Scheduled Maintenance State',
description:
'This permission can read Scheduled Maintenance states of this project.',
'This permission can read Scheduled Maintenance states of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2369,7 +2369,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteProjectScheduledMaintenance,
title: 'Can Delete Scheduled Maintenance',
description:
'This permission can delete Scheduled Maintenance of this project.',
'This permission can delete Scheduled Maintenance of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -2385,7 +2385,7 @@ export class PermissionHelper {
permission: Permission.CanReadProjectScheduledMaintenance,
title: 'Can Read Scheduled Maintenance',
description:
'This permission can read Scheduled Maintenance of this project.',
'This permission can read Scheduled Maintenance of this project.',
isAssignableToTenant: true,
isAccessControlPermission: true,
},
@@ -2404,7 +2404,7 @@ export class PermissionHelper {
Permission.CanDeleteScheduledMaintenanceStateTimeline,
title: 'Can Delete Scheduled Maintenance State Timeline',
description:
'This permission can delete Scheduled Maintenance state history of an Scheduled Maintenance in this project.',
'This permission can delete Scheduled Maintenance state history of an Scheduled Maintenance in this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2439,7 +2439,7 @@ export class PermissionHelper {
Permission.CanDeleteScheduledMaintenanceInternalNote,
title: 'Can Delete Scheduled Maintenance Internal Note',
description:
'This permission can delete Scheduled Maintenance Internal Note of this project.',
'This permission can delete Scheduled Maintenance Internal Note of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2455,7 +2455,7 @@ export class PermissionHelper {
permission: Permission.CanReadScheduledMaintenanceInternalNote,
title: 'Can Read Scheduled Maintenance Internal Note',
description:
'This permission can read Scheduled Maintenance Internal Note of this project.',
'This permission can read Scheduled Maintenance Internal Note of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2472,7 +2472,7 @@ export class PermissionHelper {
permission: Permission.CanDeleteScheduledMaintenancePublicNote,
title: 'Can Delete Scheduled Maintenance Status Page Note',
description:
'This permission can delete Scheduled Maintenance Status Page Note of this project.',
'This permission can delete Scheduled Maintenance Status Page Note of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},
@@ -2488,7 +2488,7 @@ export class PermissionHelper {
permission: Permission.CanReadScheduledMaintenancePublicNote,
title: 'Can Read Scheduled Maintenance Status Page Note',
description:
'This permission can read Scheduled Maintenance Status Page Note of this project.',
'This permission can read Scheduled Maintenance Status Page Note of this project.',
isAssignableToTenant: true,
isAccessControlPermission: false,
},

View File

@@ -26,7 +26,7 @@ import StatusPageFooterLinkService from './StatusPageFooterLinkService';
import StatusPageHeaderLinkService from './StatusPageHeaderLinkService';
import StatusPagePrivateUserService from './StatusPagePrivateUserService';
// On Call Duty
// On-Call Duty
import OnCallDutyPolicyService from './OnCallDutyPolicyService';
// Monitors

View File

@@ -59,7 +59,7 @@ export class Service extends DatabaseService<Model> {
if (!rule) {
throw new BadDataException(
`On Call Duty Policy Escalation Rule with id ${ruleId.toString()} not found`
`On-Call Duty Policy Escalation Rule with id ${ruleId.toString()} not found`
);
}

View File

@@ -45,7 +45,7 @@ export class Service extends DatabaseService<OnCallDutyPolicy> {
if (!policy) {
throw new BadDataException(
`On Call Duty Policy with id ${policyId.toString()} not found`
`On-Call Duty Policy with id ${policyId.toString()} not found`
);
}

View File

@@ -147,7 +147,7 @@ export class Service extends DatabaseService<Model> {
data: {
status: UserNotificationExecutionStatus.Error, // now the worker will pick this up and complete this or mark this as failed.
statusMessage:
'No notification rules found. Please add rules in User Settings > On Call Rules.',
'No notification rules found. Please add rules in User Settings > On-Call Rules.',
},
props: {
isRoot: true,
@@ -160,7 +160,7 @@ export class Service extends DatabaseService<Model> {
data: {
status: OnCallDutyExecutionLogTimelineStatus.Error,
statusMessage:
'No notification rules found. Please add rules in User Settings > On Call Rules.',
'No notification rules found. Please add rules in User Settings > On-Call Rules.',
},
props: {
isRoot: true,

View File

@@ -113,7 +113,7 @@ import UserProfileOverview from './Pages/Global/UserProfile/Index';
import UserProfilePicture from './Pages/Global/UserProfile/Picture';
import UserProfilePassword from './Pages/Global/UserProfile/Password';
// On Call Duty
// On-Call Duty
import OnCallDutyPoliciesPage from './Pages/OnCallDuty/OnCallDutyPolicies';
import OnCallDutyExecutionLogs from './Pages/OnCallDuty/OnCallDutyExecutionLogs';
import OnCallDutyPolicyExecutionLogTimeline from './Pages/OnCallDuty/OnCallDutyExecutionLogView';
@@ -1835,7 +1835,7 @@ const App: FunctionComponent = () => {
}
/>
{/* On Call Duty */}
{/* On-Call Duty */}
<PageRoute
path={RouteMap[PageMap.ON_CALL_DUTY]?.toString() || ''}

View File

@@ -84,14 +84,14 @@ const MonitorCriteriaIncidentForm: FunctionComponent<ComponentProps> = (
field: {
onCallPolicyIds: true,
},
title: 'On Call Policy',
title: 'On-Call Policy',
stepId: 'incident-details',
description:
'Execute these on call policies when this incident is created.',
'Execute these on-call policies when this incident is created.',
fieldType: FormFieldSchemaType.MultiSelectDropdown,
dropdownOptions: props.onCallPolicyDropdownOptions,
required: false,
placeholder: 'Select On Call Policies',
placeholder: 'Select On-Call Policies',
},
{
field: {

View File

@@ -68,7 +68,7 @@ const IncidentsTable: FunctionComponent<ComponentProps> = (
id: 'resources-affected',
},
{
title: 'On Call',
title: 'On-Call',
id: 'on-call',
},
{
@@ -139,7 +139,7 @@ const IncidentsTable: FunctionComponent<ComponentProps> = (
field: {
onCallDutyPolicies: true,
},
title: 'On Call Policy',
title: 'On-Call Policy',
stepId: 'on-call',
description:
'Select on call duty policy to execute when this incident is created.',

View File

@@ -90,7 +90,7 @@ const MonitorCriteriaIncidentForm: FunctionComponent<ComponentProps> = (
},
{
key: 'onCallPolicyIds',
title: 'On Call Policies',
title: 'On-Call Policies',
description:
'These are the on call policies that will be executed when this incident is created.',
fieldType: FieldType.Element,

View File

@@ -184,14 +184,14 @@ const ExecutionLogsTable: FunctionComponent<ComponentProps> = (
modelType={OnCallDutyPolicyExecutionLog}
query={query}
id="execution-logs-table"
name="On Call Policy > Logs"
name="On-Call Policy > Logs"
isDeleteable={false}
isEditable={false}
isCreateable={false}
isViewable={true}
cardProps={{
icon: IconProp.Logs,
title: 'On Call Policy Logs',
title: 'On-Call Policy Logs',
description:
'Here are all the notification logs. This will help you to debug any notification issues that your team may face.',
}}

View File

@@ -39,7 +39,7 @@ const ExecutionLogTimelineTable: FunctionComponent<ComponentProps> = (
props.onCallPolicyExecutionLogId.toString(),
}}
id="notification-logs-timeline-table"
name="On Call > Execution Logs > Timeline"
name="On-Call > Execution Logs > Timeline"
isDeleteable={false}
isEditable={false}
isCreateable={false}

View File

@@ -291,7 +291,7 @@ const IncidentView: FunctionComponent<PageComponentProps> = (
_id: true,
},
},
title: 'On Call Duty Policies',
title: 'On-Call Duty Policies',
fieldType: FieldType.Element,
getElement: (item: JSONObject): ReactElement => {
return (

View File

@@ -25,7 +25,7 @@ const Settings: FunctionComponent<PageComponentProps> = (
),
},
{
title: 'On Call Duty',
title: 'On-Call Duty',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY] as Route
),

View File

@@ -21,7 +21,7 @@ const Settings: FunctionComponent<PageComponentProps> = (
),
},
{
title: 'On Call Duty',
title: 'On-Call Duty',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY] as Route
),

View File

@@ -31,7 +31,7 @@ const OnCallDutyPage: FunctionComponent<PageComponentProps> = (
),
},
{
title: 'On Call Duty',
title: 'On-Call Duty',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY] as Route
),
@@ -49,14 +49,14 @@ const OnCallDutyPage: FunctionComponent<PageComponentProps> = (
modelType={OnCallDutyPolicy}
id="on-call-duty-table"
isDeleteable={false}
name="On Call > Policies"
name="On-Call > Policies"
showViewIdButton={true}
isEditable={false}
isCreateable={true}
isViewable={true}
cardProps={{
icon: IconProp.Call,
title: 'On Call Duty Policies',
title: 'On-Call Duty Policies',
description:
'Here is a list of on-call-duty policies for this project.',
}}
@@ -69,7 +69,7 @@ const OnCallDutyPage: FunctionComponent<PageComponentProps> = (
title: 'Name',
fieldType: FormFieldSchemaType.Text,
required: true,
placeholder: 'On Call Duty Name',
placeholder: 'On-Call Duty Name',
validation: {
minLength: 2,
},

View File

@@ -19,7 +19,7 @@ const OnCallDutyPolicyCustomFields: FunctionComponent<PageComponentProps> = (
return (
<ModelPage
title="On Call Policy"
title="On-Call Policy"
modelType={OnCallDutyPolicy}
modelId={modelId}
modelNameField="name"
@@ -32,14 +32,14 @@ const OnCallDutyPolicyCustomFields: FunctionComponent<PageComponentProps> = (
),
},
{
title: 'On Call Duty',
title: 'On-Call Duty',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY] as Route,
{ modelId }
),
},
{
title: 'View On Call Policy',
title: 'View On-Call Policy',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY_POLICY_VIEW] as Route,
{ modelId }

View File

@@ -17,7 +17,7 @@ const OnCallPolicyDelete: FunctionComponent<PageComponentProps> = (
return (
<ModelPage
title="On Call Policy"
title="On-Call Policy"
modelType={OnCallDutyPolicy}
modelId={modelId}
modelNameField="name"
@@ -30,21 +30,21 @@ const OnCallPolicyDelete: FunctionComponent<PageComponentProps> = (
),
},
{
title: 'On Call Duty',
title: 'On-Call Duty',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY] as Route,
{ modelId }
),
},
{
title: 'View On Call Policy',
title: 'View On-Call Policy',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY_POLICY_VIEW] as Route,
{ modelId }
),
},
{
title: 'Delete On Call Policy',
title: 'Delete On-Call Policy',
to: RouteUtil.populateRouteParams(
RouteMap[
PageMap.ON_CALL_DUTY_POLICY_VIEW_DELETE

View File

@@ -32,7 +32,7 @@ const OnCallPolicyDelete: FunctionComponent<PageComponentProps> = (
return (
<ModelPage
title="On Call Policy"
title="On-Call Policy"
modelType={OnCallDutyPolicy}
modelId={modelId}
modelNameField="name"
@@ -45,21 +45,21 @@ const OnCallPolicyDelete: FunctionComponent<PageComponentProps> = (
),
},
{
title: 'On Call Duty',
title: 'On-Call Duty',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY] as Route,
{ modelId }
),
},
{
title: 'View On Call Policy',
title: 'View On-Call Policy',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY_POLICY_VIEW] as Route,
{ modelId }
),
},
{
title: 'Delete On Call Policy',
title: 'Delete On-Call Policy',
to: RouteUtil.populateRouteParams(
RouteMap[
PageMap.ON_CALL_DUTY_POLICY_VIEW_DELETE
@@ -278,7 +278,7 @@ const OnCallPolicyDelete: FunctionComponent<PageComponentProps> = (
/>
<CardModelDetail
name="On Call Policy > On Call Policy Details"
name="On-Call Policy > On-Call Policy Details"
cardProps={{
title: 'Repeat Policy',
description:

View File

@@ -22,7 +22,7 @@ const Settings: FunctionComponent<PageComponentProps> = (
return (
<ModelPage
title="On Call Policy"
title="On-Call Policy"
modelType={OnCallDutyPolicy}
modelId={onCallDutyPolicyId}
modelNameField="name"
@@ -35,14 +35,14 @@ const Settings: FunctionComponent<PageComponentProps> = (
),
},
{
title: 'On Call Duty',
title: 'On-Call Duty',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY] as Route,
{ modelId }
),
},
{
title: 'View On Call Policy',
title: 'View On-Call Policy',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY_POLICY_VIEW] as Route,
{ modelId }

View File

@@ -23,7 +23,7 @@ const Settings: FunctionComponent<PageComponentProps> = (
return (
<ModelPage
title="On Call Policy"
title="On-Call Policy"
modelType={OnCallDutyPolicy}
modelId={modelId}
modelNameField="name"
@@ -36,14 +36,14 @@ const Settings: FunctionComponent<PageComponentProps> = (
),
},
{
title: 'On Call Duty',
title: 'On-Call Duty',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY] as Route,
{ modelId }
),
},
{
title: 'View On Call Policy',
title: 'View On-Call Policy',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY_POLICY_VIEW] as Route,
{ modelId }

View File

@@ -24,7 +24,7 @@ const OnCallDutyPolicyView: FunctionComponent<PageComponentProps> = (
return (
<ModelPage
title="On Call Policy"
title="On-Call Policy"
modelType={OnCallDutyPolicy}
modelId={modelId}
modelNameField="name"
@@ -37,14 +37,14 @@ const OnCallDutyPolicyView: FunctionComponent<PageComponentProps> = (
),
},
{
title: 'On Call Policy',
title: 'On-Call Policy',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.STATUS_PAGES] as Route,
{ modelId }
),
},
{
title: 'View On Call Policy',
title: 'View On-Call Policy',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.STATUS_PAGE_VIEW] as Route,
{ modelId }
@@ -55,15 +55,15 @@ const OnCallDutyPolicyView: FunctionComponent<PageComponentProps> = (
>
{/* OnCallDutyPolicy View */}
<CardModelDetail
name="On Call Policy > On Call Policy Details"
name="On-Call Policy > On-Call Policy Details"
cardProps={{
title: 'On Call Policy Details',
title: 'On-Call Policy Details',
description: "Here's more details for this on call policy.",
icon: IconProp.Call,
}}
formSteps={[
{
title: 'On Call Policy Info',
title: 'On-Call Policy Info',
id: 'on-call-policy-info',
},
{
@@ -81,7 +81,7 @@ const OnCallDutyPolicyView: FunctionComponent<PageComponentProps> = (
stepId: 'on-call-policy-info',
fieldType: FormFieldSchemaType.Text,
required: true,
placeholder: 'On Call Policy Name',
placeholder: 'On-Call Policy Name',
validation: {
minLength: 2,
},
@@ -123,7 +123,7 @@ const OnCallDutyPolicyView: FunctionComponent<PageComponentProps> = (
field: {
_id: true,
},
title: 'On Call Policy ID',
title: 'On-Call Policy ID',
},
{
field: {

View File

@@ -28,7 +28,7 @@ const DashboardSideMenu: FunctionComponent = (): ReactElement => {
<SideMenuSection title="Overview">
<SideMenuItem
link={{
title: 'On Call Policies',
title: 'On-Call Policies',
to: RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY_POLICIES] as Route
),

View File

@@ -12,7 +12,7 @@ const OnCallDutyPolicyCustomFields: FunctionComponent<PageComponentProps> = (
return (
<CustomFieldsPageBase
{...props}
title="On Call Policy Custom Fields"
title="On-Call Policy Custom Fields"
currentRoute={RouteUtil.populateRouteParams(
RouteMap[
PageMap.SETTINGS_ON_CALL_DUTY_POLICY_CUSTOM_FIELDS

View File

@@ -113,7 +113,7 @@ const Settings: FunctionComponent<PageComponentProps> = (
name: true,
},
},
title: 'On Call Policy',
title: 'On-Call Policy',
type: FieldType.Element,
isFilterable: true,
filterEntityType: OnCallDutyPolicy,

View File

@@ -265,7 +265,7 @@ app.get('/pricing', (_req: ExpressRequest, res: ExpressResponse) => {
],
},
{
name: 'On Call and Alerts',
name: 'On-Call and Alerts',
data: [
{
name: 'Phone Alerts',

View File

@@ -68,7 +68,7 @@ export default (product: string): Product => {
],
items: [
{
name: 'On Call Scheduling',
name: 'On-Call Scheduling',
data: [
{
title: 'Alerts by Email, SMS, Call and Push Notifications',
@@ -78,7 +78,7 @@ export default (product: string): Product => {
oneuptimeColumn: 'tick',
},
{
title: 'On Call Rotations',
title: 'On-Call Rotations',
description:
'Rotate your on-call team daily, weekly or monthly. We also support custom rotations.',
productColumn: 'tick',
@@ -225,7 +225,7 @@ export default (product: string): Product => {
],
items: [
{
name: 'On Call Scheduling',
name: 'On-Call Scheduling',
data: [
{
title: 'Alerts by Email, SMS, Call and Push Notifications',
@@ -235,7 +235,7 @@ export default (product: string): Product => {
oneuptimeColumn: 'tick',
},
{
title: 'On Call Rotations',
title: 'On-Call Rotations',
description:
'Rotate your on-call team daily, weekly or monthly. We also support custom rotations.',
productColumn: '',
@@ -384,7 +384,7 @@ export default (product: string): Product => {
],
items: [
{
name: 'On Call Scheduling',
name: 'On-Call Scheduling',
data: [
{
title: 'Alerts by Email, SMS, Call and Push Notifications',
@@ -394,7 +394,7 @@ export default (product: string): Product => {
oneuptimeColumn: 'tick',
},
{
title: 'On Call Rotations',
title: 'On-Call Rotations',
description:
'Rotate your on-call team daily, weekly or monthly. We also support custom rotations.',
productColumn: '',
@@ -537,7 +537,7 @@ export default (product: string): Product => {
],
items: [
{
name: 'On Call Scheduling',
name: 'On-Call Scheduling',
data: [
{
title: 'Alerts by Email, SMS, Call and Push Notifications',
@@ -547,7 +547,7 @@ export default (product: string): Product => {
oneuptimeColumn: 'tick',
},
{
title: 'On Call Rotations',
title: 'On-Call Rotations',
description:
'Rotate your on-call team daily, weekly or monthly. We also support custom rotations.',
productColumn: '',

View File

@@ -302,7 +302,7 @@
<span class="text-sm text-gray-500">On Call and Alerts</span>
<span class="text-sm text-gray-500">On-Call and Alerts</span>
</li>

View File

@@ -85,7 +85,7 @@
<div class="ml-4">
<p class="text-base font-medium text-gray-900">On Call and Alerts</p>
<p class="text-base font-medium text-gray-900">On-Call and Alerts</p>
<p class="mt-1 text-sm text-gray-500">Alert right people at the right time. Create on-call schedules and more.</p>
</div>
</a>

View File

@@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<head>
<title>OneUptime | On Call Policies and Alerts. </title>
<title>OneUptime | On-Call Policies and Alerts. </title>
<meta name="description"
content="OneUptime monitors websites, API's, and servers and alerts your team if something goes wrong. It also keeps your customers updated about any downtime.">
<%- include('head') -%>

View File

@@ -432,7 +432,7 @@ export default class Incident extends BaseModel {
required: false,
type: TableColumnType.EntityArray,
modelType: Monitor,
title: 'On Call Duty Policies',
title: 'On-Call Duty Policies',
description: 'List of on call duty policy affected by this incident.',
})
@ManyToMany(

View File

@@ -30,7 +30,7 @@ import StatusPageSSO from './StatusPageSso';
import StatusPageOwnerTeam from './StatusPageOwnerTeam';
import StatusPageOwnerUser from './StatusPageOwnerUser';
// On Call Duty
// On-Call Duty
import OnCallDutyPolicy from './OnCallDutyPolicy';
import OnCallDutyPolicyCustomField from './OnCallDutyPolicyCustomField';
import OnCallDutyPolicyEscalationRule from './OnCallDutyPolicyEscalationRule';

View File

@@ -65,8 +65,8 @@ import { JSONObject } from 'Common/Types/JSON';
})
@TableMetadata({
tableName: 'OnCallDutyPolicy',
singularName: 'On Call Policy',
pluralName: 'On Call Duty Policies',
singularName: 'On-Call Policy',
pluralName: 'On-Call Duty Policies',
icon: IconProp.Call,
tableDescription:
'Manage on-call duty, schedules and roster for your project',

View File

@@ -55,8 +55,8 @@ import EnableDocumentation from 'Common/Types/Model/EnableDocumentation';
@CrudApiEndpoint(new Route('/on-call-duty-policy-custom-field'))
@TableMetadata({
tableName: 'OnCallDutyPolicyCustomField',
singularName: 'On Call Policy Custom Field',
pluralName: 'On Call Policy Custom Fields',
singularName: 'On-Call Policy Custom Field',
pluralName: 'On-Call Policy Custom Fields',
icon: IconProp.TableCells,
tableDescription: 'Manage custom fields for your on-call policy',
})

View File

@@ -146,9 +146,9 @@ export default class OnCallDutyPolicyEscalationRule extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicy,
title: 'On Call Policy',
title: 'On-Call Policy',
description:
'Relation to On Call Policy where this escalation rule belongs.',
'Relation to On-Call Policy where this escalation rule belongs.',
})
@ManyToOne(
(_type: string) => {
@@ -184,9 +184,9 @@ export default class OnCallDutyPolicyEscalationRule extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy ID',
title: 'On-Call Policy ID',
description:
'ID of your On Call Policy where this escalation rule belongs.',
'ID of your On-Call Policy where this escalation rule belongs.',
})
@Column({
type: ColumnType.ObjectID,

View File

@@ -53,8 +53,8 @@ import OnCallDutyPolicyEscalationRule from './OnCallDutyPolicyEscalationRule';
})
@TableMetadata({
tableName: 'OnCallDutyPolicyEscalationRuleTeam',
singularName: 'On Call Duty Escalation Rule',
pluralName: 'On Call Duty Escalation Rules',
singularName: 'On-Call Duty Escalation Rule',
pluralName: 'On-Call Duty Escalation Rules',
icon: IconProp.Call,
tableDescription:
'Manage on-call duty escalation rule for the on-call policy.',
@@ -147,9 +147,9 @@ export default class OnCallDutyPolicyEscalationRuleTeam extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicy,
title: 'On Call Policy',
title: 'On-Call Policy',
description:
'Relation to On Call Policy where this escalation rule belongs.',
'Relation to On-Call Policy where this escalation rule belongs.',
})
@ManyToOne(
(_type: string) => {
@@ -185,9 +185,9 @@ export default class OnCallDutyPolicyEscalationRuleTeam extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy ID',
title: 'On-Call Policy ID',
description:
'ID of your On Call Policy where this escalation rule belongs.',
'ID of your On-Call Policy where this escalation rule belongs.',
})
@Column({
type: ColumnType.ObjectID,
@@ -280,7 +280,7 @@ export default class OnCallDutyPolicyEscalationRuleTeam extends BaseModel {
modelType: OnCallDutyPolicyEscalationRule,
title: 'Escalation Rule',
description:
'Relation to On Call Policy Escalation Rule where this user belongs.',
'Relation to On-Call Policy Escalation Rule where this user belongs.',
})
@ManyToOne(
(_type: string) => {
@@ -316,9 +316,9 @@ export default class OnCallDutyPolicyEscalationRuleTeam extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy Escalation Rule ID',
title: 'On-Call Policy Escalation Rule ID',
description:
'ID of your On Call Policy Escalation Rule where this user belongs.',
'ID of your On-Call Policy Escalation Rule where this user belongs.',
})
@Column({
type: ColumnType.ObjectID,

View File

@@ -52,8 +52,8 @@ import OnCallDutyPolicyEscalationRule from './OnCallDutyPolicyEscalationRule';
})
@TableMetadata({
tableName: 'OnCallDutyPolicyEscalationRuleUser',
singularName: 'On Call Duty Escalation Rule',
pluralName: 'On Call Duty Esdcalation Rules',
singularName: 'On-Call Duty Escalation Rule',
pluralName: 'On-Call Duty Esdcalation Rules',
icon: IconProp.Call,
tableDescription:
'Manage on-call duty escalation rule for the on-call policy.',
@@ -146,9 +146,9 @@ export default class OnCallDutyPolicyEscalationRuleUser extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicy,
title: 'On Call Policy',
title: 'On-Call Policy',
description:
'Relation to On Call Policy where this escalation rule belongs.',
'Relation to On-Call Policy where this escalation rule belongs.',
})
@ManyToOne(
(_type: string) => {
@@ -184,9 +184,9 @@ export default class OnCallDutyPolicyEscalationRuleUser extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy ID',
title: 'On-Call Policy ID',
description:
'ID of your On Call Policy where this escalation rule belongs.',
'ID of your On-Call Policy where this escalation rule belongs.',
})
@Column({
type: ColumnType.ObjectID,
@@ -216,7 +216,7 @@ export default class OnCallDutyPolicyEscalationRuleUser extends BaseModel {
modelType: OnCallDutyPolicyEscalationRule,
title: 'Escalation Rule',
description:
'Relation to On Call Policy Escalation Rule where this user belongs.',
'Relation to On-Call Policy Escalation Rule where this user belongs.',
})
@ManyToOne(
(_type: string) => {
@@ -252,9 +252,9 @@ export default class OnCallDutyPolicyEscalationRuleUser extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy Escalation Rule ID',
title: 'On-Call Policy Escalation Rule ID',
description:
'ID of your On Call Policy Escalation Rule where this user belongs.',
'ID of your On-Call Policy Escalation Rule where this user belongs.',
})
@Column({
type: ColumnType.ObjectID,

View File

@@ -50,8 +50,8 @@ import { PlanSelect } from 'Common/Types/Billing/SubscriptionPlan';
})
@TableMetadata({
tableName: 'OnCallDutyPolicyExecutionLog',
singularName: 'On Call Duty Execution Log',
pluralName: 'On Call Duty Execution Log',
singularName: 'On-Call Duty Execution Log',
pluralName: 'On-Call Duty Execution Log',
icon: IconProp.Call,
tableDescription: 'Logs for on-call duty policy execution.',
})
@@ -128,9 +128,9 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicy,
title: 'On Call Policy',
title: 'On-Call Policy',
description:
'Relation to On Call Policy which belongs to this execution log event.',
'Relation to On-Call Policy which belongs to this execution log event.',
})
@ManyToOne(
(_type: string) => {
@@ -161,9 +161,9 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy ID',
title: 'On-Call Policy ID',
description:
'ID of your On Call Policy which belongs to this execution log event.',
'ID of your On-Call Policy which belongs to this execution log event.',
})
@Column({
type: ColumnType.ObjectID,
@@ -583,7 +583,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
modelType: OnCallDutyPolicyEscalationRule,
title: 'Last Executed Escalation Rule',
description:
'Relation to On Call Policy Last Executed Escalation Rule.',
'Relation to On-Call Policy Last Executed Escalation Rule.',
})
@ManyToOne(
(_type: string) => {
@@ -615,7 +615,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
required: false,
canReadOnRelationQuery: true,
title: 'Last Executed Escalation Rule ID',
description: 'ID of your On Call Policy Last Executed Escalation Rule.',
description: 'ID of your On-Call Policy Last Executed Escalation Rule.',
})
@Column({
type: ColumnType.ObjectID,
@@ -655,7 +655,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
required: true,
isDefaultValueColumn: true,
canReadOnRelationQuery: true,
title: 'On Call Policy Execution Repeat Count',
title: 'On-Call Policy Execution Repeat Count',
description: 'How many times did we execute this on call policy?',
})
@Column({

View File

@@ -51,8 +51,8 @@ import { PlanSelect } from 'Common/Types/Billing/SubscriptionPlan';
})
@TableMetadata({
tableName: 'OnCallDutyPolicyExecutionLogTimeline',
singularName: 'On Call Duty Execution Log Timeline',
pluralName: 'On Call Duty Execution Log Timeline',
singularName: 'On-Call Duty Execution Log Timeline',
pluralName: 'On-Call Duty Execution Log Timeline',
icon: IconProp.Call,
tableDescription: 'Timeline events for on-call duty policy execution log.',
})
@@ -245,9 +245,9 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyExecutionLogId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicyExecutionLog,
title: 'On Call Policy Execution Log',
title: 'On-Call Policy Execution Log',
description:
'Relation to On Call Policy Execution Log where this timeline event belongs.',
'Relation to On-Call Policy Execution Log where this timeline event belongs.',
})
@ManyToOne(
(_type: string) => {
@@ -278,9 +278,9 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy Execution Log ID',
title: 'On-Call Policy Execution Log ID',
description:
'ID of your On Call Policy Execution Log where this timeline event belongs.',
'ID of your On-Call Policy Execution Log where this timeline event belongs.',
})
@Column({
type: ColumnType.ObjectID,
@@ -303,9 +303,9 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyEscalationRuleId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicyEscalationRule,
title: 'On Call Policy Escalation Rule',
title: 'On-Call Policy Escalation Rule',
description:
'Relation to On Call Policy Escalation Rule where this timeline event belongs.',
'Relation to On-Call Policy Escalation Rule where this timeline event belongs.',
})
@ManyToOne(
(_type: string) => {
@@ -336,9 +336,9 @@ export default class OnCallDutyPolicyExecutionLogTimeline extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy Escalation Rule ID',
title: 'On-Call Policy Escalation Rule ID',
description:
'ID of your On Call Policy Escalation Rule where this timeline event belongs.',
'ID of your On-Call Policy Escalation Rule where this timeline event belongs.',
})
@Column({
type: ColumnType.ObjectID,

View File

@@ -199,9 +199,9 @@ export default class UserOnCallLog extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicy,
title: 'On Call Policy',
title: 'On-Call Policy',
description:
'Relation to On Call Policy which belongs to this execution log event.',
'Relation to On-Call Policy which belongs to this execution log event.',
})
@ManyToOne(
(_type: string) => {
@@ -227,9 +227,9 @@ export default class UserOnCallLog extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy ID',
title: 'On-Call Policy ID',
description:
'ID of your On Call Policy which belongs to this execution log event.',
'ID of your On-Call Policy which belongs to this execution log event.',
})
@Column({
type: ColumnType.ObjectID,
@@ -247,9 +247,9 @@ export default class UserOnCallLog extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyExecutionLogId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicyExecutionLog,
title: 'On Call Policy Execution Log',
title: 'On-Call Policy Execution Log',
description:
'Relation to On Call Policy Execution Log which belongs to this execution log event.',
'Relation to On-Call Policy Execution Log which belongs to this execution log event.',
})
@ManyToOne(
(_type: string) => {
@@ -275,9 +275,9 @@ export default class UserOnCallLog extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy Execution Log ID',
title: 'On-Call Policy Execution Log ID',
description:
'ID of your On Call Policy execution log which belongs to this log event.',
'ID of your On-Call Policy execution log which belongs to this log event.',
})
@Column({
type: ColumnType.ObjectID,
@@ -295,9 +295,9 @@ export default class UserOnCallLog extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyEscalationRuleId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicyEscalationRule,
title: 'On Call Policy Escalation Rule',
title: 'On-Call Policy Escalation Rule',
description:
'Relation to On Call Policy Escalation Rule which belongs to this execution log event.',
'Relation to On-Call Policy Escalation Rule which belongs to this execution log event.',
})
@ManyToOne(
(_type: string) => {
@@ -323,9 +323,9 @@ export default class UserOnCallLog extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy Escalation Rule ID',
title: 'On-Call Policy Escalation Rule ID',
description:
'ID of your On Call Policy Escalation Rule which belongs to this log event.',
'ID of your On-Call Policy Escalation Rule which belongs to this log event.',
})
@Column({
type: ColumnType.ObjectID,
@@ -426,9 +426,9 @@ export default class UserOnCallLog extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyExecutionLogTimelineId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicyExecutionLogTimeline,
title: 'On Call Policy Execution Log Timeline',
title: 'On-Call Policy Execution Log Timeline',
description:
'Relation to On Call Policy Execution Log Timeline where this timeline event belongs.',
'Relation to On-Call Policy Execution Log Timeline where this timeline event belongs.',
})
@ManyToOne(
(_type: string) => {
@@ -455,9 +455,9 @@ export default class UserOnCallLog extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy Execution Log ID',
title: 'On-Call Policy Execution Log ID',
description:
'ID of your On Call Policy Execution Log where this timeline event belongs.',
'ID of your On-Call Policy Execution Log where this timeline event belongs.',
})
@Column({
type: ColumnType.ObjectID,

View File

@@ -52,8 +52,8 @@ import { PlanSelect } from 'Common/Types/Billing/SubscriptionPlan';
})
@TableMetadata({
tableName: 'UserOnCallLogTimeline',
singularName: 'User On Call Log Timeline',
pluralName: 'User On Call Log Timelines',
singularName: 'User On-Call Log Timeline',
pluralName: 'User On-Call Log Timelines',
icon: IconProp.Logs,
tableDescription: 'Timeline events for user on call log.',
})
@@ -350,9 +350,9 @@ export default class UserOnCallLogTimeline extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyExecutionLogId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicyExecutionLog,
title: 'On Call Policy Execution Log',
title: 'On-Call Policy Execution Log',
description:
'Relation to On Call Policy Execution Log where this timeline event belongs.',
'Relation to On-Call Policy Execution Log where this timeline event belongs.',
})
@ManyToOne(
(_type: string) => {
@@ -378,9 +378,9 @@ export default class UserOnCallLogTimeline extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy Execution Log Timeline ID',
title: 'On-Call Policy Execution Log Timeline ID',
description:
'ID of your On Call Policy Execution Log Timeline where this timeline event belongs.',
'ID of your On-Call Policy Execution Log Timeline where this timeline event belongs.',
})
@Column({
type: ColumnType.ObjectID,
@@ -398,9 +398,9 @@ export default class UserOnCallLogTimeline extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyExecutionLogTimelineId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicyExecutionLogTimeline,
title: 'On Call Policy Execution Log Timeline',
title: 'On-Call Policy Execution Log Timeline',
description:
'Relation to On Call Policy Execution Log Timeline where this timeline event belongs.',
'Relation to On-Call Policy Execution Log Timeline where this timeline event belongs.',
})
@ManyToOne(
(_type: string) => {
@@ -427,9 +427,9 @@ export default class UserOnCallLogTimeline extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy Execution Log ID',
title: 'On-Call Policy Execution Log ID',
description:
'ID of your On Call Policy Execution Log where this timeline event belongs.',
'ID of your On-Call Policy Execution Log where this timeline event belongs.',
})
@Column({
type: ColumnType.ObjectID,
@@ -447,9 +447,9 @@ export default class UserOnCallLogTimeline extends BaseModel {
manyToOneRelationColumn: 'onCallDutyPolicyEscalationRuleId',
type: TableColumnType.Entity,
modelType: OnCallDutyPolicyEscalationRule,
title: 'On Call Policy Escalation Rule',
title: 'On-Call Policy Escalation Rule',
description:
'Relation to On Call Policy Escalation Rule where this timeline event belongs.',
'Relation to On-Call Policy Escalation Rule where this timeline event belongs.',
})
@ManyToOne(
(_type: string) => {
@@ -494,9 +494,9 @@ export default class UserOnCallLogTimeline extends BaseModel {
type: TableColumnType.ObjectID,
required: true,
canReadOnRelationQuery: true,
title: 'On Call Policy Escalation Rule ID',
title: 'On-Call Policy Escalation Rule ID',
description:
'ID of your On Call Policy Escalation Rule where this timeline event belongs.',
'ID of your On-Call Policy Escalation Rule where this timeline event belongs.',
})
@Column({
type: ColumnType.ObjectID,

View File

@@ -61,7 +61,7 @@ import './Jobs/StatusPageOwners/SendOwnerAddedNotification';
import './Jobs/StatusPageOwners/SendAnnouncementCreatedNotification';
import RunDatabaseMigrations from './Utils/DataMigration';
// On Call Duty Policy Executions.
// On-Call Duty Policy Executions.
import './Jobs/OnCallDutyPolicyExecutionLog/ExecutePendingExecutions';
import './Jobs/OnCallDutyPolicyExecutionLog/TimeoutStuckExecutions';

View File

@@ -17,7 +17,7 @@ RunCron(
runOnStartup: false,
},
async () => {
// get all pending on call executions and execute them all at once.
// get all pending on-call executions and execute them all at once.
const pendingExecutions: Array<OnCallDutyPolicyExecutionLog> =
await OnCallDutyPolicyExecutionLogService.findBy({
@@ -205,7 +205,7 @@ const executeOnCallPolicy: Function = async (
status: OnCallDutyPolicyStatus.Error,
statusMessage:
err.message ||
'Error occurred while executing the on call policy.',
'Error occurred while executing the on-call policy.',
},
props: {
isRoot: true,

View File

@@ -19,7 +19,7 @@ RunCron(
runOnStartup: false,
},
async () => {
// get all pending on call executions and execute them all at once.
// get all pending on-call executions and execute them all at once.
const fiveMinsAgo: Date = OneUptimeDate.getSomeMinutesAgo(5);
const stuckExecutions: Array<OnCallDutyPolicyExecutionLog> =

View File

@@ -19,7 +19,7 @@ RunCron(
runOnStartup: false,
},
async () => {
// get all pending on call executions and execute them all at once.
// get all pending on-call executions and execute them all at once.
const fiveMinsAgo: Date = OneUptimeDate.getSomeMinutesAgo(5);
const stuckExecutions: Array<UserOnCallLog> =