From 343d5ae6a2ea6e35f45e216fea5a604002205fb1 Mon Sep 17 00:00:00 2001 From: djknaeckebrot Date: Wed, 11 Dec 2024 08:27:18 +0100 Subject: [PATCH] feat: add service status --- .../components/dashboard/search-command.tsx | 28 +++++++++++++++++-- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/apps/dokploy/components/dashboard/search-command.tsx b/apps/dokploy/components/dashboard/search-command.tsx index ecd238d4..f6ff79fd 100644 --- a/apps/dokploy/components/dashboard/search-command.tsx +++ b/apps/dokploy/components/dashboard/search-command.tsx @@ -26,13 +26,14 @@ import { RedisIcon, } from "@/components/icons/data-tools-icons"; import { api } from "@/utils/api"; -import { truncate } from "lodash"; +import { Badge } from "@/components/ui/badge"; type Project = Awaited>; export const SearchCommand = () => { const router = useRouter(); const [open, setOpen] = React.useState(false); + const [search, setSearch] = React.useState(""); const { data } = api.project.all.useQuery(); const { data: isCloud, isLoading } = api.settings.isCloud.useQuery(); @@ -54,7 +55,11 @@ export const SearchCommand = () => { return (
- + No projects added yet. Click on Create project. @@ -107,7 +112,24 @@ export const SearchCommand = () => { {application.type === "compose" && ( )} - {application.name} + + {project.name} / {application.name} + + + {application.status} + )); })}