Skip to content

Commit 4569f01

Browse files
committed
Show the installing status in the dashboard
1 parent 2d277e6 commit 4569f01

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

apps/webapp/app/components/runs/v3/DeploymentStatus.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export function DeploymentStatusIcon({
5353
return (
5454
<RectangleStackIcon className={cn(deploymentStatusClassNameColor(status), className)} />
5555
);
56+
case "INSTALLING":
5657
case "BUILDING":
5758
case "DEPLOYING":
5859
return <Spinner className={cn(deploymentStatusClassNameColor(status), className)} />;
@@ -78,6 +79,7 @@ export function deploymentStatusClassNameColor(status: WorkerDeploymentStatus):
7879
switch (status) {
7980
case "PENDING":
8081
return "text-charcoal-500";
82+
case "INSTALLING":
8183
case "BUILDING":
8284
case "DEPLOYING":
8385
return "text-pending";
@@ -98,6 +100,8 @@ export function deploymentStatusTitle(status: WorkerDeploymentStatus, isBuilt: b
98100
switch (status) {
99101
case "PENDING":
100102
return "Queued…";
103+
case "INSTALLING":
104+
return "Installing…";
101105
case "BUILDING":
102106
return "Building…";
103107
case "DEPLOYING":
@@ -127,6 +131,7 @@ export function deploymentStatusTitle(status: WorkerDeploymentStatus, isBuilt: b
127131
// PENDING and CANCELED are not used so are ommited from the UI
128132
export const deploymentStatuses: WorkerDeploymentStatus[] = [
129133
"PENDING",
134+
"INSTALLING",
130135
"BUILDING",
131136
"DEPLOYING",
132137
"DEPLOYED",
@@ -138,6 +143,8 @@ export function deploymentStatusDescription(status: WorkerDeploymentStatus): str
138143
switch (status) {
139144
case "PENDING":
140145
return "The deployment is queued and waiting to be processed.";
146+
case "INSTALLING":
147+
return "The project dependencies are being installed.";
141148
case "BUILDING":
142149
return "The code is being built and prepared for deployment.";
143150
case "DEPLOYING":

0 commit comments

Comments
 (0)