From b0c73ece9f2eb91c9d7aa5f9ea07cc6a5e8822dc Mon Sep 17 00:00:00 2001 From: StarFleetCPTN Date: Sun, 25 Jan 2026 10:11:41 -0800 Subject: [PATCH] feat(pushover): add support for all priority levels Add lowest (-2) and emergency (2) priority options to the Pushover notification form. Previously only low, normal, and high were available. --- .../components/notification-forms/pushover-form.tsx | 2 ++ app/schemas/notifications.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/client/modules/notifications/components/notification-forms/pushover-form.tsx b/app/client/modules/notifications/components/notification-forms/pushover-form.tsx index e49dd2e6..0351afe4 100644 --- a/app/client/modules/notifications/components/notification-forms/pushover-form.tsx +++ b/app/client/modules/notifications/components/notification-forms/pushover-form.tsx @@ -71,9 +71,11 @@ export const PushoverForm = ({ form }: Props) => { + Lowest (-2) Low (-1) Normal (0) High (1) + Emergency (2) Message priority level. diff --git a/app/schemas/notifications.ts b/app/schemas/notifications.ts index e5cc379a..2411ddd8 100644 --- a/app/schemas/notifications.ts +++ b/app/schemas/notifications.ts @@ -64,7 +64,7 @@ export const pushoverNotificationConfigSchema = type({ userKey: "string", apiToken: "string", devices: "string?", - priority: "-1 | 0 | 1", + priority: "-2 | -1 | 0 | 1 | 2", }); export const telegramNotificationConfigSchema = type({