feat: add attachment support to notes in Alerts, Incidents, and Scheduled Maintenance

This commit is contained in:
Nawaz Dhandala
2025-11-18 16:15:43 +00:00
parent 150af5b65d
commit 654f64aaf7
5 changed files with 50 additions and 0 deletions

View File

@@ -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}

View File

@@ -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}

View File

@@ -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,

View File

@@ -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}

View File

@@ -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,