From 190ccfa91fffe642c0ac64a8ffbf9e82616839c2 Mon Sep 17 00:00:00 2001
From: randomperson12344 <4dennisk@gmail.com>
Date: Tue, 23 Sep 2025 21:04:55 -0700
Subject: [PATCH 1/2] style: replace generic icons with Gotify and Ntfy brand
logos
---
.../notifications/handle-notifications.tsx | 6 +-
.../notifications/show-notifications.tsx | 6 +-
.../components/icons/notification-icons.tsx | 69 +++++++++++++++++++
3 files changed, 77 insertions(+), 4 deletions(-)
diff --git a/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx b/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx
index 4e4171bee..4f5635b02 100644
--- a/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx
+++ b/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx
@@ -12,6 +12,8 @@ import { toast } from "sonner";
import { z } from "zod";
import {
DiscordIcon,
+ GotifyIcon,
+ NtfyIcon,
SlackIcon,
TelegramIcon,
} from "@/components/icons/notification-icons";
@@ -130,11 +132,11 @@ export const notificationsMap = {
label: "Email",
},
gotify: {
- icon: ,
+ icon: ,
label: "Gotify",
},
ntfy: {
- icon: ,
+ icon: ,
label: "ntfy",
},
};
diff --git a/apps/dokploy/components/dashboard/settings/notifications/show-notifications.tsx b/apps/dokploy/components/dashboard/settings/notifications/show-notifications.tsx
index fe31acc4c..7cb1928d2 100644
--- a/apps/dokploy/components/dashboard/settings/notifications/show-notifications.tsx
+++ b/apps/dokploy/components/dashboard/settings/notifications/show-notifications.tsx
@@ -2,6 +2,8 @@ import { Bell, Loader2, Mail, MessageCircleMore, Trash2 } from "lucide-react";
import { toast } from "sonner";
import {
DiscordIcon,
+ GotifyIcon,
+ NtfyIcon,
SlackIcon,
TelegramIcon,
} from "@/components/icons/notification-icons";
@@ -85,12 +87,12 @@ export const ShowNotifications = () => {
)}
{notification.notificationType === "gotify" && (
-
+
)}
{notification.notificationType === "ntfy" && (
-
+
)}
diff --git a/apps/dokploy/components/icons/notification-icons.tsx b/apps/dokploy/components/icons/notification-icons.tsx
index 67104b209..0ae534fae 100644
--- a/apps/dokploy/components/icons/notification-icons.tsx
+++ b/apps/dokploy/components/icons/notification-icons.tsx
@@ -88,3 +88,72 @@ export const DiscordIcon = ({ className }: Props) => {
);
};
+
+export const GotifyIcon = ({ className }: Props) => {
+ return (
+
+ );
+};
+
+export const NtfyIcon = ({ className }: Props) => {
+ return (
+
+ );
+};
From 60db2972c7e2a9938ed8591d11183ab36d685251 Mon Sep 17 00:00:00 2001
From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com>
Date: Sun, 5 Oct 2025 05:42:41 +0000
Subject: [PATCH 2/2] [autofix.ci] apply automated fixes
---
.../notifications/handle-notifications.tsx | 4 +-
.../components/icons/notification-icons.tsx | 99 ++++++++++++++-----
2 files changed, 76 insertions(+), 27 deletions(-)
diff --git a/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx b/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx
index 4f5635b02..325383069 100644
--- a/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx
+++ b/apps/dokploy/components/dashboard/settings/notifications/handle-notifications.tsx
@@ -132,11 +132,11 @@ export const notificationsMap = {
label: "Email",
},
gotify: {
- icon: ,
+ icon: ,
label: "Gotify",
},
ntfy: {
- icon: ,
+ icon: ,
label: "ntfy",
},
};
diff --git a/apps/dokploy/components/icons/notification-icons.tsx b/apps/dokploy/components/icons/notification-icons.tsx
index 0ae534fae..581788f28 100644
--- a/apps/dokploy/components/icons/notification-icons.tsx
+++ b/apps/dokploy/components/icons/notification-icons.tsx
@@ -108,35 +108,84 @@ export const GotifyIcon = ({ className }: Props) => {
.gotify-st8{fill:#FFFFFF;}
`}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+