Skip to content

Commit 7e36433

Browse files
authored
Merge pull request #1282 from wish-oss/feat/bulk-actions
feat: added bulk actions for services start and stop and added service status for domain dropdown
2 parents fcc5535 + 0a6554c commit 7e36433

File tree

2 files changed

+242
-69
lines changed

2 files changed

+242
-69
lines changed

apps/dokploy/components/dashboard/projects/show.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { BreadcrumbSidebar } from "@/components/shared/breadcrumb-sidebar";
22
import { DateTooltip } from "@/components/shared/date-tooltip";
3+
import { StatusTooltip } from "@/components/shared/status-tooltip";
34
import {
45
AlertDialog,
56
AlertDialogAction,
@@ -176,8 +177,11 @@ export const ShowProjects = () => {
176177
<div key={app.applicationId}>
177178
<DropdownMenuSeparator />
178179
<DropdownMenuGroup>
179-
<DropdownMenuLabel className="font-normal capitalize text-xs">
180+
<DropdownMenuLabel className="font-normal capitalize text-xs flex items-center justify-between">
180181
{app.name}
182+
<StatusTooltip
183+
status={app.applicationStatus}
184+
/>
181185
</DropdownMenuLabel>
182186
<DropdownMenuSeparator />
183187
{app.domains.map((domain) => (
@@ -209,8 +213,11 @@ export const ShowProjects = () => {
209213
<div key={comp.composeId}>
210214
<DropdownMenuSeparator />
211215
<DropdownMenuGroup>
212-
<DropdownMenuLabel className="font-normal capitalize text-xs">
216+
<DropdownMenuLabel className="font-normal capitalize text-xs flex items-center justify-between">
213217
{comp.name}
218+
<StatusTooltip
219+
status={comp.composeStatus}
220+
/>
214221
</DropdownMenuLabel>
215222
<DropdownMenuSeparator />
216223
{comp.domains.map((domain) => (

0 commit comments

Comments
 (0)