From 0ddf6b851f0d9919d73430ce384297c5c2a5887a Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Tue, 16 Dec 2025 21:05:52 -0600 Subject: [PATCH] feat(servers): add tooltip for deactivated server status in dashboard - Wrapped server status display in a TooltipProvider to provide additional context for deactivated servers. - Implemented a tooltip that informs users about the reason for deactivation and instructions for reactivation, enhancing user experience and clarity in server management. --- .../settings/servers/show-servers.tsx | 45 ++++++++++++------- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/apps/dokploy/components/dashboard/settings/servers/show-servers.tsx b/apps/dokploy/components/dashboard/settings/servers/show-servers.tsx index 2efc718ee..e0aa3c54e 100644 --- a/apps/dokploy/components/dashboard/settings/servers/show-servers.tsx +++ b/apps/dokploy/components/dashboard/settings/servers/show-servers.tsx @@ -173,26 +173,41 @@ export const ShowServers = () => { )} -
- {isCloud && ( + +
+ {isCloud && ( + <> + {server.serverStatus === "active" ? ( + + {server.serverStatus} + + ) : ( + + + + + {server.serverStatus} + + + + +

+ This server is deactivated due to lack of payment. Please pay your invoice to reactivate it. If you think this is an error, please contact support. +

+
+
+ )} + + )} - {server.serverStatus} + {server.serverType} - )} - - {server.serverType} - -
+
+