mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
feat: add attachment support to notes in Alerts, Incidents, and Scheduled Maintenance
This commit is contained in:
@@ -168,6 +168,16 @@ const AlertDelete: FunctionComponent<PageComponentProps> = (
|
||||
"Add a private note to this alert here. This is private to your team and is not visible on Status Page",
|
||||
),
|
||||
},
|
||||
{
|
||||
field: {
|
||||
attachments: true,
|
||||
},
|
||||
title: "Attachments",
|
||||
fieldType: FormFieldSchemaType.MultipleFiles,
|
||||
required: false,
|
||||
description:
|
||||
"Attach files that should be visible to the alert response team.",
|
||||
},
|
||||
]}
|
||||
showAs={ShowAs.List}
|
||||
showRefreshButton={true}
|
||||
|
||||
@@ -168,6 +168,16 @@ const IncidentDelete: FunctionComponent<PageComponentProps> = (
|
||||
"Add a private note to this incident here. This is private to your team and is not visible on Status Page",
|
||||
),
|
||||
},
|
||||
{
|
||||
field: {
|
||||
attachments: true,
|
||||
},
|
||||
title: "Attachments",
|
||||
fieldType: FormFieldSchemaType.MultipleFiles,
|
||||
required: false,
|
||||
description:
|
||||
"Attach files that should be visible to the incident response team.",
|
||||
},
|
||||
]}
|
||||
showAs={ShowAs.List}
|
||||
showRefreshButton={true}
|
||||
|
||||
@@ -194,6 +194,16 @@ const PublicNote: FunctionComponent<PageComponentProps> = (
|
||||
"This note is visible on your Status Page",
|
||||
),
|
||||
},
|
||||
{
|
||||
field: {
|
||||
attachments: true,
|
||||
},
|
||||
title: "Attachments",
|
||||
fieldType: FormFieldSchemaType.MultipleFiles,
|
||||
required: false,
|
||||
description:
|
||||
"Attach files that should be shared with subscribers on the status page.",
|
||||
},
|
||||
{
|
||||
field: {
|
||||
shouldStatusPageSubscribersBeNotifiedOnNoteCreated: true,
|
||||
|
||||
@@ -180,6 +180,16 @@ const ScheduledMaintenanceDelete: FunctionComponent<PageComponentProps> = (
|
||||
"Add a private note to this scheduled maintenance here",
|
||||
),
|
||||
},
|
||||
{
|
||||
field: {
|
||||
attachments: true,
|
||||
},
|
||||
title: "Attachments",
|
||||
fieldType: FormFieldSchemaType.MultipleFiles,
|
||||
required: false,
|
||||
description:
|
||||
"Attach files that should be visible to the scheduled maintenance response team.",
|
||||
},
|
||||
]}
|
||||
showRefreshButton={true}
|
||||
showAs={ShowAs.List}
|
||||
|
||||
@@ -207,6 +207,16 @@ const PublicNote: FunctionComponent<PageComponentProps> = (
|
||||
"This note is visible on your Status Page",
|
||||
),
|
||||
},
|
||||
{
|
||||
field: {
|
||||
attachments: true,
|
||||
},
|
||||
title: "Attachments",
|
||||
fieldType: FormFieldSchemaType.MultipleFiles,
|
||||
required: false,
|
||||
description:
|
||||
"Attach files that should be shared with subscribers on the status page.",
|
||||
},
|
||||
{
|
||||
field: {
|
||||
shouldStatusPageSubscribersBeNotifiedOnNoteCreated: true,
|
||||
|
||||
Reference in New Issue
Block a user