Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export type Services = {
description?: string | null;
id: string;
createdAt: string;
status?: "idle" | "running" | "done" | "error";
status?: "idle" | "queued" | "running" | "done" | "error";
};

interface DuplicateProjectProps {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export type Services = {
description?: string | null;
id: string;
createdAt: string;
status?: "idle" | "running" | "done" | "error";
status?: "idle" | "queued" | "running" | "done" | "error";
};

export const extractServices = (data: Environment | undefined) => {
Expand Down
7 changes: 7 additions & 0 deletions apps/dokploy/components/shared/status-tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { cn } from "@/lib/utils";

interface Props {
status:
| "queued"
| "running"
| "error"
| "done"
Expand Down Expand Up @@ -54,6 +55,11 @@ export const StatusTooltip = ({ status, className }: Props) => {
className={cn("size-3.5 rounded-full bg-yellow-500", className)}
/>
)}
{status === "queued" && (
<div
className={cn("size-3.5 rounded-full bg-blue-500", className)}
/>
)}
</TooltipTrigger>
<TooltipContent align="center">
<span>
Expand All @@ -62,6 +68,7 @@ export const StatusTooltip = ({ status, className }: Props) => {
{status === "done" && "Done"}
{status === "running" && "Running"}
{status === "cancelled" && "Cancelled"}
{status === "queued" && "Queued"}
</span>
</TooltipContent>
</Tooltip>
Expand Down
2 changes: 2 additions & 0 deletions apps/dokploy/drizzle/0174_acoustic_raider.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TYPE "public"."deploymentStatus" ADD VALUE 'queued' BEFORE 'running';--> statement-breakpoint
ALTER TYPE "public"."applicationStatus" ADD VALUE 'queued' BEFORE 'running';
Loading
Loading